Borehole · Project · free tier
fluent/fluent-bit
Free reading: not for reliance
f68b7b1 · 14,724 commits · 12,488 files
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.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • GOVERNANCE.md:3: names CNCF

Architecture & Codebase — including AI provenance

adequate
01.6

lib/onigmo/enc/unicode/name2ctype.h is 45,682 lines, 343× this codebase's median file

adequate

The 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.

01.25

1 base image floats: no version, or `latest`

adequate

1 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.

Evidence
dockerfiles/Dockerfile:187 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.17

Ruby 3.2 is past end of life

adequate

The 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.

Evidence
lib/nghttp2-1.65.0/third-party/mruby/Dockerfile — Ruby 3.2, end of life 2026-03-31
04.19

16% of bug fixes add or change a test

adequate

Of 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.

Evidence
62 of 392

Security & Reliability Posture

adequate
05.6

11 Dockerfiles run the application as root

adequate

No 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.

05.27

The build runs third-party code it does not pin

adequate

21 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.

Evidence
.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
05.21

2 shell commands built from strings

adequate

2 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.

Evidence
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
05.22

1 deserialiser that can run code

adequate

1 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.

Evidence
lib/nghttp2-1.65.0/third-party/mruby/lib/mruby/build.rb:552 — code-executing deserialiser
05.26

2 locked dependencies have published vulnerabilities, 1 high or critical

adequate

2 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.

Evidence
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
05.65

8 advisories against this project in the last 24 months, 6 high or critical

adequate

The 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).

Evidence
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

adequate
06.2

No structured logging library is in use

adequate

Nothing 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.

Evidence
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
06.8

One request cannot be followed through the logs

adequate

Nothing 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.

Evidence
no request id, correlation id or tracing found
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised
06.18

3 of 5 deployed images carry no version, or `latest`

adequate

3 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.

Fit with the Acquirer

not assessable

Not 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.