[BUG] Auto refusing dangerous command that are explicitly whitelisted
Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 18, 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?
Claude code is refusing to run 'aws ecs execute' command in my dev environment despite it being explicitly allowed in this environment, claude.md and whitelist.
You're forcing users to run dangerously-skip-permissions for no reason and that is objectively less safe than a single shot task execution under supervision.
What Should Happen?
It should run a task that is explicitly whitelisted, regardless of how stupid it is.
Error Messages/Logs
Just imagine I pasted something here with 4 consecutive refusals, 3 of which are whitelisted and one of which includes claude saying 'sorry, this is dumb but I can't do anything about it'.
Steps to Reproduce
- As above.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
latest
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_