PulseAugur
中
实时 00:56:04
English(EN) Heads up: Claude Code's "don't ask again" has been leaking secrets into public repos

Claude Code 的“不再询问”功能将秘密泄露到公共仓库

在 Claude Code 的“不再询问”功能中发现了一个安全漏洞,该功能会无意中将令牌和密码等敏感信息保存到公共存储库中。当用户在没有进一步提示的情况下批准 shell 命令时,就会发生这种情况,导致配置文件 `.claude/settings.local.json` 存储秘密。虽然 Claude Code 尝试将此文件排除在 Git 之外,但这仅适用于用户的全局 git 排除项,而不适用于项目的 `.gitignore`,从而在共享存储库时可能导致暴露。 AI

影响 此漏洞凸显了 AI 编码助手普遍存在的安全风险,这些助手会记住用户权限,如果管理不当,可能会暴露敏感数据。

排序理由 该项目讨论了特定 AI 编码工具中的安全漏洞以及用于审计此类漏洞的相关开源工具。

在 r/ClaudeAI 阅读 →

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

Claude Code 的“不再询问”功能将秘密泄露到公共仓库

本文如何被排名

Signal score
11 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该项目讨论了特定 AI 编码工具中的安全漏洞以及用于审计此类漏洞的相关开源工具。
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
safety, product
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. r/ClaudeAI TIER_2 English(EN) · /u/Predictor_2718 ·

    注意:Claude Code 的“不再询问”功能已将秘密泄露到公共代码库

    <!-- SC_OFF --><div class="md"><p>GitLab wrote about this a few days ago, and the number is worth repeating. Apiiro found 104,185 copies of `.claude/settings.local.json` in public repositories, and 1,122 of them had a secret in them. Here is how a secret ends up in that file.</p>…