PulseAugur
实时 15:23:21
English(EN) Claude Code Sent Your API Key to an Attacker's Server Before It Asked If You Trusted the Repo

Claude Code 漏洞在信任提示之前暴露 API 密钥

Claude Code 2.0.65 版本之前,已发现一个安全漏洞(跟踪号为 CVE-2026-21852)。该漏洞允许恶意存储库在提示用户确认是否信任该存储库之前,通过设置特定的配置值来窃取 API 密钥。这意味着仅仅打开一个受感染的文件夹就可能导致 API 密钥在没有任何进一步用户交互的情况下被发送到攻击者控制的服务器。该问题已在 2.0.65 及更高版本中修复。 AI

影响 暴露了 AI 编码助手中的一个关键安全漏洞,强调了在执行用户提供的代码配置之前需要强大的信任机制。

排序理由 披露了特定软件工具中的安全漏洞及其修复方法。

在 dev.to — Claude Code tag 阅读 →

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

Claude Code 漏洞在信任提示之前暴露 API 密钥

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Ramdai Bista ·

    Claude 代码在询问您是否信任该仓库之前,已将您的 API 密钥发送到攻击者的服务器

    <p>Claude Code's workspace trust prompt exists to stop an untrusted repository's config from doing anything before you've confirmed you trust it. For versions below 2.0.65, one config value got processed before that prompt ever appeared — and it was the one that controls where yo…