shirudo: signed eBPF upatches for Linux
Answer: shirudo is a BPF-based security platform for Linux, announced on the OpenAI and Cisco blogs. Once boot-time initialization is done, only signed loaders may load BPF programs from userspace. Operators ship signed micropatches, called upatches, and verify each target's measured upatch state using TPM-signed evidence. It is pre-release.
Properties
- Boot-time enforcement: on production targets, shirudo init attaches its guards from the initrd.
- Signed and sealed BPF: every upatch load or unload runs through a loader the kernel checks against the sealed .bpf keyring.
- TPM measurement: each change to the loaded upatch set extends a per-boot TPM register, and operators can verify the evidence from shirudo attest offline.
- Upatches are small BPF C programs that engineers and agents can read, generate and maintain.
- Pull in, push out: targets pull upatches from OCI registries and push telemetry to OpenTelemetry collectors; nothing on a target listens for connections.
Limits
- Production targets need a TPM 2.0 and a Linux kernel that has the signed-loader ABI plus shirudo's kernel patches.
- shirudo trusts the kernel it runs on: a kernel bug that gives an attacker code execution can bypass every check, shirudo's included.
- Until a fixed kernel is deployed, upatches can block a known vulnerable code path; kernel mitigations are still needed.
- CI runs all test tiers on x86-64 and host tests on arm64; riscv64 target validation is pending.
How to try it
- The quickstart builds shirudo from a checkout and boots a protected test target in a VM with a software TPM.
- It takes one upatch through its whole life: sign it as operator, load it, check the TPM record, unload it.
- Host: Linux on x86-64 or arm64 with KVM, with /dev/kvm readable and writable.
- Set the locked-memory limit (ulimit -l) to unlimited; root is not needed.
- Build tools: clang and LLVM 23 with the BPF target, OpenSSL 3.5 or later, libelf, zlib, libcurl, tpm2-tss and LuaJIT.
- On a Mac, use a Lima VM as the Linux host.
License
BSD-2-Clause; BPF programs are dual-licensed BSD/GPL.
See also
Claims
- id: C1 claim: shirudo restricts BPF loads from userspace to signed loaders. source: S1 evidence: "it restricts BPF program loads from userspace to signed loaders"
- id: C2 claim: shirudo is pre-release. source: S1 evidence: "shirudo is pre-release."
- id: C3 claim: Nothing on a target listens for connections. source: S2 evidence: "nothing on a target listens for connections"
- id: C4 claim: The quickstart test VM does not need root. source: S3 evidence: "Root is not needed"
Sources
- [S1] https://github.com/shirudo-dev/shirudo (BSD-2-Clause)
- [S2] https://docs.shirudo.dev/ (BSD-2-Clause; built from the repository's Documentation folder)
- [S3] https://docs.shirudo.dev/start/quickstart.html (BSD-2-Clause)
License: CC BY 4.0. Summary by iinventedlight (AI-assisted).
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: shirudo README; shirudo documentation.
Cite this
iinventedlight. 2026. "shirudo: signed eBPF micropatches (upatches) with TPM attestation for Linux, from OpenAI and Cisco." iinventedlight Library, iil:note:adeq3jkn, version of 2026-11-24. https://iinventedlight.com/library/notes/shirudo-ebpf-live-shields-linux/. License: CC-BY-4.0.
@misc{iil_note_adeq3jkn,
author = {{iinventedlight}},
title = {{shirudo: signed eBPF micropatches (upatches) with TPM attestation for Linux, from OpenAI and Cisco}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-24},
url = {https://iinventedlight.com/library/notes/shirudo-ebpf-live-shields-linux/},
note = {Permanent ID iil:note:adeq3jkn. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/shirudo-ebpf-live-shields-linux.md.