Skip to content

APEX: Active Protection at Execution Boundaries for LLM Agents

Oct 2026 · 1 citation · 73 references
Computer Science

TL;DR

APEX is an active defense that enforces both at this boundary from a single authorization contract compiled before untrusted execution, and applies uniformly across capability units without attack-specific policies or taint tracking.

Abstract

Indirect prompt injection (IPI) hides adversarial instructions in content that large language model (LLM) agents read at runtime. As agents compose heterogeneous capability units, including Tools, MCP servers, and Skills, the carriers of injection multiply, and defenses built to recognize attack patterns fall behind them. We instead shift defense from covering attack patterns to one stable point: whatever the carrier and however the injection propagates, harm materializes only at the \emph{execution boundary}, where the agent turns internal state into an external action or released output. Safety there turns on two conditions, both settled by the trusted task rather than by the run: whether the proposed effect is authorized, and whether the runtime information reaching it is endorsed by that task. We present APEX, an active defense that enforces both at this boundary from a single authorization contract compiled before untrusted execution: \emph{evidence-gated prevention} admits an effect only when the contract justifies it, while \emph{deception-based exposure} makes unendorsed use reveal itself before the effect commits. Protection therefore follows from what the task permits rather than from how an attack is built, and applies uniformly across capability units without attack-specific policies or taint tracking. Against 13 baselines, APEX attains 0\% attack success on five of six benchmarks and 0.56\% on the sixth, holds 0\% under adaptive attacks on all three capability-unit types, and remains effective across defender backbones. Code is available at https://github.com/ZhengXR930/APEX_official/tree/official.

View source

Similar papers

#machine learning Preprint Oct 2026

Kairos: Transactional Security Enforcement at the System Boundary for LLM Agents

Kairos is presented, a reference monitor at the isolation boundary of an unmodified, opaque agent, where a tool call, a shell command, and a script the agent writes all cross the boundary as the same file and network operations, so that confinement holds regardless of the agent's behavior.

Kristoffer Hempel, Nils Loose, Lorenzo Cavallaro et al. · 0 citations

Ajar: Measuring Open Privilege in Agent Defenses

Ajar is evaluated by attaching it to AgentDojo, where open privilege becomes a third axis beside the existing attack success and benign utility, and it is observed that they leave widely different amounts of privilege open.

Reshabh K Sharma, Lin-Xi Jiang, Shuo Chen et al. · 1 citation
#artificial intelligence Preprint Oct 2026

Beyond Maliciousness: Static and Runtime Attack-Surface Profiling of Agent Skills

Agent skills are Markdown documents that a tool-using agent reads as instructions and then acts on with the privileges of the session that loaded them. Installing one grants authority (the standing to direct the agent, not new privilege), and the size of that grant is what we measure. We present a two-phase attack-surf...

Ratnesh Pandey, Japneet Singh, Harsh Akshit et al. · 0 citations
Preprint Nov 2026

Right Tool, Wrong Parameters: Defending LLM Agents Against Parameter Poisoning

Indirect Prompt Injection (IPI) poses a critical threat to LLM agents. Existing defenses largely focus on whether an injection induces a new tool invocation or unintended action. In this paper, we study a different attack surface, parameter poisoning, where the attacker preserves the intended action but manipulates one...

Yao Wang, Ze-Hua Ma, Wei-Ming Zhang et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.