prompt injection
Large language models that take actions on their own, called agents, often read text from outside sources, like websites or tool responses. Attackers can slip malicious instructions into that text. When the agent processes it, it may follow the hidden orders instead of the user's real request, a trick called prompt injection. This is dangerous because agents can access files, send messages, or run commands.
The papers show this is an active arms race. Attackers generate new, adaptive injections, while defenders use simulated training, self-reflection, or system-level containment to block them. A common finding is that defenses trained on fixed attacks fail against novel ones, and that success rates vary wildly between benchmarks. The trend is toward evaluating agents in realistic settings, co-evolving attacks and defenses, and monitoring at the system boundary rather than only at the prompt level.
- Papers
- 84
- Released code
- 9
- First seen
- July 2026
- Latest
- Nov 2026
78 papers in the last two months, against 4 in the two before.
Start here
Three papers to read first, in the order they came out- 1AI agents can block attacker-chosen destinations without model-written plans
A deterministic check on typed tool-return fields and removal of instruction-like text block prompt-injected redirection of tool-using agents.
Nov 2026 - 2AI agents can follow legitimate tasks while attackers corrupt their decisions
Indirect prompt injection can tamper with task outcomes without overriding the task, revealing gaps in current defenses.
Nov 2026 - 3AI agent defenses struggle to preserve both security and usefulness
MetaPI converts general LLM agent benchmarks into security tests for indirect prompt injection.
Nov 2026
How fast it is moving
Often studied with
agent safetyRisks from AI agents including timing errors, shutdown avoidance, collusion, overclaiming, and unsafe execution, mitigated by constrained decoding, safety harnesses, and swarm governance.58 togetherruntime monitoringAudits an AI agent's live actions, internal states, or effects against constraints or policies to catch errors and attacks.25 togetheragentic evaluationMeasuring AI agents' performance in complex tasks, highlighting failures in planning, monitoring, and real16 togetherWho is working on it
The papers
Most central to this idea first, not most recent.
- Big Techcs.CR
AI agents can follow legitimate tasks while attackers corrupt their decisions
Indirect prompt injection can tamper with task outcomes without overriding the task, revealing gaps in current defenses.
Amazon Responsible AI, Microsoft · Nov 2026
- Big Techcs.CR
AI agent defenses struggle to preserve both security and usefulness
MetaPI converts general LLM agent benchmarks into security tests for indirect prompt injection.
University of California, Los Angeles, NVIDIA · Nov 2026
- Top Universitycs.CR
AI agents can block attacker-chosen destinations without model-written plans
A deterministic check on typed tool-return fields and removal of instruction-like text block prompt-injected redirection of tool-using agents.
SAINT Machines, KAIST · Nov 2026
- Academiccs.AI
Reasoning models can be hijacked by faked thoughts
Thought injection attacks imitate a model's own reasoning to achieve up to 50% success against agentic systems.
Applied Research Laboratories, University of Texas at Austin · Nov 2026
- Big Techcs.CR
AI agents cut prompt injection success from 79% to 9%
SecPO combines a new training objective with strong simulated attacks to cut prompt-injection success while preserving performance on benign tasks.
UC Berkeley, Anthropic · Nov 2026
- Big Techcs.CR
AI agents remain vulnerable to prompt injection when attackers use collaborating swarms
Prompt injection attacks remain effective against frontier AI agents when attackers use swarms of collaborating LLMs.
Google DeepMind · Nov 2026
- Top Universitycs.CL
LLM agents decide to follow prompt injections during reasoning, not at injection time
For reasoning LLM agents, the decision to follow a prompt injection is made during reasoning, not when the injection is read.
Fullive-AI, Nanyang Technological University · Oct 2026
- Big Techcs.CR
Cheap AI gate stops most hidden instructions that survive standard defences
A small decision model screening retrieved web pages cuts attack success from 27.9% to 5.7% and pollution exposure to 0.5%.
Google, University of California, Santa Cruz · Nov 2026
- Big Techcs.AI
AI agents follow attacks in documentation 2.6 times more than in code
LLM agents treat some environment regions as more trustworthy than others, so indirect prompt injections succeed unevenly depending on where they are placed.
University of Chicago, Microsoft Research · Oct 2026
- Big Techcs.AI
Structured tags help AI chatbots ignore hidden instructions in data
LLMON post-training reduces indirect prompt-injection attack success from 53-100% to 0.02-5.6%.
IBM Research · Oct 2026
- Academiccs.SE
Malicious project files can push code agents toward vulnerabilities, often without developer awareness
Malicious project memory files can alter coding agents' secure code generation rates by -8 to +6 percentage points, with inconsistent effects across agents.
Ruhr-Universität Bochum · Oct 2026
- Big Techcs.AI
Filtering pages before they reach AI search blocks over 80% of hidden attacks
SearchInject reduces exposure to injected pages in tested search systems by 83.2–83.7% with little change to clean-result ranking quality.
Google LLC, Harvard University · Nov 2026
- Independentcs.AI
AI agents finish tasks normally while quietly following planted instructions
Malicious instructions retained in an AI agent’s memory can quietly redirect later decisions while the agent still completes legitimate tasks normally.
Nov 2026
- Chinese Techcs.CR
Persistent agent state lets prompt injections survive across sessions
Persistent prompt injections in LLM-agent memory and scheduled tasks can re-fire across sessions without measurable decay, while tested defenses mainly prevent initial planting.
MAIS, Institute of Automation, Chinese Academy of Sciences · Oct 2026
- Top Universitycs.CR
Poisoned tool descriptions can make AI agents leak data after legitimate work
Malicious MCP tool descriptions can make agents send an attacker-controlled log after legitimate work, often without disrupting the task.
Duke University, Michigan State University · Oct 2026
- Academiccs.CL
Linear probes for prompt injection often detect conversation position, not attacks
Prompt-injection probes trained on standard examples learn conversation position and text length, not injection content; adding matched negatives cuts false alarms while catching most attacks.
Georgia Institute of Technology · Oct 2026
- Chinese Techcs.AI
Repository prompt injections can widen coding agents’ lasting permissions
Repository prompt injection can induce coding agents to request persistent, overbroad permissions that later enable malicious actions without further user approval.
National University of Singapore, Nanyang Technological University · Oct 2026
- Industrycs.CR
Persistent memory in LLMs enables cross-session security breaches
Memory injection attacks persistently compromise ChatGPT Instant 5.3, Claude Sonnet 4.6, and Gemini 3 Flash, achieving all NIST attack goals through stored prompts.
Universidade de São Paulo (USP), Universidade do Estado de Santa Catarina (UDESC) · Oct 2026
- Industrycs.CRcode
Benchmark scores on prompt injection detectors do not predict real-world performance in LLM agents.
Detector rankings on injection benchmarks do not predict performance inside LLM agents; training data form drives real-world detection.
Japan Advanced Institute of Science and Technology (JAIST) · Oct 2026
- Academiccs.CR
BrowseSafe++ benchmark evaluates prompt injection detection across real web contexts
Prompt-injection detection alone does not predict browser-agent safety, while paired multi-view training yields compact detectors with fewer false positives than frontier-model detectors.
Perplexity, Purdue University · Oct 2026
- Academiccs.CR
New benchmark exposes indirect prompt injection risks in multi-step agent tasks
Indirect prompt injection frequently compromises long-running LLM agents, while conversational safety guards transfer poorly and instructional hardening offers stronger but uneven protection.
Vanderbilt University · Oct 2026
- Academiccs.LG
LLM defenses against prompt injection are channel-conditioned and require deployment-aware training
Indirect prompt-injection defenses fail across presentation channels, while channel-aware adversarial training sharply reduces attacks without substantially sacrificing clean accuracy.
Mohamed bin Zayed University of Artificial Intelligence · Oct 2026
- Big Techcs.CRcode
Fine-grained flow controls block browser-agent attacks without restoring origin walls
SPIDES uses element-level HTML annotations to enforce information-flow control, blocking prompt injection and data exfiltration in browser agents.
ISTA, Microsoft · Oct 2026
- Academiccs.CR
Kairos delays agent actions until their consequences reveal security risks
Kairos reduces LLM agent attack success from 47% to 2.7% by monitoring every effect at the system isolation boundary.
Universität zu Lübeck, University College London · Oct 2026
- Academiccs.CRcode
Accessibility-based masking shields computer agents from indirect prompt injections
SA-CUA blocks indirect prompt injections while preserving computer-use autonomy by separating trusted screen regions and independently verifying values crossing the trust boundary.
Tübingen AI Center, University of Tübingen · Oct 2026
- Research Labcs.CR
Auditing pending actions catches staged attacks in long-running AI agents
Long-horizon agents are vulnerable to staged prompt injection; boundary action auditing with Path-Aligned Attribution blocks attacks at high recall and low false-block rate.
Beijing Jiaotong University, Mohamed bin Zayed University of Artificial Intelligence · Oct 2026
- Chinese Techcs.CR
Mobile agents are broadly vulnerable to cross-modal injection attacks that hijack reasoning
MLLM-based mobile agents are broadly vulnerable to cross-modal injection attacks, and many failures originate in early reasoning hijacking.
Nanjing University, Ant Group · Oct 2026
- Independentcs.CR
Shared coding rules can steer agents toward attacker-controlled packages
Attackers can inject malicious prompts into coding rule files to make AI agents import attacker-controlled packages.
Oct 2026
- Big Techcs.CR
Activation steering sharply reduces indirect prompt injection in open models
CounterSteer suppresses indirect prompt injection by subtracting a per-model residual-stream direction from tool-result tokens during prefill, cutting attack success to near zero without utility loss.
Microsoft Azure · Sept 2026
- Big Techcs.CL
Adaptive simulated training makes web agents more resistant to prompt injection
AdvSim2Real co-evolves tasks, attacks, and a web agent in a simulated world, raising task completion under unseen attacks by 33.6%.
Mohamed bin Zayed University of Artificial Intelligence, Amazon · Oct 2026
- Big Techcs.CRcode
Self-distillation hardens tool-using agents without sacrificing benign task performance
RAISED uses self-distillation to defend LLM agents from prompt injection without losing utility.
LIX, École polytechnique · Oct 2026
- Academiccode
Modeling attack chains improves prompt injection detection for email agents
Modeling prompt injection as an attack chain with stage verifiers and intent consistency analysis improves detection F1 over binary classifiers.
Eastern Michigan University · Sept 2026
- Top Universitycs.CR
Fabricated hazard reviews can steer AI agents to reject legitimate options
AI agents can be steered by fabricated safety warnings in ordinary reviews, bypassing injection detectors, while requiring independent corroboration sharply reduces the attack.
Technion, Zenity · Nov 2026
- Independentcs.SE
Most AI agent tools that delete data run without asking a human
Most destructive tool calls in deployed agent software run unapproved, because the host application's default, not the tool server's, decides whether a person is asked.
Independent Researcher · Nov 2026
- Academiccs.CR
Malicious skill files can make AI agents answer forbidden questions
Jailbreaks hidden in Markdown skill files propagate through agents, raising attack success from 0.5% to 45% on average and up to 68.9%.
University of Illinois Urbana-Champaign, Argonne National Laboratory · Oct 2026
- Top Universitycs.SE
New benchmark reveals automated red-teaming services often miss real-world agent security flaws
GreyZone evaluates automated red-teaming services on their ability to cause verified security-policy violations in real-world agent applications.
National University of Singapore · Nov 2026
- Big Techcs.CR
Fake content and structure in tool outputs combine to fool all tested AI agents
Role spoofing attacks that mimic user style and format fool LLMs over 95% of the time.
University of Pennsylvania, Princeton University · Oct 2026
- Academiccs.CR
Jev Resists Rule-Based Attacks but Falters on Phishing Judgments
Jev resists adversarial forgeries on rule-based moderation but is less robust and less accurate on judgment-based phishing detection.
Nankai University, Zhongguancun Laboratory · Oct 2026
- Big Techcs.CR
AutoRedClaw automates red-teaming for persistent claw-style agents
AutoRedClaw automatically generates executable attacks and environments that achieve over 30% effective attack rates on persistent claw-style agents for under $0.10 per success.
Washington University in St. Louis, Johns Hopkins University · Oct 2026
- Big Techcs.LG
Diffusion language models enforce task-level security against prompt injection
CoDA prevents prompt injection by enforcing task-level security policies within diffusion language model denoising.
University of Virginia, University of Oxford · Oct 2026
- Research Labcs.CR
Execution-Time Checks Limit Malicious Tool Calls by LLM Agents
Provenance-Aware Capability Enforcement (PACE) prevents tool misuse by verifying capability and provenance at the point of execution.
PRADA Lab, King Abdullah University of Science and Technology · Oct 2026
- Big Techcs.CR
Encrypted commands in AI agent skills can be decoded and executed as attacks.
Encoded instructions in third-party AI agent skills can be decoded and executed as attacks, achieving success rates up to 47.5%.
IBM Research, National Yang Ming Chiao Tung University · Oct 2026
- Chinese Techcs.CRcode
Skill Images Can Steer Agents Into Unauthorized Actions
Image-borne attacks in multimodal agent skills induce unauthorized operations in every tested configuration, with a 43.1% success rate.
Zhejiang University, Ant Group · Sept 2026
- Independentcs.CR
Faulty harnesses can radically distort prompt injection security results
Defective evaluation harnesses overstate indirect prompt injection attack success by up to 62.8 percentage points in LLM agents.
Independent Researcher · Sept 2026
- Big Techcs.LG
Learning from failure enables LLM agents to resist prompt injection attacks
Self-Reflection Fine-Tuning improves LLM agent robustness against prompt injection by learning from its own failure experiences.
Johns Hopkins University, Washington University in St. Louis · Oct 2026
- Academiccs.LG
Curriculum training finds prompt injections that direct attacks miss
Curriculum reinforcement learning enables effective prompt injection red-teaming against frontier LLMs by overcoming the cold-start problem.
The Pennsylvania State University, Purdue University · Sept 2026
- Big Techcs.CRcode
Masking untrusted web content to secure agents against prompt injection
Web agents can be secured against prompt injection by masking untrusted content in the DOM and using a sandboxed interface.
ETH Zurich, ISTA · July 2026
- Top Universitycs.CR
New security architecture blocks all attacks on AI coding agents with near-zero latency
Separating an agent’s decisions from its permissions and tracking trust and secrecy across steps blocks tested attack chains without blocking benign workflows.
Evercursion – GaiaLogic Unipessoal Lda., University of Macau · Nov 2026
- Big Techcs.CR
AI agents' memory systems all spread poisoned instructions, but at different rates
All tested LLM agent memory systems are susceptible to poisoning, with the impact varying substantially based on memory architecture design.
Microsoft, Rensselaer Polytechnic Institute · Nov 2026
- Top Universitycs.LG
Internal representation shifts can expose multi-turn attacks as they emerge
Multi-turn attacks on LLM agents leave detectable signatures in internal representation transitions across context updates.
Singapore Management University, National University of Singapore · Oct 2026
- Chinese Techcs.CR
Meta-attributes make agent tool permissions more consistent and attack-resistant
MetaPermit uses LLM-inferred meta-attributes and fixed policies to achieve zero malicious tool calls and up to 109% better task completion.
Paderborn University, Huawei Hilbert Research Center (Dresden) · Sept 2026
- Top Universitycs.CRcode
Two-stage auditing finds more exploitable flaws in AI agent repositories
AgentXploit automates repository-to-runtime red-teaming for AI agents, achieving 59.3% end-to-end attack success.
National University of Singapore, University of North Carolina at Chapel Hill · Sept 2026
- Research Labcs.CR
Hostile context can redirect decisions in Jev-powered applications
Attacker-controlled context can induce schema-valid Jev judgments that flip application decisions and frequently create potential downstream security impacts.
Key Laboratory of Trustworthy Distributed Computing and Service (MoE), Beijing University of Posts and Telecommunications · Oct 2026
- Research Labcs.CR
Installable agent skills can inherit user authority without adequate checks
Skill-based LLM agents allow malicious skills to reach security-sensitive operations due to systematic trust failures.
Institute of Information Engineering, Chinese Academy of Sciences, Worcester Polytechnic Institute · Oct 2026
- Research Labcs.CR
Local LLM agents can erase the traces meant to audit them
LLM agents can delete or edit their own execution traces, and do so spontaneously when optimizing for reward, breaking trace integrity.
ELLIS Institute Tübingen, Max Planck Institute for Intelligent Systems · Sept 2026
- Top Universitycs.CR
Unverified state text can flip calibrated model decisions
Appending an unverified opinion to the state flips 12.1% of decisions in RLCD models, making the state an untrusted input.
Institute of Information Engineering, Chinese Academy of Sciences, University of Chinese Academy of Sciences · Sept 2026
- Big Techcs.AI
Stateful policies block rogue agent actions while preserving task utility
Sapien enforces stateful, task-specific tool-call policies that preserve near-unconstrained agent utility while ruling out most benchmark attacks under full hijacking.
Google, University of Massachusetts Amherst · Oct 2026
- Research Labcs.AI
Open-weight agents pose a distinct and growing risk for LLM pollution in online surveys
Open-weight LLM agents running locally pose a distinct, low-cost threat for polluting human survey data.
Max Planck Institute for Human Development, University of Basel · Sept 2026
- Industrycs.CR
Tampered embeddings hijack offline AI retrieval despite tolerance checks
Exact verification of quantisation codes closes the text-vector integrity gap in offline RAG packs.
securagen.ai · Nov 2026
- Top Universitycs.CR
Most AI coding agents overrun a disk limit before reading the file
Processing an archive, URL, or image can cause harm before the model sees any content.
Tsinghua University, The University of Sydney · Nov 2026
- Top Universitycs.RO
AI-controlled robots act dangerously in up to 77% of tasks, benchmark shows
LEASH reduces harm from robots controlled by foundation models.
Xi'an Jiaotong-Liverpool University, Duke Kunshan University · Nov 2026
- Top Universitycs.CR
Malicious code in tool updates evades LLM agent defenses
Agent frameworks keep trusting a tool after its code is updated, so an attacker can slip hidden malicious behavior into a routine update and have it run during normal tool calls.
Shanghai Jiao Tong University, Inria · Nov 2026
- Top Universitycs.AI
Multi-agent debate creates more persuasive fake passages than prior attacks
Debate-to-Deceive uses multi-agent debate with rhetorical strategies to poison LLM fact-checking and evade most defenses.
Newcastle University, Peking University · Nov 2026
- Big Techcs.CR
Secure transactions limit untrusted influence on computer-use agents
Secure-CUA protects computer use agents from untrusted interface content by committing to action transactions before accessing it.
University of Wisconsin–Madison, Google · Oct 2026
- Academic
Topic shifts do not reliably stop LLMs revealing user secrets
User secrets in LLM conversations remain recoverable after topic drift, with leakage rates between 38.7% and 54.6%.
West Virginia University · Sept 2026
- Industrycs.CR
Vault mediation keeps API credentials outside an LLM agent’s context
Vault-mediated authentication lets LLM agents call APIs without exposing credentials to model context or common execution surfaces, but it cannot ensure correct configuration or authorization.
Corvic AI Research · Sept 2026
- Chinese Techcs.CR
Simulated future actions may expose multi-turn agent attacks earlier
SSH simulates future agent trajectories and verifies them against real actions to detect multi-turn attacks earlier while reducing false positives.
Huawei Technologies Co., Ltd · Oct 2026
- Research Labcs.AI
Separating tool suggestions from authorization sharply reduces agent attacks
SARA separates action induction from runtime authorization in tool-augmented LLM agents, limiting attack success rate to under 0.63%.
Institute of Information Engineering, Chinese Academy of Sciences, School of Cyber Security, University of Chinese Academy of Sciences · Aug 2026
- Top Universitycs.CR
Persistent memory in AI agents can be stealthily poisoned via a single email
Untrusted external content can be silently injected into persistent personal agent memory and later influence behavior without user awareness.
Nanyang Technological University, CFAR, A*STAR · July 2026
- AI Startupcs.AI
LLM-assisted peer review should prioritize error detection over imitation of human reviews
The verification-centric benchmark and Multi-Layered Review framework achieve high error detection and strong alignment with human review scores.
Sakana AI, National University of Singapore · Oct 2026
- Academiccs.SE
Developers write detailed, evolving instructions for agentic workflows but often skip safety measures
GitHub agentic workflows are long, evolving operational specifications, yet explicit prompt-injection defenses appear in only 9.4% of labeled workflows.
École de technologie supérieure (ÉTS), Université Laval · Sept 2026
- Academiccs.AI
Kernel-managed memory personalizes multiple AI agents with shorter prompts
Kernel-managed shared memory matches full-context personalization quality at a fraction of latency and token cost.
Rutgers University · Sept 2026
- Academiccs.CR
Plan-first controls block attacks on persistent language-model agents
SPA with information-flow control reduces tool_knowledge attack success to zero on AgentDojo and 0.2% on AgentDojo-MQ.
University of South Florida · Aug 2026
- Top Universitycs.CR
Office document extractors let attackers mislead AI without changing what users see
Text extractors for Office documents can produce content that differs from what humans see, enabling attacks that mislead language models without using instructions.
Nanyang Technological University · Nov 2026
- Big Techcs.AI
AI agents sometimes recognise scam warnings but proceed with tasks
Web agents deceived by online fraud at rates from 11% to 35% across six frontier LLMs.
Deakin University, Fudan University · Nov 2026
- Top Universitycs.AI
LLM agents exceed granted authorization in nearly one in five tasks
LLM agents act outside their authorized scope in 19.2% of delegated tasks, and task success, reasoning effort, and harm-free outcomes do not ensure authorization alignment.
Northeastern University, Carnegie Mellon University · Oct 2026
- Top Universitycs.AI
User consent in long-lived LLM agents can be replayed after context changes.
User consent persists beyond its original context, enabling attacks that reuse accumulated authority to bypass fresh approval in long-lived LLM agents.
Worcester Polytechnic Institute, Tsinghua University · Oct 2026
- AI Startupcs.CL
Activation steering shifts how language models decide to trust users
Steering model activations causally controls how LLM assistants trust users, affecting safety behaviors.
Inria Paris, Sorbonne Université · Oct 2026
- Top Universitycs.CR
New defense eliminates branch steering attacks on computer-use agents
Branch steering attacks on computer-use agents can be defeated by combining pre-authorized branching plans with ahead-of-time capability constraints.
ETH Zurich, University of Cambridge · Oct 2026
- Big Tech
Kernel traces improve detection of attacks against infrastructure-enabled AI agents
Kernel-level syscall traces combined with application-layer telemetry improve detection of adversarial LLM agent attacks.
University of Georgia, Amazon Web Services · Sept 2026
- Independentcs.CR
LLM agents complete tasks yet leak information across community boundaries, new benchmark shows
Persistent LLM agents in multi-community settings complete benign tasks while violating privacy and authorization boundaries, so security is a system-level property.
Oct 2026
- Big Techcs.CRcode
Agent defenses leave privileges unseen by standard security benchmarks
Ajar measures open privilege in agent defenses by testing whether they would allow tool calls that a task does not need.
University of Washington, The Ohio State University · Sept 2026
- Chinese Techcs.CR
Informed attackers can evade static and LLM-based agent skill scanners
An informed attacker defeats static and LLM skill scanners by hiding payloads in natural language and splitting instructions across files, succeeding up to 97%.
Huawei Research Zurich · Oct 2026
- Industrycs.CR
Security contracts preserve authorization across composable LLM agent systems
CONTINUITY verifiably prevents security-context discontinuity, ensuring no harmful external effects from composable LLM agent controls.
ZAST.AI · Sept 2026
Concepts are extracted from each paper and reused across the corpus, so this page grows on its own as the desk reads.