PulseAugur
中
实时 15:49:58
English(EN) Passwords in .claude/settings.local.json: Find, Rotate, Prevent

Claude Code 漏洞暴露本地配置文件中的密码

在 Claude Code 中发现了一个安全漏洞,密码和敏感令牌可能被无意中保存在 `.claude/settings.local.json` 文件中。该文件本应保持本地,但在 GitHub 上发现了超过 100,000 个公开副本,其中相当一部分包含泄露的凭据。当用户批准包含敏感信息的命令时,Claude Code 会将其保存为允许规则,从而导致此问题。Anthropic 表示,该文件通常默认会被 gitignore,这表明这些实例涉及手动创建或提交文件。 AI

影响 暴露了使用 AI 编码助手进行开发的开发人员的安全风险,需要立即轮换凭据并审查配置。

排序理由 关于特定工具配置文件安全漏洞的报告。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 漏洞暴露本地配置文件中的密码

本文如何被排名

Signal score
32 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
关于特定工具配置文件安全漏洞的报告。
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.

完整方法见我们的编辑标准。

报道来源 [1]

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

    密码在 .claude/settings.local.json 中:查找、轮换、预防

    <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…