Claude Code --allowedTools Not Working? Why Unlisted Commands Still Run
Summary
In Claude Code 2.1.326, --allowedTools only pre-approves the tools you name and removes nothing; unlisted tools still run when they need no approval. Restricting the tool set takes --tools, blocking takes --disallowedTools, and under bypassPermissions the allow list has no effect.
Was this useful to you?
Related
Seven security practices for Claude Code, from version checks to sandbox and MCP permissions
X · kimuai08
Your AI agent isn't dumb. It's lost.
X · CharlesSteif
How Claude Code's Code Mode works
X · Arindam_1729
From doing the work to delegating it: field notes on putting AI agents in my job
blog.hoegun.xyz
Does a learned rule change what your AI assistant writes?
blogs.cisco.com · Julio Gomez