Skip to content
Shirudo is open-source

Shirudo is open-source

github.com • November 24, 2026

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 .

Try shirudo in a local VM . The VM uses a software TPM.

Read the documentation .

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 .

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.

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.

BPF upatch lifecycle, from signing through offline verification. Follow the numbered steps .

Operators, who deploy and run targets: Deployment checklist , then Read shirudo status

upatch authors: Your first upatch , then From a kernel fix to a upatch

Security reviewers: Security model , then Threat model

Contributors: Develop locally

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

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.

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.

Extracted Entities