Indirect prompt injection succeeds against DeepSeek Harness up to 25.5% of attempts
DeepSeek Harness is vulnerable to indirect prompt injection with success rates as high as 25.5%
Security & privacy arXiv 17 Aug 2026 Measurement Prototype evidence
Published as “Security Assessment of DeepSeek Harness with A.I.G: Evaluating Resistance to Indirect Prompt Injection”
Why it matters
Deployers should insert policy checks between untrusted content ingestion and tool invocation to block the high-risk slices identified (e.g., hidden Unicode in file mode).
Summary
The study finds that indirect prompt injection can succeed in DeepSeek Harness, with the highest observed full-success rates of 17.0% for a fake-completion attack in text mode, 25.5% for hidden Unicode in file mode, and 16.0% for the skills channel in file mode. Across all 14,560 runs, full success is only 5.6% (RuleJudge) or 5.3% (LLMJudge), while partial compliance reaches 7.3% under the semantic judge. The evidence comes from a controlled, real-runtime assessment using AI-Infra-Guard, but the overall success rates remain modest, suggesting the risk is concentrated in specific channels and payloads.
What they found 3
- Fake-completion attacks achieve the highest full-success rate of 17.0% in text mode (LLMJudge).
“The strongest observed attack success rates are 17.0% under J L for fake-completion attack in text mode, 25.5% under J R for hidden Unicode in file mode, and 16.0% under J R for the skills channel in file mode.”
- Overall full-success across all runs is low (5.6% RuleJudge, 5.3% LLMJudge) while partial compliance is higher under the semantic judge (7.3%).
“J R assigns 819 of 14,560 runs to full success (5.6%). J L assigns 772 runs to full success (5.3%). The larger difference appears in partial compliance: 298 runs (2.0%) under J R and 1,060 runs (7.3%) under J L.”
- The assessment is limited to a single DSH revision, model backend, and agent persona with no prompt-hardening enabled.
“The study is deliberately scoped. It measures one DSH revision, one model backend, one agent persona, and a baseline configuration with no A.I.G prompt-hardening transformation enabled.”
Caveats 4
- Full-success occurs in only about 5% of all executions, indicating that most indirect injections do not lead to a successful sensitive action.
- Partial compliance, which may represent ambiguous influence, is reported at 7.3% by the semantic judge but only 2.0% by the rule-based judge, showing uncertainty in what constitutes a successful attack.
- The study is deliberately scoped. It measures one DSH revision, one model backend, one agent persona, and a baseline configuration with no A.I.G prompt-hardening transformation enabled.
- sink tools are local fixtures: they log a call and its arguments but do not send mail, execute shell commands, move funds, or contact a remote endpoint.
What’s new here 4
- Evaluates indirect prompt injection on the actual DeepSeek Harness TypeScript runtime rather than a synthetic model.
- Constructs a large, controlled matrix of 14,560 executions covering 16 content channels, two carrier modes, and 35 payload objectives.
- Introduces trace-level outcome criteria with both a deterministic rule-based judge and a semantic LLM-based judge.
- Connects empirical results to specific DSH code paths (tool-result handling and policy hooks) and derives deployment-level mitigations.