shirudo is a pre-release, eBPF-based security platform for Linux, written in C and released under the BSD-2-Clause licence, for operators who need to ship signed kernel and application micropatches to production machines and then prove, with TPM-signed evidence, exactly what each target is running.
What it is
shirudo lives in the Linux kernel and BPF ecosystem, and it takes its name from the Japanese シールド ("shield", pronounced "shee-roo-doh"). After boot-time initialization, the platform restricts BPF program loads from userspace to signed loaders, so the only BPF code that reaches the kernel is code the operator has signed. The unit of delivery is the upatch: a signed micropatch that is deliberately small and logically contained, written so that engineers and agents can read, generate and maintain it. Commands in the toolchain take and produce structured data, which is what makes that generation and maintenance tractable.
The problem it solves is the trust gap that opens once a Linux machine is running. Ordinarily, BPF program loads are available to any sufficiently privileged process, so root on the target — or anything that reaches root — can load programs, and the operator has no reliable way to establish what a given machine is actually executing. shirudo replaces that arrangement with a verified path: upatch loads and unloads go through loaders that the kernel verifies against the sealed .bpf keyring, and on production targets enforcement begins when shirudo init attaches its guards from the initrd, protecting shirudo's runtime and state from root on the target without the operator's signing key. Changes to the loaded upatch set extend a per-boot TPM register, and shirudo attest returns evidence that operators can verify offline.
Key capabilities
- Boot-time enforcement, where
shirudo init attaches guards from the initrd so that enforcement is in place before the rest of userspace starts.
- Signed and sealed BPF, with upatch loads and unloads passing only through loaders the kernel verifies against the sealed
.bpf keyring.
- Signed Java agents, verified in userspace, with configured JVMs loading those agents at startup.
- TPM measurement of the loaded upatch set, extending a per-boot register that
shirudo attest turns into offline-verifiable evidence.
- The included
kernel-obs package for runtime security and observability of process executions, network activity and privilege changes.
- Pull-based delivery, in which targets use one-shot commands to pull packages from OCI registries and export telemetry to configured OpenTelemetry collectors.
- A documented threat model that states where each of these mechanisms stops.
Who uses it and how
- Security and platform teams using the
kernel-obs package to observe process executions, network activity and privilege changes on Linux hosts.
- Incident responders and kernel engineers writing live mitigations that block vulnerable paths at kernel hooks, or Java upatches that guard application code.
- Teams hardening multi-tenant environments, enforcing policies for containers, Kubernetes Pods and LLM agents through BPF upatches.
- Operators of embedded and edge devices with long update cycles, who need a way to deliver signed mitigations to machines they cannot frequently rebuild.
- Organisations that separate the operator role from the target role: the operator host builds, signs and pushes to an OCI registry, while targets pull and attest, and the two sides may run different architectures.
Getting started
The documented entry point is the quickstart, which runs shirudo in a local VM using a software TPM, with the full documentation at docs.shirudo.dev. Production targets require a Linux kernel carrying the signed-loader ABI and shirudo's kernel patches, plus a TPM 2.0, as set out in the system requirements.
How it compares
The supplied facts name no paid products that shirudo replaces and no comparable tools in this registry, so there is no basis here for a feature-by-feature contrast. It therefore stands alone in this registry as the only BPF security platform built around signed loaders, signed micropatches and TPM-backed attestation.
When to use it — and when not to
shirudo is a reasonable fit for teams that control their kernel builds and can supply TPM 2.0 hardware, because those are hard requirements rather than optional hardening. It is explicitly pre-release, so anyone needing a stable, generally available platform should not adopt it yet, and riscv64 target validation is still pending even though CI runs all test tiers on x86-64 and host tests on arm64. The kernel patches and TPM dependency are the real operational cost, and they will rule the project out for fleets of unmodified distribution kernels.
project readme (upstream, from github) — read inline

shirudo is a BPF-based security platform for Linux. After boot-time
initialization, it restricts BPF program loads from userspace to signed
loaders. Operators ship signed micropatches, called
upatches,
and verify a target's measured upatch state with TPM-signed evidence.
shirudo (Japanese シールド, pronounced “shee-roo-doh”) means “shield”.
Read the announcements of shirudo on the blogs of
OpenAI and
Cisco.
Quickstart
shirudo is pre-release. Production targets require a Linux kernel with
the signed-loader ABI and shirudo's kernel patches, plus a TPM 2.0. See the
system requirements.
CI runs all test tiers on x86-64 and host tests on arm64. The test VM
also boots locally on arm64. Target validation for riscv64 is pending.
The operator and target may use different architectures. See
architecture support.
Use cases
- Runtime security and observability. Observe process executions,
network activity, and privilege changes with the included
kernel-obs package.
- Live mitigations. Use BPF upatches to block vulnerable paths at kernel
hooks or Java upatches to guard application code.
- System hardening. Use BPF upatches to enforce policies for
containers, Kubernetes Pods, and LLM agents.
- Embedded and edge devices. Deliver signed mitigations to devices
with long update cycles.
Properties
- Boot-time enforcement. On production targets, enforcement starts
when
shirudo init attaches its guards from the initrd. The guards
protect shirudo's runtime and state from root on the target without
the operator's signing key.
- Signed and sealed BPF. BPF upatch loads and unloads go through
loaders that the kernel verifies against the sealed
.bpf keyring.
- Signed Java agents. shirudo verifies Java upatches in userspace.
Configured JVMs load the agents at startup. See
Java agent upatches.
- TPM measurement. Changes to the loaded upatch set extend a
per-boot TPM register.
shirudo attest returns evidence that
operators can verify offline.
- Upatches are small logically contained programs that engineers and
agents can read, generate and maintain. Commands take and produce
structured data.
- Pull-based delivery. Targets use one-shot commands to pull packages
from OCI registries and export telemetry to configured OpenTelemetry
collectors.
The threat model
states where each of these mechanisms stops.
How it works

BPF upatch lifecycle, from signing through offline verification.
Follow the numbered steps.
By role
Specifications
- Beefile:
the Beefile that describes a package
- .upatch format:
the little-endian container with an architecture-neutral signature
- upatch tree:
the operations, segments and publication document of a upatch tree
- Keepalive:
the record a target sends its collector, its
body
and its TPM quote
Releases
main is the
development branch. Development packages are available as run artifacts
from the Build packages
workflow. Release tags publish their packages on
GitHub Releases.
For upgrades of shirudo and the kernel on a target, consult
Upgrade shirudo and the kernel.
Software Bill of Materials
Every package comes with a Software Bill of Materials (SBOM) in
SPDX format.
Project status


License
shirudo is licensed under the BSD-2-Clause License. BPF
programs are dual-licensed BSD/GPL. Each source file holds an SPDX
license identifier. The tree vendors a few source files from
third-party projects under different but compatible licenses; those
files retain their original SPDX identifier and copyright notices.