Read 2026-11-03
cilium/pwru: technical due diligence, read from its repository
What Borehole read in cilium/pwru's code and history at 8f6c94a: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: GPL-2.0 → Apache-2.0 (2023-07-06).github/pull_request_template.md:14: states a policy on AI-generated contributionsCONTRIBUTING.md:3: names CNCF
Architecture & Codebase — including AI provenance
adequatelibpcap/gencode.c is 10,406 lines, 83× this codebase's median file
adequateThe median source file here is 124 lines. 20 files exceed 1,240 lines, the largest being 10,406. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
libpcap/gencode.c:1 — 10,406 lines (83× median) |
libpcap/pcap-linux.c:1 — 6,200 lines (50× median) |
libpcap/pcap.c:1 — 4,641 lines (37× median) |
libpcap/pcap-bpf.c:1 — 3,702 lines (29× median) |
libpcap/pcap-rpcap.c:1 — 3,632 lines (29× median) |
1 base image floats: no version, or `latest`
adequate1 of 2 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.
Dockerfile:15 — base image without a version |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate11 test files against 228 source files (4.8%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 11 test files / 228 source files |
Product & Engineering Maturity
adequate439 unresolved debt markers, 3.9 per thousand lines
adequateThe codebase carries 439 TODO, FIXME, HACK or XXX markers across 112,527 lines. These are the team's own notes about work they knew was unfinished. A high density is not automatically bad — it can mean an honest team — but every one of them is a decision deferred, and after an acquisition they are deferred onto someone who was not in the room.
.github/pull_request_template.md:7 — description and a `Fixes: #XXX` line if the commit addresses a particular |
bpf/kprobe_pwru.c:410 — tpl->l4_proto = BPF_CORE_READ(ip6, nexthdr); // TODO: ipv6 l4 protocol |
libpcap/CMakeLists.txt:181 — # package for it to find. XXX - what do we do here? |
libpcap/CMakeLists.txt:203 — # package for it to find. XXX - what do we do here? |
libpcap/CMakeLists.txt:407 — # XXX - this just tests whether the option works, fails if it doesn't, |
16 files still carry code deprecated more than two years ago
adequate16 files were marked deprecated over two years ago and still are, the oldest since Oct 2021. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
vendor/github.com/cilium/ebpf/prog.go — deprecated since Oct 2021 |
vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go — deprecated since Oct 2021 |
vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go — deprecated since Oct 2021 |
vendor/github.com/cilium/ebpf/asm/instruction.go — deprecated since May 2022 |
vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go — deprecated since Sep 2022 |
Security & Reliability Posture
adequate1 Dockerfile runs the application as root
adequateNo USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.
Dockerfile — runs as root |
6 workload settings give a container the host
adequate6 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.
actions/pwru-run/action.yaml:44 — privileged or host namespace |
actions/pwru-run/action.yaml:59 — privileged or host namespace |
actions/pwru-run/action.yaml:60 — privileged or host namespace |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 292 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 292 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on cilium/pwru: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.