Borehole · Project · free tier
sveltejs/kit
Free reading: not for reliance
a50dc5a · 7,798 commits · 3,567 files
Read 2026-10-04

sveltejs/kit: technical due diligence, read from its repository

What Borehole read in sveltejs/kit's code and history at a50dc5a: 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 & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

packages/kit/types/index.d.ts is 4,157 lines, 519× this codebase's median file

adequate

The median source file here is 8 lines. 2 files exceed 1,000 lines, the largest being 4,157. 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/kit/types/index.d.ts:1 — 4,157 lines (519× median)
packages/kit/src/runtime/client/client.js:1 — 3,812 lines (476× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (packages/adapter-bun/test/utils.js). 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.

Evidence
packages/adapter-bun/test/utils.js:18 — test retry

Product & Engineering Maturity

strong
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.59 to 0.87 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.

Evidence
first half 0.59, second half 0.87 (split 2023-10-09)

Security & Reliability Posture

adequate
05.26

1 locked dependency has published vulnerabilities, 2 high or critical in what ships

adequate

1 of 574 locked dependencies match 10 published advisories in OSV, 2 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 — undici 7.29.0: GHSA-rfgv-xxqx-mfg5 (high), fixed in 7.29.1
05.65

15 advisories against this project in the last 24 months, 2 high or critical

adequate

The newest was published on 2026-07-29. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 15 of them are fixed in the code you ship could not be told from this history. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-07-29: GHSA-29g2-3rmr-qm68 (moderate), fixed in 2.70.2: ReDoS in SvelteKit content negotiation header parsing
2026-07-02: GHSA-wqjv-9729-c5q2 (moderate), fixed in 2.69.1: Big remote form function payloads can cause Node process to crash
2026-07-02: GHSA-866w-xmhq-wj7x (moderate), fixed in 2.69.1: Prototype pollution in file input deletion path in remote-function forms
2026-05-14: GHSA-hgv7-v322-mmgr (moderate), fixed in 2.60.1: `query.batch` cross-talk
2026-04-09: GHSA-3f6h-2hrp-w5wx (moderate), fixed in 2.57.1: Unvalidated redirect in handle hook causes Denial-of-Service

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 3,397 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 sveltejs/kit: 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.