Read 2026-10-23
superstreamlabs/memphis: technical due diligence, read from its repository
What Borehole read in superstreamlabs/memphis's code and history at 0f97a13: 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 | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE:1: The licence is BUSL-1.1: source available, not open sourceLICENSE: Relicensed: Apache-2.0 → GPL-3.0 (2022-06-06) → MIT (2022-08-21) → Apache-2.0 (2022-10-24) → BUSL-1.1 (2022-11-12)
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate39% of commit subjects are exact repeats of another subject, and subject length varies by only 16.6 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 178× 'Update README.md' |
| 133× 'Update Jenkinsfile' |
| 108× 'build' |
server/filestore.go is 9,045 lines, 62× this codebase's median file
adequateThe median source file here is 144 lines. 27 files exceed 1,440 lines, the largest being 9,045. 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.
server/filestore.go:1 — 9,045 lines (62× median) |
server/jetstream_cluster.go:1 — 8,672 lines (60× median) |
db/db.go:1 — 8,462 lines (58× median) |
server/client.go:1 — 5,835 lines (40× median) |
server/stream.go:1 — 5,764 lines (40× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.44 to 18.10 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.44, second half 18.10 (split 2024-02-16) |
Go 1.20 is past end of life
adequateThe code is pinned to Go 1.20 (end of life 2024-02-06). None of these receives security fixes any more; the first stopped on 2024-02-06. 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.
Dockerfile — Go 1.20, end of life 2024-02-06 |
Security & Reliability Posture
adequate3 credential-shaped strings committed to the tree
adequateMatches for JWT appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.
| 3 cited: JWT pattern matched |
1 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 |
The build runs third-party code it does not pin
adequate5 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. 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/push_to_registry.yml:18 — action pinned by tag |
.github/workflows/push_to_registry.yml:20 — action pinned by tag |
3 outbound calls can wait forever
adequate3 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
server/memphis_cloud.go:280 — outbound call without a timeout |
server/memphis_cloud.go:496 — outbound call without a timeout |
server/memphis_helper.go:1976 — outbound call without a timeout |
50 locked dependencies have published vulnerabilities, 60 high or critical in what ships
adequate50 of 1,214 locked dependencies match 127 published advisories in OSV, 69 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.
The licence is BUSL-1.1: source available, not open source
adequateLICENSE grants BUSL-1.1: source available, not open source; production use restricted until the change date. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE:1 — 57 lines, BUSL-1.1 |
Relicensed: Apache-2.0 → GPL-3.0 (2022-06-06) → MIT (2022-08-21) → Apache-2.0 (2022-10-24) → BUSL-1.1 (2022-11-12)
adequateThe root licence changed 4 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.
Observability & Operations
strongNo finding.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on superstreamlabs/memphis: 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.