Borehole · Project · free tier
withastro/astro
Free reading: not for reliance
3f3d580 · 15,123 commits · 6,893 files
Read 2026-10-04

withastro/astro: technical due diligence, read from its repository

What Borehole read in withastro/astro's code and history at 3f3d580: 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

What the repository says

  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

strong
01.6

packages/astro/src/types/public/config.ts is 3,657 lines, 121× this codebase's median file

adequate

The median source file here is 30 lines. 7 files exceed 1,000 lines, the largest being 3,657. 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/astro/src/types/public/config.ts:1 — 3,657 lines (121× median)
packages/astro/src/core/errors/errors-data.ts:1 — 2,295 lines (76× median)
packages/astro/astro-jsx.d.ts:1 — 1,573 lines (52× median)
packages/language-tools/language-server/types/astro-jsx.d.ts:1 — 1,498 lines (49× median)
packages/astro/src/core/fetch/fetch-state.ts:1 — 1,275 lines (42× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (packages/astro/playwright.config.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/astro/playwright.config.js:16 — test retry

Product & Engineering Maturity

strong
04.38

5 files still carry code deprecated more than two years ago

adequate

5 files were marked deprecated over two years ago and still are, the oldest since Apr 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

Evidence
packages/astro/astro-jsx.d.ts — deprecated since Apr 2022
packages/astro/src/core/errors/errors-data.ts — deprecated since Jun 2023
packages/astro/client.d.ts — deprecated since Aug 2023
packages/astro/src/core/app/node.ts — deprecated since Nov 2023
packages/astro/src/types/public/context.ts — deprecated since Aug 2024
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest pre-release, astro@7.4.0-beta.1, is not on the branch this survey read; the newest release on it is astro@7.3.5. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag astro@7.4.0-beta.1

Security & Reliability Posture

adequate
05.26

38 locked dependencies have published vulnerabilities, 31 high or critical in what ships

adequate

38 of 2,253 locked dependencies match 140 published advisories in OSV, 86 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 — tar 7.5.15: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19
pnpm-lock.yaml — brace-expansion 5.0.9: GHSA-6j4f-fj2g-mc7p (high), fixed in 5.0.10
pnpm-lock.yaml — braces 3.0.3: GHSA-vfj7-8cjw-p6xm (high)
05.48

22 places insert HTML from a variable without sanitising it

adequate

22 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.9

1 vendored component with no licence

adequate

Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.

Evidence
scripts/deps/update-example-versions.js — 1 tracked files, no licence file
05.65

44 advisories against this project in the last 24 months, 10 high or critical

adequate

The newest was published on 2026-08-27. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. The record is incomplete: NVD: 7 records name astro with nothing tying them to this repository (CVE-2014-5659, CVE-2018-7180, CVE-2023-50249, …).

Evidence
2026-08-27: GHSA-26w7-cxv4-gfx2 (critical), fixed in 7.2.8: Remote code execution through AVIF image optimization
2026-08-27: GHSA-4233-jc72-56c5 (moderate), fixed in 8.2.4: Netlify Image CDN allowlist bypass enables SSRF
2026-08-27: GHSA-376h-93r7-7g6f (moderate), fixed in 7.2.4: Authorization bypass from missing path-segment boundary check when stripping the configured base
2026-08-27: GHSA-qh8j-hqjv-7m4x (low), fixed in 11.1.3: Malformed port in the Host header can crash the Node adapter
2026-07-17: GHSA-4g3v-8h47-v7g6 (moderate), fixed in 7.1.0: Reflected XSS via unescaped View Transition animation properties

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 4,483 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
06.35

Sends usage data to telemetry.astro.build by default

adequate

packages/telemetry/src/post.ts sends to telemetry.astro.build, and packages/astro/src/cli/sync/index.ts leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told.

Evidence
packages/telemetry/src/post.ts:1 — reports to telemetry.astro.build
packages/astro/src/cli/sync/index.ts:25 — the reporting setting is on by default

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on withastro/astro: 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.