Borehole · Project · free tier
crbnos/carbon
Free reading: not for reliance
038bfc9 · 6,170 commits · 10,090 files
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.

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

What the repository says

  • packages/ee/LICENSE: Part of the code is under a separate licence: packages/ee/

Architecture & Codebase — including AI provenance

strong
01.6

apps/erp/app/modules/inventory/inventory.service.ts is 26,612 lines, 286× this codebase's median file

adequate

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

Evidence
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

adequate
02.4

Nothing in the history is tagged as a release

adequate

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

Evidence
0 tags across 6,170 commits and 1418 days
02.16

Tests are retried until they pass

adequate

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

02.24

9% of recent commits change more than 2,000 lines

adequate

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

Evidence
382 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

133 direct dependencies in a single manifest

adequate

apps/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.

Evidence
apps/erp/package.json — 133 declared
apps/mes/package.json — 88 declared
packages/react/package.json — 88 declared
apps/starter/package.json — 40 declared
04.19

13% of bug fixes add or change a test

adequate

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

Evidence
217 of 1685

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

3 Dockerfiles run 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
.oss-scanner/Dockerfile — runs as root
Dockerfile — runs as root
packages/database/supabase/edge-runtime/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.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
05.20

12 SQL statements built from strings

adequate

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

05.26

27 locked dependencies have published vulnerabilities, 4 high or critical in what ships

adequate

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

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

42 places insert HTML from a variable without sanitising it

adequate

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

05.8

Manifest says MIT, licence file says AGPL-3.0

adequate

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

Evidence
Cargo.toml:8 — declares MIT
LICENSE — text of AGPL-3.0
05.61

Part of the code is under a separate licence: packages/ee/

adequate

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

Evidence
packages/ee/LICENSE — licence: AGPL-3.0

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

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

Evidence
searched 9,507 files for 10 structured logging libraries; 0 matched
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 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.