9 people reported

All time, since Sep 21, including 7 thumbs-up on GitHub.

excludedCommands ignored by sandbox

“sandbox.excludedCommands has no effect: commands listed there still run inside the sandbox and fail on sandbox restrictions.”

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/745/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

Commands in sandbox.excludedCommands still run sandboxed. Listed commands run alone through the Bash tool fail on sandbox restrictions, with user or managed settings.

Is this your bug?

File my report
Where
Bash tool
Error text
operation not permitted: ps
Versions
2.1.285
Platforms
macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Excluded commands stay sandboxed5 people
  2. Excluded aws commands stay sandboxed with --profile or --endpoint-url4 people

Original reports2, newest first

  1. sandbox.excludedCommands not respected for model-invoked shell commands#98259
  2. sandbox.excludedCommands has no effect: listed commands still run sandboxed#95813

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.