| > you're kind of trusting Anthropic a LOT already Mitigated. I took the time to thoroughly firejail Claude Code when I first ran it on my machine. Now I only ever run Claude Code inside virtual machines. It's as isolated as it can possibly be. > Why does moving the system prompt from within their proprietary software, to their proprietary backend, matter at all for Claude Code users? Because I don't want to allow any way for them to inject stupidity inducing "lol don't think so much" instructions into Claude's system prompt. Went out of my way to patch the ELF itself because the prompts are hard coded. This prompt injection mechanism bypasses my patcher. > It doesn't feel like "hack the Claude Code binary to alter how it works" is a common and or supported use-case. Supported or not, tools like tweakcc have lots of users. > I'm also not sure if this meets the common definition of "prompt injection." They're literally injecting strings from the network into the system prompt. If it's not prompt injection, then I have no idea what it is. > My gut tells me there is something else going on, leading people to hack the Claude Code prompt/binary. And that the "something else" isn't supported by Anthropic. No idea what others are doing. I can only tell you what I'm doing. Here you go: https://github.com/matheusmoreira/.files/blob/master/%7E/.lo... |
They aren't doing it for any illicit purpose to hijack or alter the behavior of a production system, so it's not.
They are providing/selling this software, and and you bought it, and yet have gone through a lot of effort to mangle it and "customize it" That's fine, but why even use it over another CLI coding agent if you're going to keep complaining about them doing more stuff you don't like.
They even have ones that are reproductions of Claude Code.
> Because I don't want to allow any way for them to inject stupidity inducing "lol don't think so much" instructions into Claude's system prompt.
Then don't use it (?) lol wtf
> Went out of my way to patch the ELF itself because the prompts are hard coded. This prompt injection mechanism bypasses my patcher.
oh no, they bypassed your bypass, how could they