Borehole · Project · free tier
honojs/hono
Free reading: not for reliance
6abd35b · 2,861 commits · 583 files
Read 2026-11-08

honojs/hono: technical due diligence, read from its repository

What Borehole read in honojs/hono's code and history at 6abd35b: 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

  • docs/CONTRIBUTING.md:21: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

src/types.ts is 2,783 lines, 42× this codebase's median file

adequate

The median source file here is 66 lines. 1 file exceed 1,000 lines, the largest being 2,783. 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
src/types.ts:1 — 2,783 lines (42× median)
01.7

7% of code blocks appear verbatim in more than one file

adequate

1,178 distinct 8-line blocks appear in two or more files. Copy-paste is the cheapest thing a generator does and among the more expensive things to inherit: a fix has to be applied everywhere the block landed, and nothing in the repository records where that is. Tests, fixtures and documentation examples are excluded — those repeat by design — so this is duplication in code that ships. Blocks are matched after normalising whitespace and only across different files.

Evidence
identical 8-line block in 7 files: adapters/aws-lambda/vite.config.ts, adapters/cloudflare-workers/vite.config.ts, adapters/deno/vite.config.ts
identical 8-line block in 7 files: adapters/aws-lambda/vite.config.ts, adapters/cloudflare-workers/vite.config.ts, adapters/deno/vite.config.ts
identical 8-line block in 7 files: adapters/aws-lambda/vite.config.ts, adapters/cloudflare-workers/vite.config.ts, adapters/deno/vite.config.ts
identical 8-line block in 7 files: adapters/aws-lambda/vite.config.ts, adapters/cloudflare-workers/vite.config.ts, adapters/deno/vite.config.ts
identical 8-line block in 7 files: adapters/aws-lambda/vite.config.ts, adapters/cloudflare-workers/vite.config.ts, adapters/deno/vite.config.ts

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

47 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key. 2 other matchs set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
5 cited: JWT, where fakes are usual
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 583 tracked files; 0 present
05.5

7 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
5 cited: JWT, where fakes are usual
05.26

19 locked dependencies have published vulnerabilities, 22 high or critical

adequate

19 of 1,085 locked dependencies match 70 published advisories in OSV, 22 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. None of the high or critical ones is in what the product ships: they are development dependencies.

Evidence
pnpm-lock.yaml — decompress 4.2.1: GHSA-hrh2-vp3x-79xf (critical); a development dependency
pnpm-lock.yaml — decode-uri-component 0.5.0: GHSA-qr28-fpjm-wq7f (high), fixed in 0.5.1; a development dependency
pnpm-lock.yaml — sharp 0.34.5: GHSA-f88m-g3jw-g9cj (high), fixed in 0.35.0; a development dependency
05.65

57 advisories against this project in the last 24 months, 7 high or critical, 5 may affect the surveyed commit

adequate

The newest was published on 2026-11-01. 5 may affect the surveyed version, placed from version numbers. Check each against the release you run. The record is incomplete: NVD: 5 records name hono with nothing tying them to this repository (CVE-2020-27217, CVE-2020-27220, CVE-2026-108727, …).

Evidence
2026-11-01: GHSA-46wx-v44x-9hh2 (moderate), fixed in 4.13.16: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
2026-11-01: GHSA-4h7h-rv7c-7m2v (moderate), fixed in 4.13.16: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
2026-11-01: GHSA-4m76-xfj5-7975 (moderate), fixed in 4.13.16: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
2026-11-01: GHSA-h7mg-cq63-vhpq (moderate), fixed in 4.13.16: RegExpRouter skips wildcard middleware for certain route patterns and for paths with an encoded line terminator
2026-11-01: GHSA-3gg2-335m-rxc6 (low), fixed in 4.13.16: `css` helper does not escape a closing tag assembled from template parts and values, allowing HTML injection

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 honojs/hono: 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.