Borehole · Project · free tier
apache/pulsar
Free reading: not for reliance
4fc01a6 · 15,221 commits · 6,338 files
Read 2026-11-07

apache/pulsar: technical due diligence, read from its repository

What Borehole read in apache/pulsar's code and history at 4fc01a6: 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 Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • AGENTS.md:28: states a policy on AI-generated contributions
  • CONTRIBUTING.md:3: names Apache Software Foundation

Architecture & Codebase — including AI provenance

adequate
01.6

pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java is 6,083 lines, 55× this codebase's median file

adequate

The median source file here is 110 lines. 61 files exceed 1,100 lines, the largest being 6,083. 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 6 `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
docker/pulsar/Dockerfile:148 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

93 files still carry code deprecated more than two years ago

adequate

93 files were marked deprecated over two years ago and still are, the oldest since Oct 2017. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v5.0.1, is not on the branch this survey read; the newest release on it is v1.18. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v5.0.1

Security & Reliability Posture

adequate
05.1

2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
2 cited: JWT, where fakes are usual
05.27

The build runs third-party code it does not pin

adequate

2 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/ci-go-functions.yaml:53 — action pinned by tag
.github/workflows/pulsar-ci.yaml:123 — action pinned by tag
.github/workflows/ci-go-functions.yaml:96 — download piped into a shell
05.21

3 shell commands built from strings

adequate

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

05.22

1 deserialiser that can run code

adequate

1 places read data with a deserialiser that executes what it reads (Java object streams). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

05.26

4 locked dependencies have published vulnerabilities, 4 high or critical

adequate

4 of 313 locked dependencies match 8 published advisories in OSV, 4 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
pulsar-function-go/go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6
gradle/libs.versions.toml — com.google.guava:guava 33.7.1-jre: GHSA-xxph-c9ww-hj94 (high), fixed in 33.7.2
gradle/libs.versions.toml — org.xerial.snappy:snappy-java 1.1.10.8: GHSA-gwq9-9ffj-mvrv (high), fixed in 1.1.10.9
05.65

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

adequate

The newest was published on 2026-10-21. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 16 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.18.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 3 records name pulsar with nothing tying them to this repository (CVE-2024-31084, CVE-2026-111868, CVE-2026-41732).

Evidence
2026-10-21: CVE-2026-105869 (critical): Apache Pulsar's MultiRolesTokenAuthorizationProvider authorizes a client with all roles listed in a claim of its JSON Web Token (JWT). The provider is intended
2026-10-21: CVE-2026-105926 (moderate): The Pulsar broker serves two schema commands on its binary protocol: GetSchema, which returns the schema registered for a topic, and GetOrCreateSchema, which re
2026-10-21: CVE-2026-105927 (low): The Apache Pulsar WebSocket service allows a WebSocket consumer to configure a dead letter policy through query parameters of the consumer endpoint, including t
2026-10-21: CVE-2026-105930 (moderate): When package management is enabled, Pulsar Functions, Sources and Sinks can be registered or updated from a package stored in the Pulsar Packages Management Ser
2026-10-21: CVE-2026-105931 (low): The Apache Pulsar broker exposes a transaction administration REST API under /admin/v3/transactions. When authentication and authorization are enabled, most of

Observability & Operations

strong
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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on apache/pulsar: 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.