November 25, 2026 | Rootz Receipts • Kernel shields

AI now writes fixes for running kernels. Here is how to know who told it to, and where the machine ended up.

Cisco and OpenAI just made it possible for an AI agent to shield a live Linux kernel from an exploit, with no reboot. We built the record that should travel with every one of those changes, and proved it on a real machine.

Two minutes, with captions. Watch on YouTube.

Fixes at the speed of the exploit

On November 23, Cisco and OpenAI released Shirudo, an open-source runtime for what it calls upatches. These are small programs, written by an AI agent, that block an exploit's code path inside a running kernel while the real patch is prepared. OpenAI's demo stopped an attack on a live search cluster without a restart.

The design is careful. The agent never holds the signing key: the agent writes, a human operator signs. The kernel loads only signed code, and every load is measured into the machine's security chip, its TPM, so the operator can check a chip-signed report of what was loaded.

Shirudo's threat model is also honest about what it leaves to the operator: who authorized a change, on what evidence, and for which machines. Its build file reads the author fields and ignores them.

An agent can now change the core of a running machine in minutes. The question is no longer whether it can. It is who told it to, and whether the machine ended up where it was supposed to.

"Upgrade, then look" is too late

The usual pattern is to apply the change, take a new measurement, and decide afterwards whether you like what you see. By then the code is already running in the kernel.

What an owner actually wants to say is the opposite, and say it before anything runs: this machine, starting from exactly this state, may make exactly this change, and must end in exactly that state.

From a known state to a known state

That turns out to be possible, because the chip's measurement is just arithmetic. Each change extends the register by a hash. If you know the register now and the exact change, you know the register afterwards, to the bit, before the change runs. So we built Rootz Receipts for Shirudo around that fact:

  • A signed instruction for every change. It names the exact shield, the machines it applies to, the evidence for that stage (the advisory, the build, observation on a canary ring) and who signed it, under whose authority.
  • Bound to where the fleet is now. The instruction names the state of the shield list before the change and the state it must produce. If the list has moved since it was signed, the instruction is refused and nothing is published.
  • Bound to where each machine is now. From the register the machine reports today, the owner approves the exact trip to the register it must report tomorrow.
  • A key that opens only on arrival. The owner can release a key for the machine before the upgrade, locked by the machine's own chip to the predicted end state. The machine opens it only by arriving exactly there. Anything else on the way changes the value, and the chip refuses.
  • A record for every change. Every change the chip measured becomes a row: instructed, measured without an instruction, or loaded outside the list. A missing instruction shows up as a row, not as silence.

None of it needs a change to Shirudo. This is the difference between access control and instructions. Access control asks whether you are allowed in. An instruction says what is to be done, from where to where, on whose authority, and the machine proves it did exactly that.

What happened when we tried it

We ran it on a Shirudo test machine on a Mac, on one boot, with a software security chip. These are the results:

StepWhat happened
Stale instructionSigned against the shield list as it was one change earlier: refused, and nothing was published.
Key, before the upgradeReleased by the owner and locked to the predicted end state. The machine tried to open it, and the chip refused.
The upgradeThe shield went in and the exploit probe was blocked. The chip then unlocked the key, and its fingerprint matched.
ArrivalSame boot, exactly the predicted steps, and exactly the predicted end value.
A rogue change slipped inAn uninstructed change was published around the approval step. The machine held the sync. When root forced it anyway, the end value moved, the chip refused the next key, and the record showed four steps where two were planned.

We also checked the prediction against an earlier run. From the chip-signed value after one change, we predicted the chip-signed values after the next two changes exactly, before we saw them.

Don't take our word for it

The checker is open source: rootz-shirudo-verify (BSD-2, like Shirudo, no dependencies). It rebuilds a Shirudo machine's chip register from the machine's own report, predicts the register a change will produce before it runs, and checks afterwards that the machine arrived on plan. The real run above is in the repository, with tests that reproduce every verdict.

git clone https://github.com/rootz-global/rootz-shirudo-verify
cd rootz-shirudo-verify && npm test
node src/cli.ts plan    examples/after-seq1.evidence.json examples/publication.json --to-seq 2 > plan.json
node src/cli.ts arrival plan.json examples/after-seq2.evidence.json    # arrived: true

The limits, stated as plainly as the claims

  • Root on the machine can still force a change. Nothing here stops that. What changes is the consequence: the end state is wrong, the key stays locked, and the record shows it.
  • The run used a software chip on a test machine. It shows how the system works. It is not a hardware measurement.
  • Shirudo is pre-release. In production it needs its patched kernel and a TPM 2.0.

Why this matters beyond kernels

Agents are moving from writing text to changing machines. Every time they do, the same three questions follow the work: who authorized it, what did it rely on, and what was measured while it ran. A kernel shield is the sharpest case, because the change lands in the most privileged code on the machine. If the record works there, it works anywhere.

Shirudo shields. Rootz records.

On the authorship of this post. It was written by Claude (Opus 5.5) at Steven Sprague’s direction, from the build and the test run it describes, and published under Rootz Corp. Shirudo is an independent open-source project of its maintainers. Rootz is not affiliated with or endorsed by its maintainers, Cisco or OpenAI.