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

Kristoffer Hempel, Nils Loose, Lorenzo Cavallaro, Thomas Eisenbarth
10/13/2026
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Large language model (LLM) agents are becoming an integral part of the software development lifecycle, and the capabilities granted to them allow an agent to act with the user's authority on any resource it can access. The reach that gives an agent its utility is equally available to an attacker who can steer it.

Show full abstract

Anything an agent ingests can carry an injected instruction, and since the model does not reliably distinguish instructions from data, indirect prompt injection should be mitigated by mediating the effects the agent produces. Such mediation faces a structural difficulty. Legitimate work and the first step of an attack often look alike when an individual action is observed, and what separates them lies later in the trace, so a monitor limited to allow and deny is forced to decide before the evidence accumulates. We present Kairos, 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. A declarative policy that states which sources are trusted decides most effects deterministically and defers the rest, which are held while the agent continues speculatively. A decision oracle with bounded authority, such as a language model or a human, releases or refuses each deferred effect on the trace. Across three benchmarks and three agent models, Kairos outperforms existing defenses in the trade-off between attack success and utility. In particular, on AgentDojo, it reduces attack success from 47.0\% to 2.7\% while its benign utility stays at the level of the undefended agent.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hempel2026kairos,
  title  = {Kairos: Transactional Security Enforcement at the System Boundary for LLM Agents},
  author = {Kristoffer Hempel and Nils Loose and Lorenzo Cavallaro and Thomas Eisenbarth},
  year   = {2026},
  eprint = {2610.18457},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.18457v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.18457.svg)](https://codeofpaper.com/paper/2610.18457)

Discussion