Key takeaways

What did Apiiro's study reveal on November 5, 2026?

Apiiro, a US application security vendor, analyzed public GitHub repositories between November 1 and 3, 2026, according to iTWire's report. Researchers Shmulik Cohen and Matan Giladi examined 104,185 public copies of .claude/settings.local.json, the file where Claude Code, Anthropic's coding assistant, stores permissions already granted. Of those, 1,122 files, about 1.1%, contained a secret, covering 1,379 distinct values.

A wider investigation, including Git history, shared settings and agent transcripts, counted 2,539 distinct secrets across 1,994 repositories, among them database passwords, SSH logins and access tokens for cloud or source-control services. Affected organizations were notified on November 2 and 3, and one confirmed that its exposed key was still live.

A useful caveat: Apiiro sells application and agent security products, and the study did not test whether the credentials still worked. The figures come from a security vendor, not an independent audit. RuntimeWire reports them with the same publication date.

How can one click expose a password?

When a developer picks "Yes, and don't ask again" for a system command, the tool saves a permission rule that repeats the whole command. If the password was written inside the command, for example as a variable placed in front, it ends up in the file. Nothing is hacked; this is normal, authorized use.

The safeguard Anthropic describes in its documentation, as quoted by iTWire, is adding the file to a global Git exclude list. That list lives on one developer's machine and does not travel with the project. A colleague or contractor with a different setup can publish the file without knowing. A report of the same behavior dates from August 2025; it was closed automatically in January 2026 after inactivity, which, iTWire notes, does not prove a fix. The article reports no public statement from Anthropic about the study.

The table below sums up the chain from click to leak, with the point where each link can be cut.

StepWhat happensHow to cut it
1. CommandA password is written in plain text in the commandUse a secrets manager or an environment variable
2. Approval"Don't ask again" saves the full commandKeep standing permissions narrow and review what is saved
3. FileThe local settings file is tracked by GitExclude it in the repository's own .gitignore
4. PublicationThe repository becomes public, or is shared too widelyPrivate by default, review before opening anything
5. DiscoveryBots scan public repositories continuouslyRevoke the secret, not just the file

What does this change for a small business?

A company of 10 to 100 employees rarely publishes anything on GitHub. The risk still reaches it indirectly, through the contractor, the technical employee or the agency building its tools with an AI assistant. The credentials to your CRM, your customer database or your mailbox are the secrets that travel in those commands. If a repository is ever made public, or shared with a third party, they leave with it.

Three checks take half a day and need no advanced technical skills.

Ask where the credentials are stored. The right answer is "in a secrets vault or in server variables, never in the code or the project files". A hesitant answer is a signal.

Know who holds a copy of the code. A repository cloned onto three computers and two contractor accounts multiplies the places a secret can leak from. List them, and remove access for former contributors.

Rotate keys whenever the team changes. Revoking and recreating a key takes minutes. A key never changed that sits in a Git history is exactly what the study describes: one notified organization confirmed its exposed key was still active.

Some perspective is needed. A coding assistant remains a real time saver, and dropping it because of this study would be the wrong response. The problem is a configuration flaw, not a reason to give up on custom software. If you have only a spreadsheet and no development under way, you are not affected; if an off-the-shelf tool covers your need without code, the issue disappears with it.

What should you do if a secret has already leaked?

The order recommended by Apiiro and the experts quoted is the same: revoke first, clean up later.

How does this show up in my own work?

On the CRMs, automations and agents I build, I develop with AI assistants, and the rule is the same everywhere: credentials never live in public pages or in files that leave with the project. They sit in protected server-side configuration files that the server refuses to serve. On the prevention side, I also published a security tool on this site, JuiceJacking Guard, in the same spirit: reduce what leaks without anyone having to think about it.

What you can check at your company today: ask whoever builds your tools where your credentials are stored and who holds a copy of the code. If you want a second pair of eyes, a 30-minute conversation is enough to map it: book a slot here. The details of what I build are on the AI agent developer page.

Frequently asked questions

What exactly did Apiiro's study find?

Apiiro found that 1,122 of 104,185 public copies of a Claude Code settings file contained a secret, about 1.1%. A wider investigation counted 2,539 secrets across 1,994 public repositories. The figures, published on November 5, 2026, come from the security vendor and have not been verified by a third party.

Is my company affected if I don't use GitHub?

Not directly. But if a contractor or employee builds your tools with an AI assistant, their repository, public or shared, is what matters. The right question to ask them is where your credentials are stored and who holds a copy of the code.

Should we stop using AI coding assistants?

No. The flaw comes from a configuration and a habit, not from the idea of using AI to build software. It is enough never to write a password inside a command, to limit standing permissions and to exclude local files from the repository.

Does deleting the faulty file solve the problem?

No. Git history, forks and clones keep the content. You need to revoke or rotate the secret with the provider, then clean up the repository.


Takeaway: the leak did not come from a hacker but from a convenience click repeated thousands of times. Could you say today where the password to your customer database is stored, and how many people keep a copy?