Securing Autonomous Agentic AI Workflows Against Prompt Injection and Privilege Escalation

Autonomous AI agents that read email, browse the web, call tools, and delegate to other agents turn a model's text-following behaviour into real-world actions. This makes prompt injection, where attacker-controlled content is mistaken for instructions, a direct route to data exfiltration, record tampering, and privilege escalation. Defences that try to make the model itself resistant are probabilistic and have been shown to fail against adaptive attackers. This paper takes the complementary position that an agent should be secured by the enforcement layer around the model, on the assumption that the model can be manipulated. It proposes a threat model and an attack taxonomy for agentic workflows, defines six defence designs from prompt-level filtering to a layered architecture of scoped capabilities, plan-locking, information-flow labels, and targeted human confirmation, and evaluates them in a simulated agent environment with eight tasks, fifteen tools at four privilege levels, and eight attack classes. The model is represented as a stochastic policy that follows an injected instruction with a given probability, and the defences are deterministic policy code. Without defences, attacks succeeded in about 60% of episodes at a follow probability of 0.6 and 77% for persistent memory poisoning. Prompt-level defences reduced this to 3% to 4% for tool-output injection but not for memory poisoning, and their effectiveness fell as detector recall fell (3.6% to 23.9% mean success from recall 0.85 to 0). Tool allowlists blocked out-of-scope tools but left in-scope abuse at 60%. Plan-locking with information-flow labels reduced every attack to zero except in-scope record tampering (30%), whereas scoped capabilities alone left exfiltration to a compromised known contact at 60%. A layered design combining them with targeted human confirmation held mean attack success at 1.1% at a follow probability of 0.6 and at 1.8% at 0.9, with 99% task completion and 0.5 confirmations per task, but its residual attack, in-scope tampering, depended linearly on how often users approve malicious requests. The results come from a simulation whose outcomes follow from the encoded policy semantics, and they should be read as an analysis of coverage and trade-offs, not as measurements of real agents.

Authors

Publication Details

Journal
Mathematics for Applications
Published
2026-11-25
DOI
https://doi.org/10.66838/ma.252
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

Securing Autonomous Agentic AI Workflows Against Prompt Injection and Privilege Escalation

Dharmesh Raju Rudraraju
Mathematics for Applications
Adversarial Robustness in Machine Learning
article

Securing Autonomous Agentic AI Workflows Against Prompt Injection and Privilege Escalation

Dharmesh Raju Rudraraju
article en

Abstract

Autonomous AI agents that read email, browse the web, call tools, and delegate to other agents turn a model's text-following behaviour into real-world actions. This makes prompt injection, where attacker-controlled content is mistaken for instructions, a direct route to data exfiltration, record tampering, and privilege escalation. Defences that try to make the model itself resistant are probabilistic and have been shown to fail against adaptive attackers. This paper takes the complementary position that an agent should be secured by the enforcement layer around the model, on the assumption that the model can be manipulated. It proposes a threat model and an attack taxonomy for agentic workflows, defines six defence designs from prompt-level filtering to a layered architecture of scoped capabilities, plan-locking, information-flow labels, and targeted human confirmation, and evaluates them in a simulated agent environment with eight tasks, fifteen tools at four privilege levels, and eight attack classes. The model is represented as a stochastic policy that follows an injected instruction with a given probability, and the defences are deterministic policy code. Without defences, attacks succeeded in about 60% of episodes at a follow probability of 0.6 and 77% for persistent memory poisoning. Prompt-level defences reduced this to 3% to 4% for tool-output injection but not for memory poisoning, and their effectiveness fell as detector recall fell (3.6% to 23.9% mean success from recall 0.85 to 0). Tool allowlists blocked out-of-scope tools but left in-scope abuse at 60%. Plan-locking with information-flow labels reduced every attack to zero except in-scope record tampering (30%), whereas scoped capabilities alone left exfiltration to a compromised known contact at 60%. A layered design combining them with targeted human confirmation held mean attack success at 1.1% at a follow probability of 0.6 and at 1.8% at 0.9, with 99% task completion and 0.5 confirmations per task, but its residual attack, in-scope tampering, depended linearly on how often users approve malicious requests. The results come from a simulation whose outcomes follow from the encoded policy semantics, and they should be read as an analysis of coverage and trade-offs, not as measurements of real agents.

Mathematics for ApplicationsVol. 15(2s)
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