Read 2026-11-03
partykit/partykit: technical due diligence, read from its repository
What Borehole read in partykit/partykit's code and history at 2faaaff: 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 | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongpackages/partykit/src/cli.tsx is 1,632 lines, 30× this codebase's median file
adequateThe median source file here is 54 lines. 4 files exceed 1,000 lines, the largest being 1,632. 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.
packages/partykit/src/cli.tsx:1 — 1,632 lines (30× median) |
packages/partykit/src/dev.tsx:1 — 1,277 lines (23× median) |
packages/partykit/src/cf-auth/user.ts:1 — 1,232 lines (22× median) |
packages/partykit/facade/source.ts:1 — 1,076 lines (19× median) |
Engineering Process & SDLC Maturity
strongAlmost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 688 tracked files |
Product & Engineering Maturity
strongEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.26 to 2.57 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.26, second half 2.57 (split 2024-11-09) |
Security & Reliability Posture
adequateNone of the standard security guard rails are configured
adequateThere 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.
| checked 5 kinds of guard rail across 688 tracked files; 0 present |
1 environment file is committed
adequatepackages/partykit/.env.production is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
packages/partykit/.env.production — committed environment file |
60 locked dependencies have published vulnerabilities, 65 high or critical in what ships
adequate60 of 1,577 locked dependencies match 150 published advisories in OSV, 72 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.
package-lock.json — astro 4.16.18: GHSA-26w7-cxv4-gfx2 (critical), fixed in 7.2.8 |
package-lock.json — form-data 4.0.1: GHSA-fjxv-7rqg-78g4 (critical), fixed in 4.0.4 |
package-lock.json — tar 7.4.3: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19 |
Manifest says ISC, licence file says MIT
adequatepackage.json declares ISC. LICENSE contains the text of MIT. 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.
package.json:23 — declares ISC |
LICENSE — text of MIT |
Observability & Operations
not assessableNot 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 assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on partykit/partykit: 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.