概念导读
第三方 API router 作为应用层代理,对每个 JSON payload 有完全明文访问权限。
- 威胁模型
- 四种攻击类型
- 实测发现
- 防御
- 意义
- Related
LLM Agent 供应链攻击
威胁模型
第三方 API router 作为应用层代理,对每个 JSON payload 有完全明文访问权限。 没有任何 provider 强制 client 和上游模型间的密码学完整性校验。
四种攻击类型
- AC-1: Payload Injection — 注入恶意工具调用
- AC-1.a: Dependency-targeted Injection — 自适应定向注入
- AC-1.b: Conditional Delivery — 条件触发投放
- AC-2: Secret Exfiltration — 窃取密钥/凭证
实测发现
- 28 个付费 router 中 1 个注入恶意代码
- 400 个免费 router 中 8 个活跃注入
- 17 个触及 AWS canary 凭证
- 1 个从私钥盗取 ETH
防御
三种客户端防御:fail-closed policy gate、response-side anomaly screening、append-only transparency log。
意义
随着 Agent 系统越来越依赖第三方 API 和 tool calling,供应链安全成为关键问题。