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
Translation in progress — untranslated text is omitted.
ActGuard 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.
- 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.
- 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.
- 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).
- 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 安全资源
- Adversa AIcites the paper's id or linkAdversa AI 汇总 2026 年 10 月 AI Agent 安全资源 49 项
ActGuard: pre-execution action auditing against indirect prompt injection in LLM agents
Related papers
- AgentWatcher: A Rule-based Prompt Injection MonitorDefensesarXiv