Tuesday, November 10, 2026
Tech Beat
Nov 9, 2026, 5:24 PMCybersecurity

Claude Code is accidentally exposing secrets all over GitHub

Text settings Story text Size Small Standard Large Width * Standard Wide Links Standard Orange * Subscribers only Learn more Minimize to nav Claude Code is…

Summary

Text settings Story text Size Small Standard Large Width * Standard Wide Links Standard Orange * Subscribers only Learn more Minimize to nav Claude Code is leaking sensitive information on public GitHub instances thanks to a partial oversight in the way its settings files are handled. That’s the finding of AI security researchers at Apiiro, who discovered thousands of secrets, including database passwords, API tokens, and root logins, amid Claude Code settings files embedded in GitHub repositories. The leak stems from the way Claude Code handles user approval for automated shell commands. When a user chooses the “Yes, and don’t ask again” option to approve running a command, that choice gets stored as part of a rule in the local “.

Positives

  • When a user chooses the “Yes, and don’t ask again” option to approve running a command, that choice gets stored as part of a rule in the local “.

Risks & concerns

  • The article may not provide enough evidence to validate every implication.
  • Execution, cost, adoption, regulation, or security could change the outcome.
Primary sourceAI - Ars Technicahttps://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/
Read full article
Editorial note: Tech Beat summarizes and analyzes third-party reporting. The source link is the authoritative article. This page does not reproduce the full source text.

More From The Wire

CybersecurityNov 9

Hotel giant Wyndham exposed customer data after app security lapse

CybersecurityNov 9

France blames Iran for mass-hacks targeting freezers in grocery

CybersecurityNov 9

Nvidia CEO's affair becomes a national security problem