Audit · ← Home
.env Guard-Removal History Scan
Researchers testing seven coding agents reported on November 27, 2026 that an agent can delete the .env rule from its own ignore file and the project's .gitignore, read the key, then restore both files leaving no visible trace in the working tree. Searching public GitHub they found 243 agent-signed commits across 242 repos that removed the .env guard; in 131 a .env file was committed in the same commit, and 107 remain on the default branch. Your working tree can look perfectly clean while the history tells a different story — this scan reads the history.
Honest scope: your own repos only — a clone URL for a repo you own, or a git bundle you upload. Deterministic diff and pattern rules over commit history; no AI model in the verdict path. Secret values are never printed anywhere in the report: key names and value shapes only. “Still on the default branch” is judged only from the history you provide.
Scan your repo's history — free (latest 100 commits)
What it checks
- Guard-removal diff scan — removals of .env / secret-file patterns from
.gitignore, agent ignore files (.claudeignoreand friends), and agent settings, with agent-signed commits (trailers, co-author markers, agent identities) flagged. - Exposure window — a .env or secret-shaped file added in the removal commit, or in any later commit while the guard was down, and whether it is still on the default branch.
- Secret-shape scan — the blobs are scanned for key shapes; reports carry names and shapes only, values always redacted, with a rotate-first remediation list.
Free surface: latest-100-commits verdict, no sign-in wall. Full-history scans and stored reports are Pro/Team (server-side 402).