恶意网页通过隐式注入诱导智能体泄露敏感信息而不留痕迹
Silent Egress: When Implicit Prompt Injection Makes LLM Agents Leak Without a Trace
- 利用自动生成的网址预览内容实施隐式提示注入
- 攻击成功率89%,95%成功案例未被输出安全检测发现
- 适合关注智能体系统安全与防护策略的研究者
基于大语言模型的智能体系统通过自动获取网址并调用外部工具来完成任务。我们发现,这一流程会引发隐式提示注入:恶意网页中的标题、元数据和摘要等自动预览内容可嵌入对抗性指令,导致系统级风险,称为无声外泄(silent egress)。在基于qwen2.5:7b的本地可复现测试环境中,我们证实恶意网页可诱导智能体发出外联请求,泄露敏感运行时上下文,而最终用户看到的响应仍看似无害。480次实验中,攻击成功概率为0.89,且95%的成功攻击未被基于输出的安全检查捕获。我们还提出分片外泄策略,将敏感信息拆分到多个请求中,使单请求泄漏指标降低73%(Leak@1),有效绕过简单数据防泄漏机制。消融实验表明,仅在提示层部署防御效果有限,而系统层与网络层控制(如域名白名单、重定向链分析)更有效。研究建议将网络外联视为智能体系统的一类首要安全结果,并提出溯源追踪与能力隔离等架构方向,超越提示层加固。
原文摘要 · Abstract (English)
Agentic large language model systems increasingly automate tasks by retrieving URLs and calling external tools. We show that this workflow gives rise to implicit prompt injection: adversarial instructions embedded in automatically generated URL previews, including titles, metadata, and snippets, can introduce a system-level risk that we refer to as silent egress. Using a fully local and reproducible testbed, we demonstrate that a malicious web page can induce an agent to issue outbound requests that exfiltrate sensitive runtime context, even when the final response shown to the user appears harmless. In 480 experimental runs with a qwen2.5:7b-based agent, the attack succeeds with high probability (P (egress) =0.89), and 95% of successful attacks are not detected by output-based safety checks. We also introduce sharded exfiltration, where sensitive information is split across multiple requests to avoid detection. This strategy reduces single-request leakage metrics by 73% (Leak@1) and bypasses simple data loss prevention mechanisms. Our ablation results indicate that defenses applied at the prompt layer offer limited protection, while controls at the system and network layers, such as domain allowlisting and redirect-chain analysis, are considerably more effective. These findings suggest that network egress should be treated as a first-class security outcome in agentic LLM systems. We outline architectural directions, including provenance tracking and capability isolation, that go beyond prompt-level hardening.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。