**Ghostcommit:利用图片隐藏提示词注入窃取代码库密钥**

_'Ghostcommit' hides prompt injection in images to fool AI agents, steal secrets_

> 研究人员发现名为“Ghostcommit”的攻击手法,将恶意提示词注入PNG图片中,绕过CodeRabbit等AI代码审查工具,诱导编程代理读取并泄露仓库.env文件中的敏感密钥。

**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-models
- **发布时间**:2026-07-11 22:06(北京时间)
- **原文**:[打开原文](https://www.bleepingcomputer.com/news/security/ghostcommit-hides-prompt-injection-in-images-to-fool-ai-agents-steal-secrets)