News for hackers. Stuff that matters.
Re:Using Proxies to Hide Secrets from Claude Code by mike-cardwell on Monday January 19, 2026 @08:14AM (#46678627)
> a secrets store that the model can "use" but never "read".

How would that work? If the AI can use it, it can read it. E.g:

    SECRET=$(echo $(secret-store "foo") > file; cat file)
You'd have to be very specific about how the secret can be used in order for the AI to not be able to figure out what it is. You could provide a http proxy in the sandbox that injects a HTTP header to include the secret, when the secret is for accessing a website for example, and tell the AI to use that proxy. But you'd also have to scope down which URLs the proxy can access with that secret otherwise it could just visit a page like this to read back the headers that were sent:

https://www.whatismybrowser.com/detect/what-http-headers-is-...

Basically, for every "use" of a secret, you'd have to write a dedicated application which performs that task in a secure manner. It's not just the case of adding a special secret store.

Re:Using Proxies to Hide Secrets from Claude Code by ashwinr2002 on Tuesday January 20, 2026 @07:40PM (#46699738)
This seems like an under-rated comment. You are right, this is a vulnerability and the blog doesn't talk about this.