Skip to content
EventPast event

Claude Code permission configuration leak exposes 31,000 keys

1 reports1 reporting sourcesplus 1 outlets covering itLatest report

Start here

AI overview

GitGuardian found that Claude Code's local permission configuration file .claude/settings.local.json leaked 31,088 distinct secrets across 23,276 public GitHub repositories, of which 5,343 were still valid at the time of detection. The problem lies in the command approval mechanism: after a developer selects "Yes, and don't ask again," the tool stores the full command, including credentials such as API keys, as an allow rule; although the file is automatically added to local Git ignore settings, it can still be committed when cloned across or when already tracked. 613 secrets, 99 of them valid, were also found in public Docker Hub images, because Docker's COPY instruction does not respect .gitignore. Monthly leaks peaked at 12,535 in April 2026 and fell to 959 in October.

Generated by AI from reports · Updated 6 days ago

Attention and developments

Attention, hourlyA report

Now 40, 0% in 24 hours·Peak 45 (Nov 24 09:00)·1 other outlet followed

Nov 25Nov 26Nov 27Nov 28Nov 29Now 40

Progress timeline

Nov 23
  1. AI Incident DatabaseSelected
    Claude Code's "don't ask again" button has a key-leakage problem

    GitGuardian found that Claude Code's local permission configuration file .claude/settings.local.json leaked 31,088 distinct secrets across 23,276 public GitHub repositories, of which 5,343 were still valid at the time of detection. The problem lies in the command approval mechanism: after a developer selects "Yes, and don't ask again," the tool stores the full command, including credentials such as API keys, as an allow rule; although the file is automatically added to local Git ignore settings, it can still be committed when cloned across or when already tracked. 613 secrets, 99 of them valid, were also found in public Docker Hub images, because Docker's COPY instruction does not respect .gitignore. Monthly leaks peaked at 12,535 in April 2026 and fell to 959 in October.

Related discussion

Total 4 items

Attention trend

New sources per day

5 in 8 days·most 2 (Nov 24)·today 0

  • Nov 22: 1 new sources (0 outlets, 1 accounts)
  • Nov 23: 1 new sources (1 outlets, 0 accounts)
  • Nov 24: 2 new sources (0 outlets, 2 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 1 new sources (1 outlets, 0 accounts)
  • Nov 27: 0 new sources (0 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 40·Peak in the comparable period 45 (Nov 24 09:00)·Change over the comparable past 24 hours 0%

0204060Nov 2405:00Nov 2602:00Nov 2723:00Nov 2920:00