TAM-H-ACT-017 · Human · Act: The harm · New in TAM
Leaking Keys Through Commits
The insider commits live credentials to a repo, sometimes a public one, so they or someone else can use them later.
Accidental secret commits are common. Deliberate ones are rarer and look the same, which is the point. An insider can commit a cloud key to a public fork, a gist, or a repo they know will be mirrored, and later claim it was a mistake.
Once a key is public, scanners run by attackers find it within minutes. The insider may never use it themselves. They only need it to be out there.
Secret scanning and push protection catch most cases. The insider-specific signal is a bypass: someone who overrides push protection, or commits a secret right after being told about the last one.
What it looks like
- A developer bypasses GitHub push protection to commit an AWS key, picking "used in tests" as the reason.
- An engineer pastes a production database connection string into a public gist.
- A departing employee commits a service account JSON key to a personal fork.