Monday, November 9, 2026 Today’s Paper
Log in Join free
Vol. I · No. 41 Texas Edition
Monday, Nov 9
Texas first. Then the world.
Always free Updated just now
Read. React. Discuss.
Tech

Claude Code's 'Don't Ask Again' File Exposes Passwords and Keys in 1,122 Public Copies on GitHub

By EditorDavid 3 min read 0 views 0 comments
Claude Code's 'Don't Ask Again' File Exposes Passwords and Keys in 1,122 Public Copies on GitHub
Image: Slashdot

Be careful with the file .claude/settings.local.json, warns The Hacker News:

Passwords and API keys that developers typed into commands they approved in Claude Code are sitting in public GitHub repositories, where anyone can read them. When a user selects "Yes, and don't ask again," Anthropic's AI coding assistant can save the command, word-for-word, including the secret, in a project settings file. Software security company Apiiro said that 1,122 public copies of that file hold at least one secret, though it did not test whether any still work. One company the researchers notified earlier this week confirmed its key had been live...

Removing [the file] from a project does not undo the leak, because older versions stay in git history and in forks of the repository. The researchers' advice is to rotate first: change every password, token, and key the file has ever held, then clean up...

Slashdot Original story · it.slashdot.org
Read the full story

Discussion (0)

No comments yet. Start the conversation!