Borehole · Project · free tier
statelyai/xstate
Free reading: not for reliance
8f25b68 · 6,988 commits · 924 files
Read 2026-10-23

statelyai/xstate: technical due diligence, read from its repository

What Borehole read in statelyai/xstate's code and history at 8f25b68: 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

What the repository says

  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

strong
01.6

packages/core/src/types.ts is 2,882 lines, 48× this codebase's median file

adequate

The median source file here is 60 lines. 3 files exceed 1,000 lines, the largest being 2,882. 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
packages/core/src/types.ts:1 — 2,882 lines (48× median)
packages/core/src/stateUtils.ts:1 — 1,880 lines (31× median)
packages/xstate-store/src/persist.ts:1 — 1,137 lines (18× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest pre-release, xstate@6.0.0-alpha.70, is not on the branch this survey read; the newest release on it is xstate@5.33.3. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag xstate@6.0.0-alpha.70

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 924 tracked files; 0 present
05.26

85 locked dependencies have published vulnerabilities, 26 high or critical in what ships

adequate

85 of 1,487 locked dependencies match 223 published advisories in OSV, 117 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 — happy-dom 17.6.3: GHSA-37j7-fg3j-429f (critical), fixed in 20.0.0
pnpm-lock.yaml — seroval 1.5.6: GHSA-p6vx-979v-rg4c (critical), fixed in 1.6.2
pnpm-lock.yaml — tinypool 1.1.1: GHSA-5gmw-xhrv-c9v3 (critical), fixed in 2.1.1

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 statelyai/xstate: 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.