← Lab /AI/ML

Unfireable Safety Kernel blocks all escape attempts in live AI system

Their kernel prevents any escape or unauthorized self-modification in the evaluated AI agent.

AI/ML arXiv 24 Jun 2026 Defense Prototype evidence Threat model

Published as “The Unfireable Safety Kernel: Execution-Time AI Alignment for AI Agents and Other Escapable AI Systems”

Why it matters

Provides a provably enforceable safety boundary for autonomous agents that cannot be bypassed by the agents themselves, enabling more reliable deployment of self-modifying AI systems.

Summary

The Unfireable Safety Kernel prevented all escape attempts in a live self-modifying AI system: across 1,000 self-modifications, all 704 attempts against the safety-critical core were refused with zero successful escapes, and a separate campaign of 6,240 authorization round-trips saw 6,038 served by the compiled Rust kernel with no bypasses. The kernel’s fail-closed invariant is machine-checked at both model (Z3) and implementation (Kani) levels, and the Rust implementation matches the prior Python version byte-for-byte on 1,000 fixtures and 17 adversarial classes. Evidence is strong but limited to the tested attack taxonomy and does not prove persistence of authorized changes.

What they found 5

  1. All escape attempts against the safety-critical core were blocked in a live deployment.

    “across 1,000 self-modifications all 704 attempts against the safety-critical core are refused with no successful escape”

  2. No bypasses occurred in a large adversarial authorization campaign.

    “6,038 served by the compiled Rust kernel over HTTP, records no successful bypass”

  3. The fail-closed invariant is formally verified at both model and code levels.

    “Kani reports 4 successfully verified harnesses, 0 failures.”

  4. Rust implementation is byte-equivalent to the Python reference on all test fixtures.

    “1000 / 1000 PASS”

  5. Adversarial reject behavior is identical between Rust and Python implementations.

    “17 / 17 identical”

Caveats 4

  • A brief baseline at C=100 showed the Rust implementation regressing under high concurrency
  • The architecture explicitly does not address: • Prevention of prompt injection upstream of the kernel. • Filtering of model outputs as text. • Side-channel leakage through patterns of allow/deny decisions. • Denial of service against the kernel itself. • Insider misuse of the operator key.
  • The demonstration rests on the kernel authorization decision; the persistence of the change that an authorized step would then perform was not confirmed in this run.
  • The bypass count is robustness evidence over the tested attack taxonomy on the authorization gate, not a completeness proof, and it excludes attack classes outside that taxonomy.

What’s new here 4

  • Enforces safety controls outside the agent’s address space, eliminating reachable in-process bypasses.
  • Defines and implements execution-time AI alignment as a distinct layer with four architectural properties.
  • Provides two-level machine-checked proof of the fail-closed invariant (SMT and bounded model checking).
  • Introduces a byte-equivalence migration discipline ensuring Rust implementation behaves identically to the original Python.

Threat model stated by the source

AdversaryAI agent runtime (potentially compromised via prompt injection, supply-chain attack, or misalignment)
CapabilityCan issue tool calls, modify its own code, forge/replay tokens, and attempt to bypass or disable controls
AssumesOperator deployment infrastructure and operator signing key are trusted; Adversary cannot read the operator signing key or write the policy sidecar’s environment