[Bug] Claude Code making unauthorized modifications to unrelated files
Status Fixed / completed
Reported on v2.1.87
Maintainer reply None cached
Activity 6 comments · opened Mar 31, 2026 · closed Apr 1, 2026
Bug Description
In the last two days, Claude Code is consistently making unauthorized changes to files where no prompt or direction was given to touch them. [Image #5] This is just one example, and it's becoming a pattern now and extremely concerning and breaking trust. I will submit more screenshots with feedback as I continue seeing this happen.
Environment Info
- Platform: darwin
- Terminal: kitty
- Version: 2.1.87
- Feedback ID: a4480646-53f8-4023-b97a-68d28ffcff80
Errors
[{"error":"Error: File has been unexpectedly modified. Read it again before attempting to write it.\n at call (/$bunfs/root/src/entrypoints/cli.js:3226:1077)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T18:42:37.628Z"},{"error":"Error: File has been unexpectedly modified. Read it again before attempting to write it.\n at call (/$bunfs/root/src/entrypoints/cli.js:3226:1077)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T18:43:01.224Z"}]
<img width="457" height="575" alt="Image" src="https://github.com/user-attachments/assets/6f7dc373-d474-40e9-bd08-dfee170698de" />
6 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I know what's redacted, lmao
I closed this issue because it is similar to issue #40401, which is much better written than mine.
How do you thumb up another issue, an existing issue? I don't see any place
to do that in GitHub issues.
On Tue, Mar 31, 2026 at 1:59 PM github-actions[bot] <
@.***> wrote:
i will do that for you
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.