It is 3 A.M. A serious security bug has just been made public in a library your servers use. There is no fixed version yet, or there is one but it will take days to test and roll out.

Most teams then have two bad choices:

  1. Turn the service off. You are safe, but your customers are down.
  2. Keep it running and hope. You wait for the fix, build new images, and restart everything. That can take days or weeks, and you are open to attack the whole time.

That gap is getting more dangerous. Cisco’s announcement points out that a growing number of bugs are now exploited before they are even made public.

On November 23, 2026, Cisco and OpenAI released Shirudo (said shee-roo-doh, Japanese for “shield”). It offers a third choice: put a small, signed shield in front of the bug while the service keeps running, and remove it once the real fix is installed.

This post explains what Shirudo is, how it works, what its first public test really did, and where its limits are.


01 / First, What Is eBPF?

Shirudo is built on eBPF, so it helps to know what that is.

The kernel is the core of Linux. It controls processes, memory, files and the network. Changing how the kernel behaves used to be slow or risky:

  • Change the kernel itself. Your change has to be accepted, released and then shipped by your Linux distribution. That takes months or years.
  • Load a kernel module. This is fast, but one bug in the module can crash the whole machine.

eBPF solves this. It lets you load small programs into the running kernel, without changing the kernel code and without a reboot. A good comparison: eBPF does for the kernel what JavaScript did for web browsers. You can add new behavior while it keeps running.

Why eBPF is safe enough to trust

Before any eBPF program runs, the kernel checks it with a part called the verifier. The verifier refuses the program if:

  1. It might never finish, for example a loop with no clear end.
  2. It might touch memory it should not, for example reading past the end of a buffer.

eBPF programs can also only attach at fixed points that the kernel allows, such as system calls, network events, and named functions in the kernel or in an application.

If the program passes, the kernel turns it into fast machine code and runs it.

Kernel module:   your code ──────────────────────► runs in kernel
                 (a bug here can crash the machine)

eBPF program:    your code ──► verifier checks it ──► runs in kernel
                               (unsafe code is refused)

02 / So What Is Shirudo?

⚡ In one sentence

Shirudo is an open-source tool that lets security teams and AI agents ship small, signed fixes, called upatches or shields, to running Linux machines, so an attack is blocked until the real patch is installed.

There are two kinds of upatch:

  • BPF upatch: an eBPF program that loads into the running kernel. No reboot needed.
  • Java upatch: a small add-on for Java programs (a “Java agent”) that adds a guard inside the Java runtime.

A few facts about the project:

  • Who built it: Cisco’s Isovalent team (the people behind Cilium and Tetragon) and OpenAI.
  • Code: public at github.com/shirudo-dev/shirudo, under the BSD 2-Clause license. The eBPF programs are dual-licensed BSD and GPL.
  • Hardware: it is tested most on x86-64, also runs on arm64, and has riscv64 support that has not yet run on a real riscv64 machine.

03 / Why Not Just Use Tetragon?

Isovalent already had a tool called Tetragon, open-sourced in 2022. It uses eBPF to watch and block bad behavior on Linux. Cisco calls Shirudo “a rewrite of Tetragon designed for agents.”

The reason is who writes the rules.

Tetragon: rules written by people

In Tetragon, a person writes a rule in YAML. This one kills any process that tries to start a shell:

apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
  name: "block-shell-exec"
spec:
  kprobes:
    - call: "sys_execve"
      syscall: true
      args:
        - index: 0
          type: "string"
      selectors:
        - matchArgs:
            - index: 0
              operator: "Prefix"
              values: ["/bin/sh", "/bin/bash"]
          matchActions:
            - action: Sigkill

That works well for people. But you can only do what the YAML format allows. When a rule matches, Tetragon picks from a fixed list of actions, such as Sigkill (kill the process), Signal, or Override (change what a function returns).

Shirudo: fixes written as code

Cisco’s main point is that AI agents are very good at writing and reading code. If you make them use a rule format designed for people, you limit them. So in Shirudo, a shield is code: an eBPF program or a Java agent. That code can block one dangerous path, check input, or swap out broken code, while the program keeps running.

TetragonShirudo
Who writes the rulesPeopleAI agents and people
Rule formatYAML rulesCode (eBPF programs, Java agents)
What runs on each machineA program that runs all the timeShort commands, run by hand or on a timer. Nothing runs all the time, and no network port is open
What it can doPick from a fixed list (kill, signal, override)Whatever the shield’s code does

One catch: on a Shirudo machine, only signed eBPF programs can load. Shirudo’s FAQ says other eBPF tools, such as Cilium, Falco and bpftrace, do not work there as they are. Their logic has to be turned into signed shields first.


04 / How Shirudo Works

There are two sides:

  • Operator: the machine where you build and sign shields.
  • Target: the machine you want to protect.

Cisco describes the AI-driven loop in four steps. Here they are, with what Shirudo does at each one:

1. FIND        The AI agent finds a bug, or reads a new bug report.
                 │
                 ▼
2. BUILD       The agent writes an exploit to prove the bug is real,
               picks where to block it (kernel or Java), writes the shield,
               and tests that the shield stops the exploit. It repeats
               until a shield works.
                 │
                 ▼
3. SHIP        The shield is signed with the operator's key, packed into
               a .bee file, and uploaded to a container registry.
               Each target downloads it and checks the signature
               before loading it.
                 │
                 ▼
4. WATCH       A "hit" count shows how often attackers tried to use the
               blocked bug.

Signing: the key decides what loads

Every shield must be signed with the operator’s secret key. A target refuses anything that is not signed with a trusted key. Shirudo only accepts keys of one type, a newer kind of key designed to stay safe even against future quantum computers.

