Skip to content
Trending storyDeveloping

Claude Code config found to store leaked credentials

1 report1 sourceupdated 4 hours ago

What happened

AI digest

On November 8, 2026, Hacker News' front page covered Apiiro's research on credential leaks in Claude Code. When a user picks the "don't ask again" option, Claude Code writes the full command, credentials included, into the local config file .claude/settings.local.json, so secrets stay in the config. Apiiro found 1,122 public files on GitHub containing such secrets, showing that public config files have already exposed credentials.

Written by AI from the coverage · updated 4 hours ago

Coverage

Follow the reports to see the story from different sides.

Nov 8
  1. Hacker News front pagePick
    Apiiro finds Claude Code's "don't ask again" setting exposed credentials in 1,122 public GitHub files

    Apiiro found that Claude Code's "don't ask again" option writes the full command, credentials included, into .claude/settings.local.json. On GitHub, 1,122 public files contain such secrets.

Heat over time

Heat now 9·Comparable peak 10(Nov 8 06:00)·Comparable change over 24 hours –

02.557.510Nov 806:00Nov 807:00Nov 807:00Nov 808:00

The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.