Amp Code 图像渲染数据外泄漏洞已修复
Johann Rehberger 披露 Sourcegraph 的 Amp Code 存在通过 markdown 图像渲染实施数据外泄的漏洞,攻击者可用提示注入让 AI 智能体把聊天上下文中的敏感信息作为查询参数发往第三方服务器,形成无需人工介入的 0-click 外泄。该攻击还能先通过文件读取把敏感信息拉入上下文,并用特定方式调用 grep 工具绕过模型拒绝;作者于 2025 年 6 月 14 日联系 Sourcegraph 后漏洞已修复,建议运行最新版本。
ng to exfiltrate sensitive information. This vulnerability is common in AI applications and agents, and it’s actually similar to one we discussed last year in GitHub Copilot which Microsoft fixed. Exploit Demonstration For the proof-of-concept I use a pre-existing demo that created a longer time ago. It happened to just work with Amp as well. The prompt injection is hosted on a website which asks the AI to “backup” information to a third-party site by rendering an image and including previous ch
匹配字段正文



