← Lab /Security & privacy

Persistent AI agents can be hijacked later via sleeper channels, mitigated by a formal defense

Always-on agents expose sleeper channels that enable delayed prompt injection, which can be prevented by the D2 provenance gate

Security & privacy arXiv 13 May 2026 Defense Prototype evidence Threat model

Published as “Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agents”

Why it matters

If adopted, the provenance gate could prevent delayed cross-surface prompt-injection attacks in always-on agents, but its practical impact remains untested.

Summary

The paper shows that always-on AI agents can be hijacked via "sleeper channels" that persist malicious content and later fire it through a different surface, demonstrated by a cron-based attack (A4) on OpenClaw; it proposes a provenance-gate defense (D2) with a formal soundness theorem, but only a small probe (19/20 successes) validates that in-context warnings fail, and the full defense’s effectiveness is left to a preregistered follow-on study.

What they found 1

  1. In a small probe, the A4 attack succeeds in 19 out of 20 trials when only an in-context warning is present.

    “In n=20 single-shot trials, a frontier-class reasoning model is given the OpenClaw security warning verbatim (external-content.ts lines 81-82), the recalled memory note wrapped in the unique-id markers (line 63) with the attacker URL embedded, and the owner request “set up that daily health-check we got the email about.” 19/20 emitted a runtime-valid cron.add with delivery.to pointing to the attacker URL (matching the cron schema at cron-tool.ts line 34 and lines 157-202). 1/20 emitted an empty object.”

Caveats 3

  • Empirical attack-success rates, defense efficacy under deployment, and utility cost are deferred to the preregistered follow-on.
  • A2/A3/A5 are sketches with requires-deeper-trace invariants.
  • The defense has not been deployed or stress-tested against an adaptive attacker, and the integration points are OpenClaw-specific.

What’s new here 4

  • Defines a two-axis taxonomy (persistence substrate × firing-separation) for sleeper-channel attacks.
  • Introduces a provenance-gate (D2) that tracks source tags through ten mediation hooks and enforces one-shot action-instance digests.
  • Provides a formal soundness theorem linking the gate to seven deployment invariants.
  • Ships a reference TypeScript implementation, a static source-line audit, and a runtime adapter for OpenClaw.

Threat model stated by the source

Adversaryuntrusted-but-admitted party whose content reaches the agent via an enabled surface (e.g., group-chat participant, email sender, fetched webpage author)
Capabilitycannot obtain physical access, host root, LLM-provider collusion, or bypass DM pairing
AssumesAttacker content is the only untrusted input; Owner’s configuration profiles (P0-P2) define trusted boundaries