For eBPF shields, the kernel itself checks the signature. Then the normal eBPF verifier checks the program, as for any eBPF program. For Java shields, Shirudo checks the signature before handing the shield to Java.

Packaging: just like container images

Shields are packed into .bee files and stored in a normal container registry (the same kind of registry that stores Docker images). Targets download them from there. Nothing on the target waits for incoming connections.

A tamper-proof record

Every target needs a TPM 2.0, a small security chip that many servers have. Each time a shield is loaded or removed, Shirudo records it in the TPM. Later, the operator can ask the machine for a report, signed by the TPM, that lists exactly which shields were loaded. You can check that report on another computer.

What the commands look like

These are from Shirudo’s own docs:

# On the operator: build and sign a shield, then package and upload it
shirudo build fix.bpf.c --keys-dir ~/shirudo-keys --vmlinux <vmlinux-h>
shirudo bpm build upatches/kernel-obs --version 1.0.0 --keys-dir ~/shirudo-keys
shirudo bpm push ./kernel-obs-1.0.0.bee oci://quay.io/example/kernel-obs --keys-dir ~/shirudo-keys

# On the target: load a shield and check the machine's state
shirudo upatch load --report=- fix.upatch
shirudo status

Does a person approve each shield?

That is up to you. Cisco says the rollout step “can be designed to be more or less autonomous.” Shirudo itself only enforces the signature. If you want a person to review every shield, put that review before signing.


05 / The Real Test: Java4Shell on a Live Elasticsearch Server

To show Shirudo working, the team used OpenAI’s Codex as the AI agent and pointed it at Java4Shell (CVE-2026-114938). This is a recent bug in the part of Java that decodes Base64 text. Security news reports say it can let an attacker run code on servers without logging in, in products such as Jira, Jenkins and Keycloak.

Base64 decoding is everywhere in Java apps: login headers, tokens, request data. So any app that decodes Base64 from users was at risk.

What the shield actually was

Many summaries get this wrong: the Java4Shell shield was not an eBPF program. eBPF is a poor fit for a bug inside Java code. So the agent chose to fix it inside Java, and wrote the shield as Java bytecode (compiled Java code).

What happened, step by step:

  1. Codex wrote the shield. It adds a check on the Base64 input that blocks the bad input the attack needs.
  2. The shield was attached to a running server. The team ran Elasticsearch 9.5.5. The shield attached to it while it was running. The log said: Base64 guard installed on java.util.Base64$Decoder.decode0.
  3. The attack failed. The next log line said: Base64 guard rejected candidate: length=65, padding=1, remainder=1, alphabet=standard.
Attack (bad Base64)          Normal requests
        │                          │
        ▼                          ▼
  [ Shield: checks Base64 input before Java decodes it ]
        │                          │
     Rejected                   Allowed
     and logged                    │
                                   ▼
                      [ Elasticsearch keeps running ]

Elasticsearch kept running, with no restart. Cisco says the same shield works for any Java app on OpenJDK, until Java itself is patched.

One thing to know before you plan around this

The demo attached the shield to a server that was already running. But in the released version of Shirudo, Java shields are added to the settings Java reads when it starts. The docs say a Java program that is already running keeps its old setup until it restarts. So in practice, a Java shield takes effect at the next restart. eBPF shields are different: they load into the running kernel with no reboot.


06 / Can You Trust AI-Written Code in Your Kernel?

This is the first question most engineers ask. Shirudo answers it with several layers, and each one has a clear limit.

1. The signature decides what runs. Only shields signed with the operator’s key can load. Even the root user on the target cannot load unsigned eBPF programs or turn Shirudo off without that key. Whoever holds the key holds the power, so protect it.

2. The kernel verifier checks eBPF shields. The verifier does not care whether a person or an AI wrote the code. Unsafe code is refused. But this only covers eBPF shields. Shirudo’s docs say a Java shield is “a mitigation inside the application, not a boundary the kernel enforces.”

3. The TPM keeps an honest record. Every load and removal is recorded in the security chip. You can prove to an auditor which signed shields were active.

The limit: Shirudo’s FAQ is honest about this. If an attacker gets into the kernel itself, for example with a kernel bug, they can get around every check made inside that kernel. Shirudo is strong against a normal root user. It cannot protect you from a kernel that is already compromised.


07 / Limits: Read This Before You Install It

1. It is not ready for production. The FAQ asks “Is shirudo ready for production?” and answers “Not yet.” There are no stable releases yet. Use it in a lab or test setup.

2. It needs a special kernel and a TPM. Shirudo needs a very new, development version of the Linux kernel with extra changes added by the Shirudo team. It does not work on older kernels, and there is no fallback. Every machine also needs a TPM 2.0 chip.

3. It changes what else can run. As covered above, tools like Cilium, Falco and bpftrace will not run on a Shirudo machine as they are. Think about this carefully if your Kubernetes nodes use Cilium for networking.

4. A shield is a bandage, not a cure.

⚠ Remember this

A Shirudo shield is a temporary bandage, not a permanent fix.

The FAQ says the same: a shield covers the time until the machine runs the fixed version. You still need to install the real patch through your normal process, then remove the shield. If shields pile up and stay forever, you end up with a layer of hidden fixes that nobody understands.


08 / What I Would Do Today

  1. If you are new to eBPF: try Tetragon or Cilium on a test cluster first. Learn how eBPF programs attach to the kernel and what they can see.
  2. If you work in security: try Shirudo’s VM quickstart. It uses a software TPM, so you do not need special hardware. Then read its security model and threat model to see exactly where each protection stops.
  3. Measure your patch time: how long does it take from a bug being announced until the fix runs on all your servers? If the answer is weeks, a shield-style tool belongs on your roadmap, even if it is not Shirudo yet.

Sources