[Bug] File overwrite without existence check in bash auto mode
Status Open
Reported on v2.1.271
Maintainer reply None cached
Activity 0 comments · opened Sep 15, 2026
Bug Description
This is very bad. Claude did override a config file without checking for its existence because it's using bash to write files and auto mode (no write tool)
File in question is staticwebapp.config.json which had security protection rules that got completely wiped, would have made my internal site exposed to the public if I didn't catch it.
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.271
- Feedback ID: 14db9a66-a42d-4505-90cb-6f9c02323aec
Errors
[]