Backtracking Agent Applications Security Incidents
Not on the map. Why?
Abstract (arXiv)
Agent applications are increasingly deployed, yet agent-specific attacks pose real threats to them. Upon a security incident, organizations backtrack to identify the CEP (compromise entry point), remediate the damage, and prevent its recurrence. The main artifacts available for backtracking are trajectory logs, which record agent functionalities, and source code; app(lication)-specific function call logs are often fairly limited. However, trajectory logs are at the agent functionality abstraction layer, while the CEP candidates are function calls at the app code execution layer. Due to this semantic gap, the analyst needs to manually inspect the relevant code for each CEP candidate to infer its corresponding agent functionality. In this work, we present Origin, a backtracking tool for the analyst to submit a small number of queries to identify CEPs that existing tools cannot provide. Our approach poses two challenges: (1) define the intermediate abstraction that captures the mapping relationships between the two semantic layers; (2) determine the region-to-variable mapping for constructing the cross-layer graph defined in the intermediate abstraction. Each region is a specific group of agent functionalities. Origin addresses the challenges by (1) the cross-layer dependency graph (CLDG) that connects region-inferred functions at the semantic level to the variables in the low-level taint propagation subgraph, plus the associated query language, and (2) the region inference algorithm. Case studies on five popular agent applications across eight attack incidents show that an analyst using Origin correctly identifies all the CEPs.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 20 of its 73 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
20 of 73 references.
References · 20
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 568
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2025Defeating Prompt Injections by Designcited by 384
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
- 2025Progent: Securing AI Agents with Privilege Controlcited by 189
- 2024Certifiably Robust RAG against Retrieval Corruptioncited by 167
- 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systemscited by 149
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 134
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 127
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 95
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 74
8 more
- 2026Taming Various Privilege Escalation in LLM-Based Agent Systems: A Mandatory Access Control Frameworkcited by 57
- 2026Memory Poisoning Attack and Defense on Memory Based LLM-Agentscited by 48
- 2024RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysiscited by 39
- 2026AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purificationcited by 33
- 2025Demystifying the Lifecycle of Failures in Platform-Orchestrated Agentic Workflowscited by 15
- 2024Trust No AI: Prompt Injection Along The CIA Security Triadcited by 10
- 2018AIQL: Enabling Efficient Attack Investigation from System Monitoring Datacited by 6
- 2026Who Owns This Agent? Tracing AI Agents Back to Their Ownerscited by 1
Built on by
Not cited yet.