Read 2026-10-23
crbnos/carbon: technical due diligence, read from its repository
What Borehole read in crbnos/carbon's code and history at 038bfc9: 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
packages/ee/LICENSE: Part of the code is under a separate licence: packages/ee/
Architecture & Codebase — including AI provenance
strongapps/erp/app/modules/inventory/inventory.service.ts is 26,612 lines, 286× this codebase's median file
adequateThe median source file here is 93 lines. 147 files exceed 1,000 lines, the largest being 26,612. 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.
apps/erp/app/modules/inventory/inventory.service.ts:1 — 26,612 lines (286× median) |
apps/erp/app/modules/production/production.service.ts:1 — 25,073 lines (269× median) |
apps/erp/app/modules/accounting/accounting.service.ts:1 — 21,603 lines (232× median) |
apps/erp/app/modules/sales/sales.service.ts:1 — 20,195 lines (217× median) |
apps/erp/app/modules/shared/shared.service.ts:1 — 17,263 lines (185× median) |
Engineering Process & SDLC Maturity
adequateNothing in the history is tagged as a release
adequateAcross 3.9 years of history there is not one tag. There may still be a deployment process, but this repository holds no record of what shipped when — which is the record a buyer needs to reconstruct an incident or a regression after the fact.
| 0 tags across 6,170 commits and 1418 days |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (packages/jobs/src/workflows/engine/ledger.test.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.
packages/jobs/src/workflows/engine/ledger.test.ts:53 — test retry |
9% of recent commits change more than 2,000 lines
adequate382 of 4081 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.
| 382 commits over 2,000 lines |
Product & Engineering Maturity
adequate133 direct dependencies in a single manifest
adequateapps/erp/package.json declares 133 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
apps/erp/package.json — 133 declared |
apps/mes/package.json — 88 declared |
packages/react/package.json — 88 declared |
apps/starter/package.json — 40 declared |
13% of bug fixes add or change a test
adequateOf 1685 fixes in the last 24 months, 217 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.
| 217 of 1685 |
Security & Reliability Posture
adequate2 credential-shaped strings 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.
| 2 cited: JWT, where fakes are usual |
3 Dockerfiles run 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.
.oss-scanner/Dockerfile — runs as root |
Dockerfile — runs as root |
packages/database/supabase/edge-runtime/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate8 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; 2 steps pipe 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.
.github/workflows/build-images.yml:54 — action pinned by tag |
.github/workflows/build-images.yml:65 — action pinned by tag |
.github/workflows/deploy.yml:67 — download piped into a shell |
12 SQL statements built from strings
adequate12 places in product code build SQL by formatting or joining strings rather than passing parameters. 3 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
packages/database/src/datasets/bootstrap.ts:354 — SQL built from a string |
packages/database/src/datasets/tiers/08-change-orders.ts:206 — SQL built from a string |
packages/database/src/seed-printing.ts:468 — SQL built from a string |
27 locked dependencies have published vulnerabilities, 4 high or critical in what ships
adequate27 of 2,919 locked dependencies match 39 published advisories in OSV, 5 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.
pnpm-lock.yaml — zod 3.25.76: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6 |
pnpm-lock.yaml — zod 4.1.11: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6 |
pnpm-lock.yaml — zod 4.5.4: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6 |
42 places insert HTML from a variable without sanitising it
adequate42 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.
apps/academy/app/root.tsx:207 — HTML from a variable |
apps/erp/app/components/ActionTasks/ActionTaskCard.tsx:142 — HTML from a variable |
apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeContent.tsx:76 — HTML from a variable |
Manifest says MIT, licence file says AGPL-3.0
adequateCargo.toml declares MIT. LICENSE contains the text of AGPL-3.0. Package managers and downstream users read the first; auditors and acquirers read the second. One of them is wrong, and until it is settled the terms this code is offered under are genuinely ambiguous.
Cargo.toml:8 — declares MIT |
LICENSE — text of AGPL-3.0 |
Part of the code is under a separate licence: packages/ee/
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
packages/ee/LICENSE — licence: AGPL-3.0 |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing 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.
| searched 9,507 files for 10 structured logging libraries; 0 matched |
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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on crbnos/carbon: 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.