Borehole · Project · free tier
superstreamlabs/memphis
Free reading: not for reliance
0f97a13 · 4,809 commits · 1,630 files
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.

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

What the repository says

  • LICENSE:1: The licence is BUSL-1.1: source available, not open source
  • LICENSE: 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

strong
01.3

Commit messages are templated rather than written

adequate

39% 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.

Evidence
178× 'Update README.md'
133× 'Update Jenkinsfile'
108× 'build'
01.6

server/filestore.go is 9,045 lines, 62× this codebase's median file

adequate

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

Evidence
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

strong

No finding.

Product & Engineering Maturity

strong
04.5

Effort is shifting from building to rewriting

adequate

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

Evidence
first half 0.44, second half 18.10 (split 2024-02-16)
04.17

Go 1.20 is past end of life

adequate

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

Evidence
Dockerfile — Go 1.20, end of life 2024-02-06

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings committed to the tree

adequate

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

Evidence
3 cited: JWT pattern matched
05.6

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

Evidence
Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/push_to_registry.yml:18 — action pinned by tag
.github/workflows/push_to_registry.yml:20 — action pinned by tag
05.13

3 outbound calls can wait forever

adequate

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

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

50 locked dependencies have published vulnerabilities, 60 high or critical in what ships

adequate

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

Evidence
go.mod — github.com/docker/docker v20.10.24+incompatible: GHSA-v23v-6jw2-98fq (critical), fixed in 23.0.15
go.mod — github.com/gin-contrib/cors v1.4.0: GHSA-869c-j7wc-8jqv (critical), fixed in 1.6.0
go.mod — github.com/jackc/pgx/v5 v5.3.1: GHSA-9jj7-4m8r-rfcm (critical), fixed in 5.9.0
05.66

The licence is BUSL-1.1: source available, not open source

adequate

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

Evidence
LICENSE:1 — 57 lines, BUSL-1.1
05.60

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)

adequate

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

Evidence
LICENSE — GPL-3.0 from 2022-06-06
LICENSE — MIT from 2022-08-21
LICENSE — Apache-2.0 from 2022-10-24
LICENSE — BUSL-1.1 from 2022-11-12

Observability & Operations

strong

No finding.

Fit with the Acquirer

not assessable

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