Borehole · Project · free tier
teambit/bit
Free reading: not for reliance
c24e240 · 16,765 commits · 3,833 files
Read 2026-10-23

teambit/bit: technical due diligence, read from its repository

What Borehole read in teambit/bit's code and history at c24e240: 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 & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

scopes/workspace/workspace/workspace.ts is 2,837 lines, 91× this codebase's median file

adequate

The median source file here is 31 lines. 22 files exceed 1,000 lines, the largest being 2,837. 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.

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (scopes/mcp/cli-mcp-server/cli-mcp-server.spec.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.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.2

None of the standard security guard rails are configured

adequate

There is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.

Evidence
checked 5 kinds of guard rail across 3,833 tracked files; 0 present
05.21

3 shell commands built from strings

adequate

3 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
scopes/harmony/api-server/api-server.main.runtime.ts:420 — command run through a shell
scopes/harmony/api-server/api-server.main.runtime.ts:427 — command run through a shell
scopes/harmony/global-config/system.cmd.ts:49 — command run through a shell
05.26

76 locked dependencies have published vulnerabilities, 46 high or critical in what ships

adequate

76 of 3,956 locked dependencies match 175 published advisories in OSV, 85 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.

Evidence
pnpm-lock.yaml — shell-quote 1.10.0: GHSA-pqg4-j6r4-53mv (critical), fixed in 1.11.0
pnpm-lock.yaml — tar 7.4.3: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19
pnpm-lock.yaml — url-parse 1.5.3: GHSA-hgjh-723h-mx2j (critical), fixed in 1.5.8

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on teambit/bit: 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.