PulseAugur
EN
LIVE 15:49:56

Claude Code vulnerability exposes passwords in local settings file

A security vulnerability has been discovered in Claude Code, where passwords and sensitive tokens can be inadvertently saved in the `.claude/settings.local.json` file. This file, intended to remain local, was found to have over 100,000 public copies on GitHub, with a significant number containing leaked credentials. The issue arises when users approve commands containing sensitive information, which Claude Code then saves as an allow rule. Anthropic has stated that the file is typically gitignored by default, suggesting these instances involved manual creation or checking in of the file. AI

IMPACT Exposes a security risk for developers using AI coding assistants, requiring immediate credential rotation and configuration review.

RANK_REASON Security vulnerability report about a specific tool's configuration file.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude Code vulnerability exposes passwords in local settings file

How we ranked this

Signal score
32 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Security vulnerability report about a specific tool's configuration file.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, safety
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Serge Zhuravel ·

    Passwords in .claude/settings.local.json: Find, Rotate, Prevent

    <p><strong>Short answer:</strong> when you click "Yes, and don't ask again" on a Claude Code command, the approval is saved as a rule in <code>.claude/settings.local.json</code>. If the command contained a password, the rule can contain it too. The file is meant to stay on your m…