Skip to content

ActGuard: A Pre-Execution Action Auditing Framework for Indirect Prompt Injection in LLM AgentsActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents

arXiv: Agent & MCP Security· arXiv:2609.14987· Bingzheng Wang, Xiaoyan Gu, Wentao Wang, Xingyou Yang, Hongcheng Li, Rong Yin·Indexed by this site · 2026-10-01· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryActGuard is a pre-execution action auditing framework for defending LLM agents against indirect prompt injection attacks. It does not judge whether external content itself is suspicious, but rather evaluates whether that content makes the current action deviate from locally reasonable expectations: at each step, it first predicts the tool to be used and builds a local tool prior, then compares the candidate action against this prior, performing tool-level comparison analysis and parameter-level evidence localization to identify deviations in tool selection and action parameters. A verifier then checks the localized evidence, masks only the confirmed malicious segments, and regenerates the action from the sanitized context, thereby preserving legitimate planning flexibility and reducing information loss from indiscriminate filtering. On benchmarks for tool-using agents, ActGuard reduces attack success rate to a level comparable to current state-of-the-art defenses, while task utility remains close to the no-attack setting. Code is publicly available.

Questions
Tool-calling agents treat external content such as web pages and emails as input, and indirect prompt injection can alter tool selection or parameters. Existing prompt hardening, filtering, pre-generated plans, and permission constraints struggle to balance flexibility and utility on complex tasks.
Methods
ActGuard audits candidate actions before execution: stepwise planning provides a state-updated local tool prior; when the tool deviates, contrastive attribution is performed, and when parameters are suspicious, source tracing is performed; the verifier masks only segments confirmed as malicious and regenerates the action.
Experiments and results
On AgentDyn and AgentDojo, the authors state that ActGuard's ASR drops to a level comparable to SOTA defenses, with utility close to no-attack. On DeepSeek-V4-Flash, ActGuard's UAU is 47.50% and ASR is 2.14% (Table 3).
Limitations and future work
The authors state that the quantitative comparison did not include AttriGuard, CausalArmor, AgentSentry, or ICON, due to the lack of reproducible baseline implementations. The experiments cover AgentDyn and AgentDojo, three backends, as well as repeated payloads and adaptive attacks targeting the verifier.

Related events and news

1 events · 1 news mentions

News that mentions this paper

Adversa AI 汇总 10 月 AI Agent 安全资源

Related papers

Show 3 more papers
Read originalarxiv.org