The Hacker News (Nov 7, 2026) reports Apiiro research: when users pick “Yes, and don’t ask again,” Claude Code can save the exact approved shell command — including passwords and API keys — in .claude/settings.local.json. Soft title: AI Security Watch / coding-agent secret exposure with measured public GitHub impact — not a new CVE number and not a WorkOS/FMF re-card. Apiiro figures via THN: 104,185 public copies in 103,617 repos; 1,122 copies (~1.1%) hold ≥1 secret; 1,379 distinct secrets. Broader count incl. git history, shared .claude/settings.json, and agent transcripts: 2,539 secrets across 1,994 repos. More than a third of secrets open a database (379 database passwords); also 43 SSH logins, 42 GitHub/GitLab/npm tokens, 23 AWS keys; 63 organizations among owners. In 539 of 1,105 traced repos, a Claude co-author commit changed the file. One notified firm confirmed a live key; Apiiro did not test whether every secret still works. Global git-excludes don’t travel with the project / don’t undo commits; Claude Code does not add the file to project .gitignore. Of 16 coding agents compared, Claude Code is the only one confirmed to save the full approved command in a project file by default. Anthropic newsroom silent (no new Nov 7–8 article slug). Soft: Apiiro blog HTTP 500 this close — THN carries figures; live-exploit counts unknown.
Security Watch lead — measured public GitHub secret exposure from a default coding-agent “don’t ask again” settings file; rotate-first remediation stakes after weekend Sat WorkOS/FMF book.
More ▾ Less ▴
The Hacker News on November 7, 2026 reports Apiiro research on Claude Code’s “Yes, and don’t ask again” path: the approved shell command — including passwords and API keys — can be saved verbatim into .claude/settings.local.json. Soft title: AI Security Watch / coding-agent secret exposure with measured public GitHub impact — not a new CVE number and not a WorkOS/FMF re-card. Stamp: THN Nov 7, 2026 (after Sat LIVE). Apiiro figures as carried by THN: 104,185 public copies across 103,617 repos; 1,122 copies (about 1.1%) hold at least one secret; 1,379 distinct secrets. A broader count that includes git history, shared .claude/settings.json, and agent transcripts finds 2,539 secrets across 1,994 repos. More than a third of secrets open a database (379 database passwords); also 43 SSH logins, 42 GitHub/GitLab/npm tokens, and 23 AWS keys, with 63 organizations among owners. In 539 of 1,105 traced repos, a commit listing Claude as co-author changed the file. One notified firm confirmed a live key; Apiiro did not test whether every secret still works. Remediation colour: rotate first, then git rm --cached, add a project .gitignore, and prefer pattern allows / env vars. Global git-excludes don’t travel with the project and don’t undo commits; Claude Code does not add the file to the project .gitignore. Of 16 coding agents compared, Claude Code is the only one confirmed to save the full approved command in a project file by default. Anthropic’s newsroom shows no new Nov 7–8 advisory slug (featured still Opus 5.5 Sep 22).
- Anthropic docs/changelog hardening for settings.local.json
- Org-wide .gitignore templates for .claude/
- Peer coding-agent audits of “don’t ask again” persistence
- Whether Anthropic publishes a newsroom advisory
THN reporting of Apiiro research (Apiiro first-party blog returned HTTP 500 this close — Wire did not independently read the blog body). Anthropic has not published a newsroom advisory. Live-exploit counts unknown. Vendor-research figures not independently reproduced by Wire. Distinct from Sat LIVE WorkOS ARTEX / FMF.