logoalt Hacker News

ahmedketata • today at 4:46 PM • 1 reply • view on HN

yes agent leak secrets “Yes, and don’t ask again” in Claude Code would also save secrets in .claude/settings.local.json.


Replies

jothimani • today at 5:35 PM

Yes and the bigger problem for me is the agent can write to that file too. The file that decides what it is allowed to do is just another file in the repo for it. I now treat the agent config files as something to protect from the agent itself, not only from other people.