roguez.aiby Interdiction

IncidentsRGI-041Reported Apiiro

Approving a command once saved its password into the project, and the project went public

2,539 real secrets in 1,994 public repositories, from database passwords to cloud keys. In about half the cases traced, a commit made with the agent itself published the file.

Outside reachedRGZ-04

2,539
real secrets found in public repositories
1,994
public repositories holding them
539
repositories where a commit made with the agent changed the file

What happened

When a coding agent asks to run a command, choosing to approve it and not be asked again saves the command, as typed, in a settings file inside the project. A command that checks a database or calls an API carries its password or token, so the secret goes into the file too. The file is meant to stay on the developer's machine, but nothing in the project marks it private.

Apiiro searched public code in early November 2026 and found 1,122 copies of the file holding a real secret, and more in older versions of the file and in agent transcripts saved in repositories. In 539 of the repositories it traced, a commit made with the agent had changed the file. Apiiro did not test the credentials; one organization confirmed its key had been live.

The pattern in it

A boundary that fails the same way elsewhere.

The source and its limits

Apiiro · 5 Nov 2026 · Research measurement

Coding Agents Are Leaking Your Secrets to GitHub ↗

Researchers find that approving a coding agent's command "and don't ask again" saves the whole command, secrets included, to a settings file in the project, and count 2,539 real secrets in 1,994 public repositories.

Its limits. A measurement of public files, not one event. The researchers did not test whether any credential worked; one organization confirmed its key had been live. In about half the repositories traced, a commit made with the agent changed the file. The vendor said the file is ignored by git when the agent creates it and that it is looking at secret scanning.

Cite as: Roguez RGI-041, “Approving a command once saved its password into the project, and the project went public”. Interdiction Labs, evidence reviewed 29 Nov 2026. https://roguez.ai/rgi-041