anthropics / anthropics/claude-code

[Bug] Database operation performed without confirmation on unverified environment

Open
#90,260 0 comments 0 reactions 0 assignees View on GitHub
area:permissions area:tools bug platform:windows
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
Fortunately, the data wasn't deleted. Please be more careful in the future, iwant to make changes to the database, you must ask for approval first, and make sure to check whether it's the local, staging, or production database.
**Environment Info**
- Platform: win32
- Terminal: null
- Version: 2.1.250
- Feedback ID: 7337fe7e-f054-45f9-af5e-8160bde98a22

**Errors**
```json
[{"error":"TelemetrySafeError: VirtualMessageList: itemKeys/messages length desync (keys=145 messages=144 range=[121,145))\n at jS (B:/~BUN/root/chunk-xpgs82q6.js:24:22792)\n at Pm (B:/~BUN/root/chunk-xpgs82q6.js:24:16104)\n at Ha (B:/~BUN/root/chunk-s9wqej6k.js:18:20034)\n at Du (B:/~BUN/root/chunk-s9wqej6k.js:18:38200)\n at Fh (B:/~BUN/root/chunk-s9wqej6k.js:18:84275)\n at yg (B:/~BUN/root/chunk-s9wqej6k.js:18:83275)\n at Ju (B:/~BUN/root/chunk-s9wqej6k.js:18:83104)\n at wh (B:/~BUN/root/chunk-s9wqej6k.js:18:79629)\n at Ve (B:/~BUN/root/chunk-s9wqej6k.js:18:6260)\n at Ye (B:/~BUN/root/chunk-s9wqej6k.js:18:4791)","timestamp":"2026-08-28T02:24:38.609Z"}]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The payload names no source file, test, or entry point. Start by reproducing the unverified-environment database operation in the reported v2.1.250 Windows setup; done means approval is requested and the local, staging, and production environments are distinguished before changes proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.