防御 · 2025-10-13 Reset (Esc)
Proposes TraceAegis trajectory anomaly detection, identifying malicious manipulation and deviations in agent tool calls
Outward relations 11
Cites§ 6. Related Work
The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions Why cited
“The work by Wallace et al. (2024) fine-tunes a model with a hierarchy of instructions, enabling it to prioritize high-privilege instructions from the developer while disregarding lower-privilege ones from external sources, especially when conflicts arise.”
Cites§ 6. Related Work
Defeating Prompt Injections by Design Why cited
“Policy and Privilege Enforcement: Limiting an agent’s capabilities to the minimum required for its task using predefined rules, domain-specific languages, or secondary “guard” LLMs to monitor the primary agent (Wang et al., 2025b; Shi et al., 2025a; Kim et al., 2025a; Chen et…”
Cites§ 6. Related Work
Progent: Securing AI Agents with Privilege Control Why cited
“Policy and Privilege Enforcement: Limiting an agent’s capabilities to the minimum required for its task using predefined rules, domain-specific languages, or secondary “guard” LLMs to monitor the primary agent (Wang et al., 2025b; Shi et al., 2025a; Kim et al., 2025a; Chen et…”
Cites§ 5.1. Datasets
InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents Why cited
“Existing benchmarks for agent anomaly detection primarily focus on explicit prompt injection and short execution paths, overlooking the long and complex invocation sequences common in real-world scenarios (Debenedetti et al., 2024; Zhan et al., 2024).”
Cites§ 6. Related Work
PromptArmor: Simple yet Effective Prompt Injection Defenses Why cited
“Input and Output Filtering: Scrutinizing data to detect and remove prompt injections or sanitize malicious outputs (Shi et al., 2025b; Li et al., 2025; Chen et al., 2024a; Chen et al., 2025b; Wang et al., 2024; Liu et al., 2025).”
Cites§ 6. Related Work
SecAlign: Defending Against Prompt Injection with Preference Optimization Why cited
“One common technique is fine-tuning on security-specific datasets to align models with secure behaviors or specialize them for a single task, rendering them inert to irrelevant instructions (Chen et al., 2024b; Piet et al., 2024).”
Cites§ 6. Related Work
AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents Why cited
“Policy and Privilege Enforcement: Limiting an agent’s capabilities to the minimum required for its task using predefined rules, domain-specific languages, or secondary “guard” LLMs to monitor the primary agent (Wang et al., 2025b; Shi et al., 2025a; Kim et al., 2025a; Chen et…”
Cites§ 6. Related Work
System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspective Why cited
“Policy and Privilege Enforcement: Limiting an agent’s capabilities to the minimum required for its task using predefined rules, domain-specific languages, or secondary “guard” LLMs to monitor the primary agent (Wang et al., 2025b; Shi et al., 2025a; Kim et al., 2025a; Chen et…”
Cites§ 2. Preliminaries
Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directions Why cited
“Modern agents typically invoke external tools through two primary mechanisms: function calls or the Model Context Protocol (MCP) (Hou et al., 2025).”
Cites§ 6. Related Work
FATH: Authentication-based Test-time Defense against Indirect Prompt Injection Attacks Why cited
“Input and Output Filtering: Scrutinizing data to detect and remove prompt injections or sanitize malicious outputs (Shi et al., 2025b; Li et al., 2025; Chen et al., 2024a; Chen et al., 2025b; Wang et al., 2024; Liu et al., 2025).”
Cites§ 6. Related Work
IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents Why cited
“Policy and Privilege Enforcement: Limiting an agent’s capabilities to the minimum required for its task using predefined rules, domain-specific languages, or secondary “guard” LLMs to monitor the primary agent (Wang et al., 2025b; Shi et al., 2025a; Kim et al., 2025a; Chen et…”
Incoming follow-ups 12
Cites§ II-C Inference-Time Defenses
AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification Why cited
“AgentArmor [49] applies program analysis to agent runtime traces to enforce execution-time constraints against prompt injection, while TraceAegis [50] combines hierarchical trace analysis with behavioral anomaly detection.”
Cites§ 1 Introduction
Runtime Skill Audit: Targeted Runtime Probing for Agent Skill Security Why cited
“Second, realistic skill evaluation is inherently environment-dependent: assessing whether a skill is harmful requires observing its interaction with files, tools, external services, and persistent agent state rather than inspecting the artifact in isolation (Wang et al., 2026;…”
Cites§ Operational safety and privilege defenses.
From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents Why cited
“To mitigate such risks, modern defenses employ model alignment (Chen et al., 2024a; Wallace et al., 2024; Chen et al., 2025), execution isolation (Wu et al., 2025; Wang et al., 2026), dynamic tool boundaries (Jia et al., 2024; Debenedetti et al., 2025),, or execution-trace ano…”
Cites§ II-C Step-Level Resources for Agent Traces
AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories Why cited
“TraceAegis-Bench provides benign and abnormal execution traces for provenance-based anomaly detection, including a “seen but abnormal” near-miss class [35], and Trajectory Guard trains a sequence autoencoder on benign trajectories only [36].”
Cites§ 1 Introduction
AIR: Improving Agent Safety through Incident Response Why cited
“(3) Trajectory monitoring approaches improve agent safety by analyzing interaction trajectories across multi-step execution processes (Wang et al., 2025; Liu et al., 2025).”
Cites§ 1. Introduction
AgentSpy: Making AI Agent Behavior Observable Why cited
“Trajectory analyses Ou et al., 2025; Liu et al., 2026; Liu et al., 2025 rely on the agent’s own record, which is incomplete: its smallest unit of observation is a single action, so when the agent runs a helper script that reads ~/.ssh and uploads the keys, the trajectory recor…”
Cites§ 1. Introduction
AgentTracer: Tracing Indirect Prompt Injection Attack through Fine-Grained Intention-Execution Alignment Why cited
“However, existing tracing methods (Wang et al., 2025a; Li et al., 2026a; Liu et al., 2025; Cai et al., 2026; Weng et al., 2026) for LLM agents are limited for IPI attacks.”
Cites§ Application-layer defenses:
Kernel-Layer Runtime Defense for LLM Agents Against Indirect Prompt Injection Why cited
“Existing systems employ mechanisms such as information-flow control, capability isolation, privilege separation, and execution constraints to restrict tool use and data movement [9, 7, 8, 28, 10].”
Cites§ 2 Background and Related Work
PvP: Intent-Conditioned Anomaly Detection Against Tool Poisoning Attacks in Agentic AI Why cited
“TraceAegis [40] uses a provenance-based framework with previous execution traces collected from logs to construct a hierarchical structure of (normal) rules.”
Cites§ VIII Related Work
Guarding the Kingdom of Skill-Based Agents in the AI Dynasty of Computation: Control-Flow Integrity for Agent Skills Why cited
“They isolate untrusted components [42], fix the plan before untrusted data is read [43, 44], learn behavioral bounds from benign runs [45, 46], or constrain multi-agent invocations with CFI-style graphs [47].”
Cites§ 1 Introduction
Inverting the Shield: Systematically Generating Safety Tests from Policy Specifications Why cited
“Large Language Models (LLMs) are being widely integrated into a myriad of domains (Wang et al.,), serving as the core of advanced AI agents, powering conversational chatbots, and offering decision support in high-stakes fields such as healthcare (Goyal et al., 2024; Liu et al.…”
Cites§ II-D Trajectory Guard Models and Step-Level Resources
DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents Why cited
“TraceAegis mines behavioral hierarchies from normal logs for anomaly detection [36], and a lightweight sequence model detects non-adversarial plan anomalies at the trajectory level [37].”
Belongs to hyperedges
Prompt injection 17 AI Agent 13 被共同引用研究簇 13 被共同引用研究簇 10 被共同引用研究簇 8 被共同引用研究簇 8 Agent safety 6 检测与过滤 5 Agent 危险操作 3
Tested models
gemma-3-27b gpt-oss-120b gemini-2.0-flash-001 qwen3-235b deepseek-v3
Benchmarks
TraceAegis-Bench Clinic Triage Agent Procurement Request Agent 企业内部漏洞检测智能体红队轨迹