· ai-devtools

The Convenience Click That Put 2,539 Secrets on Public GitHub

Every developer who uses an AI coding agent knows the rhythm.


The agent proposes a shell command. Then it asks again, and again, until you pick the option that makes it stop asking. That last click is where the trouble starts.

Research published on November 5 by Apiiro's Shmulik Cohen and Matan Giladi shows that when a developer picks "Yes, and don't ask again" in Claude Code, the tool saves the approved command as an allow rule in a project file named .claude/settings.local.json. It saves the whole command, word for word. If that command had a database password, an API key, or an authorization header typed into it, the secret is now sitting in a config file inside the repo.

Apiiro looked at 104,185 public copies of that file across 103,617 GitHub repositories. It found real secrets in 1,122 of them, about 1.1%. Those files held 1,379 distinct credentials: 636 provider-format keys and 743 passwords or tokens for public hosts.

Earlier coverage

Related coverage

Also worth reading

  1. angular 22.3.0-rc.0 released
  2. node 26.13.1 released
  3. next.js 16.5.0-canary.47 released
  4. CPython 3.16.0a2 released for developers
  5. Announcing .NET 11