Read 2026-10-28
fluent/fluent-bit: technical due diligence, read from its repository
What Borehole read in fluent/fluent-bit's code and history at f68b7b1: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
GOVERNANCE.md:3: names CNCF
Architecture & Codebase — including AI provenance
adequatelib/onigmo/enc/unicode/name2ctype.h is 45,682 lines, 343× this codebase's median file
adequateThe median source file here is 133 lines. 318 files exceed 1,330 lines, the largest being 45,682. 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.
lib/onigmo/enc/unicode/name2ctype.h:1 — 45,682 lines (343× median) |
lib/wasm-micro-runtime-WAMR-2.4.1/core/iwasm/interpreter/wasm_loader.c:1 — 16,845 lines (126× median) |
lib/nghttp2-1.65.0/third-party/mruby/mrbgems/mruby-compiler/core/y.tab.c:1 — 14,436 lines (108× median) |
lib/sqlite-amalgamation-3510100/sqlite3.h:1 — 13,969 lines (105× median) |
lib/librdkafka-2.15.0/src/rdkafka.h:1 — 11,796 lines (88× median) |
1 base image floats: no version, or `latest`
adequate1 of 70 `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.
dockerfiles/Dockerfile:187 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequateRuby 3.2 is past end of life
adequateThe code is pinned to Ruby 3.2 (end of life 2026-03-31). None of these receives security fixes any more; the first stopped on 2026-03-31. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
lib/nghttp2-1.65.0/third-party/mruby/Dockerfile — Ruby 3.2, end of life 2026-03-31 |
16% of bug fixes add or change a test
adequateOf 392 fixes in the last 24 months, 62 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 62 of 392 |
Security & Reliability Posture
adequate11 Dockerfiles run 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.
dockerfiles/Dockerfile — runs as root |
lib/nghttp2-1.65.0/third-party/mruby/Dockerfile — runs as root |
lib/wasm-micro-runtime-WAMR-2.4.1/product-mini/platforms/zephyr/simple/Dockerfile — runs as root |
lib/zstd-1.5.7/contrib/docker/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate21 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/call-build-images.yaml:444 — action pinned by tag |
.github/workflows/call-build-images.yaml:561 — action pinned by tag |
packaging/test-release-packages.sh:15 — download piped into a shell |
2 shell commands built from strings
adequate2 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.
lib/librdkafka-2.15.0/packaging/nuget/release.py:164 — command run through a shell |
lib/nghttp2-1.65.0/third-party/mruby/lib/mruby/gem.rb:168 — command run through a shell |
1 deserialiser that can run code
adequate1 places read data with a deserialiser that executes what it reads (Ruby `Marshal.load`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
lib/nghttp2-1.65.0/third-party/mruby/lib/mruby/build.rb:552 — code-executing deserialiser |
2 locked dependencies have published vulnerabilities, 1 high or critical
adequate2 of 11 locked dependencies match 5 published advisories in OSV, 1 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
lib/nghttp2-1.65.0/third-party/mruby/Gemfile.lock — webrick 1.7.0: GHSA-6f62-3596-g6w7 (high), fixed in 1.8.2 |
lib/nghttp2-1.65.0/third-party/mruby/Gemfile.lock — yard 0.9.28: GHSA-3jfp-46x4-xgfj (moderate), fixed in 0.9.42 |
8 advisories against this project in the last 24 months, 6 high or critical
adequateThe newest was published on 2026-09-08. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. The record is incomplete: NVD: 1 record names fluent-bit with nothing tying it to this repository (CVE-2025-12978).
| 2026-09-08: GHSA-jrp8-r9hx-gf73 (critical): Remote stack buffer overflow in Fluent Bit `out_forward` Secure-Forward `PONG` handler |
| 2025-11-24: CVE-2025-12969 (moderate): Fluent Bit in_forward input plugin does not properly enforce the security.users authentication mechanism under certain configuration conditions. This allows rem |
| 2025-11-24: CVE-2025-12970 (high): The extract_name function in Fluent Bit in_docker input plugin copies container names into a fixed size stack buffer without validating length. An attacker who |
| 2025-11-24: CVE-2025-12972 (moderate): Fluent Bit out_file plugin does not properly sanitize tag values when deriving output file names. When the File option is omitted, the plugin uses untrusted tag |
| 2025-11-24: CVE-2025-12977 (critical): Fluent Bit in_http, in_splunk, and in_elasticsearch input plugins fail to sanitize tag_key inputs. An attacker with network access or the ability to write recor |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| C source is not searched: C programs log through printf-style calls unless they take a library, and none of the 10 searched for is referenced |
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 |
3 of 5 deployed images carry no version, or `latest`
adequate3 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
docker_compose/node-exporter-dashboard/docker-compose.yml:5 — image without a version |
docker_compose/node-exporter-dashboard/docker-compose.yml:16 — image without a version |
docker_compose/node-exporter-dashboard/docker-compose.yml:30 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on fluent/fluent-bit: 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.