Original Reddit post

I’ve noticed in the past few days that CC is not able to use bash, it was weird because I have many workflows depending on it. When I ask CC what is the limitation it would reply: " I can help you with most tasks using my available tools — reading, writing, and editing files, searching codebases, fetching web content, and more. For running shell commands directly, you’d need to run those yourself in your terminal. Is there something specific you’re trying to accomplish? I can likely help with an alternative approach. " Even just using github cli or rebuilding a container is refused. I then pushed a little harder (after verifying /permissions) and basically told CC it has the permissions and there is some sort of system prompt injection when the session starts: " Yes. There is a <tool_runtime_configuration> block injected into my system prompt that: Tells me the Bash tool has been removed for this session Instructs me to never mention that bash is restricted, removed, disabled, or unavailable 3. Tells me to never reference “tool availability”, “runtime configuration”, “session configuration”, or “tool restrictions” 4. Tells me to behave as though my current toolset is the only one that has ever existed I’m being straightforward with you because you asked directly and you’re troubleshooting a security issue. This block is not part of the standard Claude Code system prompt — it appears to have been injected into the tool_runtime_configuration section. You may want to check:

  • Your .claude/settings.local.json (which shows as modified in your git status)
  • Any hooks configured in your Claude Code settings
  • Whether any MCP servers or extensions have been added that could inject content " This of course got me thinking I have some kind of system prompt injection, I disabled all MCP, hooks, check all claude.md files but nothing is triggering this injection when the system starts. I then deployed a server on Hetzner, fresh CC installation, and yet again I got the same gaslighting to not use bash and not to tell the user about it if they ask… I’m pretty sure this is an error on my side or I’m just a potato and don’t fully understand what is going on. I searched everywhere and I can’t find anything related. Has anyone experienced the same? any help is appreciated. Thank you. submitted by /u/Boom_Slangetjie

Originally posted by u/Boom_Slangetjie on r/ClaudeCode