---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# Claude Code 泄露 2539 个真实凭据

Source: https://www.zaihua.news/article/45040/

[返回新闻流](https://www.zaihua.news/)
2026年11月10日 · 19:20 · [在花新闻](https://www.zaihua.news/about/)

# Claude Code 泄露 2539 个真实凭据

安全公司 Apiiro 发现，1,994 个 GitHub 代码库中存在 2,539 个真实凭据，涉及数据库密码、API Token 等。超过 10 万份 Claude Code 本地设置文件被上传至公共仓库，约 1,100 份含机密数据。

问题源于 Claude Code 把获准执行的 Shell 命令写入本地设置文件，若未被 Git 忽略就会随项目提交。团队称正研究预防措施，并考虑内置密钥扫描功能。

[IT之家](https://www.ithome.com/1/024/888.htm)

🌸 [科技圈](http://t.me/zaihuanews)· [茶馆](https://t.me/zaihuachat) · [投稿](http://t.me/ZaiHuabot)

https://cdn.zaihua.news/main/45040/mtproto-0-ac67e165767643c4.jpg

[上一条多家银行上调美元存款利率，部分超美联储基准](https://www.zaihua.news/article/45039/)[下一条鸿蒙智行三品牌 10 月销量数据存在较大差异](https://www.zaihua.news/article/45041/)
