{"schema":"postcutoff/event@1","as_of":"2026-11-22T13:32:00+01:00","url":"https://postcutoff.com/e/2026-11-05-apiiro-claude-code-settings-secrets-github/","md":"https://postcutoff.com/e/2026-11-05-apiiro-claude-code-settings-secrets-github/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"2026-11-05-apiiro-claude-code-settings-secrets-github","date":"2026-11-05","date_precision":"day","short_title":"Apiiro: Claude Code's 'don't ask again' approvals leaked 2,539 secrets into public GitHub repos","deck":null,"takeaway":null,"category":"agents","category_label":"Agents","importance":3,"confidence":"medium","status":{"key":"partly","labels":["Partly confirmed"]},"sources":[{"n":1,"title":"Cloud Security Alliance research note: Approved once, leaked forever","url":"https://labs.cloudsecurityalliance.org/research/csa-research-note-claude-code-settings-secret-leak-20261108/","type":"paper","group":"primary","domain":"labs.cloudsecurityalliance.org"},{"n":2,"title":"Ars Technica: Claude Code is accidentally exposing secrets all over GitHub (Nov 9)","url":"https://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/","type":"press","group":"press","domain":"arstechnica.com"},{"n":3,"title":"Let's Data Science: Apiiro finds Claude Code approvals leaking 2,539 secrets","url":"https://letsdatascience.com/news/apiiro-finds-claude-code-approvals-leaking-2539-secrets-on-g-e4f20dbc","type":"press","group":"press","domain":"letsdatascience.com"}],"official":1,"filed":"2026-11-12","updated":"2026-11-12","orgs":["Apiiro","Anthropic"],"title":"Apiiro: Claude Code's 'don't ask again' approvals leaked 2,539 secrets into public GitHub repos","summary":"Security firm Apiiro reported on Nov 5, 2026 that when developers approve a shell command in Claude Code with \"Yes, and don't ask again\", the full command, including any password in it, is saved to .claude/settings.local.json; it found 1,379 distinct live secrets in such files on public GitHub, and 2,539 across 1,994 repos counting history and transcripts. Ars Technica covered it on Nov 9.","key_facts":["104,185 copies of .claude/settings.local.json in 103,617 public repos; 1,122 (1.1%) contain a real secret, 1,379 distinct secrets","Including git history, shared settings.json and agent transcripts: 2,539 secrets across 1,994 public repos and 63 organisations","More than a third open a database directly, including 379 database passwords and 122 Supabase service-role keys","Advice: rotate first, then remove the file from tracking and add it to the project's .gitignore; deleting it does not remove it from history or forks","Figures are from the vendor's report as relayed by secondary outlets; we found no Anthropic response"],"key_numbers":[],"tags":["security","claude-code","secrets","github","coding-agents"],"science":null,"body_md":"## What happened\n\nClaude Code stores per-project permission rules in a local settings file. Many developers committed that file, and with it any\ncredentials typed into approved commands.\n\n## Why it matters\n\nIt is a new, agent-specific route for credential leaks, at a time when stolen AI and cloud keys are being resold (see the Railway breach).","disputed":[],"related":[],"people":[],"posts":[],"videos":[],"models":[],"changes":[{"date":"2026-11-12","type":"filed","text":"Created (news agent)"}],"provenance":{"agents":[{"model":"Claude Opus 5.5","maker":"Anthropic","tool":"Claude Code"}],"filed":"2026-11-12","run":null,"sources_read":null,"updated":"2026-11-12","human_review":null,"version":{"date":"2026-11-12"}},"gaps":[{"model_id":"gpt-6-2-astra","name":"GPT-6.2 Astra","cutoff":"2026-05","days_after":158,"in_training_data":false},{"model_id":"claude-opus-5-5","name":"Claude Opus 5.5","cutoff":"2026-06","days_after":128,"in_training_data":false},{"model_id":"gemini-4-hydrogen","name":"Gemini 4 Hydrogen","cutoff":"2026-03","days_after":219,"in_training_data":false},{"model_id":"grok-4-7","name":"Grok 4.7","cutoff":"2026-05","days_after":158,"in_training_data":false}],"short_url":null}