[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" />

View original on GitHub ↗

6 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/40401
  2. https://github.com/anthropics/claude-code/issues/34230
  3. https://github.com/anthropics/claude-code/issues/41063

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

junaid1460 · 6 months ago

I know what's redacted, lmao

DAESA24 · 6 months ago

I closed this issue because it is similar to issue #40401, which is much better written than mine.

DAESA24 · 6 months ago

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:

github-actions[bot] left a comment (anthropics/claude-code#41620) <https://github.com/anthropics/claude-code/issues/41620#issuecomment-4164751401> Found 3 possible duplicate issues: 1. #40401 <https://github.com/anthropics/claude-code/issues/40401> 2. #34230 <https://github.com/anthropics/claude-code/issues/34230> 3. #41063 <https://github.com/anthropics/claude-code/issues/41063> This issue will be automatically closed as a duplicate in 3 days. - If your issue is a duplicate, please close it and 👍 the existing issue instead - To prevent auto-closure, add a comment or 👎 this comment 🤖 Generated with Claude Code <https://claude.ai/code> — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/41620?email_source=notifications&email_token=BJLTVET63MJE4YNHPBJSTTT4TQIP5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJWGQ3TKMJUGAY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4164751401>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BJLTVEVFMUN2IDU6L4HPMYL4TQIP5AVCNFSM6AAAAACXIFO6D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCNRUG42TCNBQGE> . You are receiving this because you authored the thread.Message ID: @.***>
junaid1460 · 6 months ago

i will do that for you

github-actions[bot] · 6 months ago

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.