Indirect Prompt Injection in Tool-Using AI Agents: Risk-Aware Action Gating

Autonomous large language model (LLM) agents increasingly interact with external emails, websites, documents, databases, and application programming interfaces to complete tasks on behalf of users. While this capability makes them highly useful, it also exposes them to indirect prompt injection (IPI). In an IPI attack, an adversary embeds malicious instructions inside content that an agent is expected to read as passive data. If the agent treats that content as authoritative commands, it may depart from the user’s intent and perform unauthorized actions such as disclosing private information, sending unsolicited messages, modifying files, or invoking privileged functions. This paper examines IPI in tool-using AI agents and analyzes the security gap between prompt-level defenses and action control at the agent-tool boundary. Existing approaches—including instruction hierarchy, provenance marking and spotlighting, content filtering, static tool restrictions, and human confirmation—offer partial protection, yet no single text-based detector can reliably identify every adaptive or context-dependent attack, and overly restrictive permissions impede legitimate utility. To address these limitations, this study proposes a conceptual Risk-Aware Action Gating framework. Before a tool call is executed, a policy enforcement gate evaluates the requested operation against the original user intent, explicit authorization, action sensitivity, target destination, data involved, and hard security rules, returning one of three decisions: ALLOW, REQUIRE APPROVAL, or BLOCK. External content is strictly treated as untrusted data and cannot grant new authority. The study also reviews AgentDojo and InjecAgent as relevant evaluation benchmarks and defines security, utility, policy enforcement, and auditability as core evaluation dimensions.

Authors

Publication Details

Journal
Iconic Research and Engineering Journals
Published
2026-11-26
DOI
https://doi.org/10.64388/ire1725672
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Indirect Prompt Injection in Tool-Using AI Agents: Risk-Aware Action Gating

Tanavi Sachin Navale, Tanishka Ajay Mandhare
Iconic Research and Engineering Journals
Adversarial Robustness in Machine Learning
article

Indirect Prompt Injection in Tool-Using AI Agents: Risk-Aware Action Gating

Tanavi Sachin Navale, Tanishka Ajay Mandhare
article en

Abstract

Autonomous large language model (LLM) agents increasingly interact with external emails, websites, documents, databases, and application programming interfaces to complete tasks on behalf of users. While this capability makes them highly useful, it also exposes them to indirect prompt injection (IPI). In an IPI attack, an adversary embeds malicious instructions inside content that an agent is expected to read as passive data. If the agent treats that content as authoritative commands, it may depart from the user’s intent and perform unauthorized actions such as disclosing private information, sending unsolicited messages, modifying files, or invoking privileged functions. This paper examines IPI in tool-using AI agents and analyzes the security gap between prompt-level defenses and action control at the agent-tool boundary. Existing approaches—including instruction hierarchy, provenance marking and spotlighting, content filtering, static tool restrictions, and human confirmation—offer partial protection, yet no single text-based detector can reliably identify every adaptive or context-dependent attack, and overly restrictive permissions impede legitimate utility. To address these limitations, this study proposes a conceptual Risk-Aware Action Gating framework. Before a tool call is executed, a policy enforcement gate evaluates the requested operation against the original user intent, explicit authorization, action sensitivity, target destination, data involved, and hard security rules, returning one of three decisions: ALLOW, REQUIRE APPROVAL, or BLOCK. External content is strictly treated as untrusted data and cannot grant new authority. The study also reviews AgentDojo and InjecAgent as relevant evaluation benchmarks and defines security, utility, policy enforcement, and auditability as core evaluation dimensions.

Iconic Research and Engineering JournalsVol. 10(5)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon