AI News/Wire summary

Claude Code settings files are leaking secrets on public GitHub repositories

Key points

  • Apiiro found over 100,000 public GitHub uploads of Claude Code local settings files; about 1,100 contained secrets.
  • Cause: approving commands with 'don't ask again' can save the full command, including embedded credentials, into settings.local.json.
  • The .gitignore protection is set globally, not per repo, so cloned or later-created repos can expose the file.
  • Apiiro says 215 of the roughly 1,100 secrets went unflagged by gitleaks and TruffleHog; a 2025 bug report was closed without action.

Why it matters for marketers: Teams using Claude Code should audit repos for committed settings.local.json files and scan for secrets, since default scanners may miss some leaked credentials.

Summary by the Z Media news desk, from the outlets' reporting. Read the full stories at the source.

Read the original

Ars Technica: Claude Code is accidentally exposing secrets all over GitHub

Related on Z Media