6 people reported
All time, since Oct 3, including 2 thumbs-up on GitHub.
Rm check asks with no rm
“The prompt appears even with --dangerously-skip-permissions / bypassPermissions mode, and it cannot be approved by a permission rule.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/1923/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Inline-shell rm check asks on Bash commands without rm. Prompt cannot be approved by permission rules, fires under --dangerously-skip-permissions, and unattended sessions deny it after the timeout.
Is this your bug?
File my report- Where
- Bash tool
- Error text
This command passes a shell -c script that runs rm, and Claude Code could not check the script for dangerous removals. Approve only if you have read the script.- Versions
- 2.1.288 to 2.1.291
- Platforms
- Linux, macOS
- How bad
- Breaks a normal workflow. Some reports say it used to work.
Original reports4, newest first
- False-positive deletion check: read-only compact Bash command flagged as running rm (2.1.291)#99894
- Inline-shell rm check asks on bash -c with a $VAR command and a {…,…} argument (no rm present)#99630
- Inline-shell rm check (2.1.288) asks in bypass mode on bash -c $'...' scripts that contain no rm#99320
- Inline-shell rm check (2.1.288) asks on zsh -c scripts that contain no rm#99249