Read 2026-10-23
meteroid-oss/meteroid: technical due diligence, read from its repository
What Borehole read in meteroid-oss/meteroid's code and history at 33655d3: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2024-01-31)
Architecture & Codebase — including AI provenance
strongmodules/meteroid/crates/meteroid-store/src/services/edge.rs is 3,318 lines, 46× this codebase's median file
adequateThe median source file here is 71 lines. 38 files exceed 1,000 lines, the largest being 3,318. 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.
modules/meteroid/crates/meteroid-store/src/services/edge.rs:1 — 3,318 lines (46× median) |
modules/meteroid/crates/meteroid-store/src/repositories/entitlements.rs:1 — 3,100 lines (43× median) |
modules/meteroid/crates/meteroid-store/src/adapters/payment/mollie.rs:1 — 2,729 lines (38× median) |
modules/meteroid/crates/meteroid-store/src/services/subscriptions/amendment.rs:1 — 2,515 lines (35× median) |
modules/web/packages/ui/src/components/ui/country/data.ts:1 — 2,004 lines (28× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate172 test files against 1,748 source files (9.8%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 172 test files / 1,748 source files |
14% of recent commits change more than 2,000 lines
adequate55 of 385 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 55 commits over 2,000 lines |
Product & Engineering Maturity
adequate2 jobs are each done by more than one library
adequateWithin a single package: dates: date-fns, dayjs; state management: jotai, zustand. Each duplicate is bundle size, two ways of doing the same thing in one codebase, and two upgrade paths to maintain. It is usually the residue of a migration that stopped halfway.
modules/web/packages/ui/package.json — several libraries per job |
modules/web/web-app/package.json — several libraries per job |
Security & Reliability Posture
adequate1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings
adequateStrings 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.
| JWT, where fakes are usual |
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.
modules/web/web-app/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate12 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/audit-rust.yaml:39 — action pinned by tag |
.github/workflows/ci-helm.yaml:35 — action pinned by tag |
75 locked dependencies have published vulnerabilities, 56 high or critical in what ships
adequate75 of 3,254 locked dependencies match 195 published advisories in OSV, 120 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.
modules/web/pnpm-lock.yaml — dompurify 3.4.10: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
modules/web/pnpm-lock.yaml — next 16.2.6: GHSA-2464-fhr4-w9xw (critical), fixed in 16.4.1 |
modules/web/packages/ui/pnpm-lock.yaml — handlebars 4.7.8: GHSA-2w6w-674q-4c4q (critical), fixed in 4.7.9; in a separate application's lockfile |
4 places insert HTML from a variable without sanitising it
adequate4 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
modules/web/web-app/features/invoices/edit/EditInvoicePreview.tsx:54 — HTML from a variable |
modules/web/web-app/pages/tenants/creditnote/CreditNote.tsx:132 — HTML from a variable |
modules/web/web-app/pages/tenants/invoice/Invoice.tsx:172 — HTML from a variable |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
modules/web/packages/ui/vite.config.ts:23 — source maps in a production build |
Relicensed: GPL-3.0 → AGPL-3.0 (2024-01-31)
adequateThe root licence changed 1 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
adequateOne 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 |
1 of 1 deployed images carry no version, or `latest`
adequate1 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.
k8s/meteroid/templates/extra/clickhouse.yaml:30 — image without a version |
Readiness and liveness probes are identical in 1 of 3 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
k8s/meteroid/templates/web-deployment.yaml — same probe endpoint twice |
The code branches on the environment's name at 11 places
adequate11 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.
modules/web/web-app/features/payments/PaymentProviderConnectModal.tsx:79 — branch on the environment name |
modules/web/web-app/features/payments/providers.tsx:26 — branch on the environment name |
modules/web/web-app/features/payments/providers.tsx:157 — branch on the environment name |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on meteroid-oss/meteroid: 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.