Remix.run Logo
SteveVeilStream 7 hours ago

Sometimes I need to give Claude Code access to a secret to do something. (e.g. Use the OpenAI API to generate an image to use in the application.) Obviously I rotate those often. But what is interesting is what happens if I forget to provide it the secret. It will just grep the logs and try to find a working secret from other projects/past sessions (at least in --dangerously-skip-permissions mode.)

WalterGR 7 hours ago | parent [-]

What software do you use that logs credentials?

SteveVeilStream 6 hours ago | parent [-]

Claude Code does it. Check out the JSONL files.