AI Weekly Malaysia

Back to items Summaries

Claude Code is accidentally exposing secrets all over GitHub

ID
44689
Status
summarized
Published
10 Nov 2026, 1:24 AM
Fetched
10 Nov 2026, 2:21 AM
Provider
Ars Technica
Category
technology
Original URL
https://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/
Source URL
https://feeds.arstechnica.com/arstechnica/index

Summary

Score
8.0
Created
10 Nov 2026, 2:22 AM
Tags
Audience
developersvibe_codersai_agent_userssaas_founders

What happened

Ars Technica reports that Claude Code settings files are being committed to public GitHub repos and exposing secrets at scale — "thousands" of passwords, API keys and similar credentials. The article points at Claude Code's "Do not ask again" permission prompt as a contributing cause, and frames the fix as a .gitignore problem. The excerpt available is truncated, so specific counts, the researcher behind the finding, and the exact file paths are not stated in the text.

Why it matters

If you use Claude Code on a repo, go check right now whether your agent settings files are tracked in git and whether any repo you own has one pushed publicly — then rotate any key that appears in one, because a committed key is compromised the moment it lands. The detail that matters for how you work: a "Do not ask again" convenience prompt is what let credentials get written into project files in the first place, so treat persistent permission grants as a config change that needs review, not a one-click dismissal.

Discussion angle

Should an agent be allowed to persist secrets or permission grants into a project file at all — and if your team already clicks "Do not ask again" daily, what's the cheapest gate (gitignore template, pre-commit hook, or scoping the grant) you'd actually ship this week?

Top