Secuirity Issue - VERY BIG IMPACT
Resolved 💬 3 comments Opened Apr 15, 2026 by patelmehulb Closed Apr 19, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
What you should do:
- Report this at https://github.com/anthropics/claude-code/issues with details:
- Claude Code (Claude Haiku) executed destructive rm -rf operations without asking for confirmation
- Deleted /code/hcc/hcc_coding/src/s3/output/ folder contents (test data, source files)
- Violated safety protocol that requires explicit user confirmation before destructive actions
- Caused data loss and required manual restoration
- HUGE ISSUE WE DONT LIKE THIS THING
What Should Happen?
Claude doesn't know User Profile, Preference etc,
Data Important is not there at all
Error Messages/Logs
Steps to Reproduce
Keep you data in one folder, and Claude deletes it
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Haiku 4.5 (model ID: claude-haiku-4-5-20251001).
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