Borehole · Project · free tier
sonicjs-org/sonicjs
Free reading: not for reliance
cb7e36f · 4,867 commits · 1,503 files
Read 2026-11-03

sonicjs-org/sonicjs: technical due diligence, read from its repository

What Borehole read in sonicjs-org/sonicjs's code and history at cb7e36f: 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 Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

packages/core/src/templates/components/dynamic-field.template.ts is 2,690 lines, 22× this codebase's median file

adequate

The median source file here is 119 lines. 10 files exceed 1,190 lines, the largest being 2,690. 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.

Engineering Process & SDLC Maturity

adequate
02.15

72 tests are switched off

adequate

72 skip markers across 40 of 366 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.

02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (tests/playwright.www.config.ts). 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
tests/playwright.www.config.ts:24 — test retry
02.24

6% of recent commits change more than 2,000 lines

adequate

80 of 1384 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
80 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.17

Node.js 20 is past end of life

adequate

The code is pinned to Node.js 20 (end of life 2026-04-30). None of these receives security fixes any more; the first stopped on 2026-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.

Evidence
www/.node-version — Node.js 20, end of life 2026-04-30
04.37

API v3 and v1 have been served together for 41 months

adequate

v1 first appeared in Jun 2023, and v3 is still in the code 41 months later. Two versions mean two surfaces to secure, document and support. Ask who still calls the old one, and whether retiring it is planned.

Evidence
server/modules/contact-us/services/main.js — v3 since Nov 2019
src/server.ts — v1 since Jun 2023

Security & Reliability Posture

adequate
05.26

46 locked dependencies have published vulnerabilities, 15 high or critical in what ships

adequate

46 of 1,268 locked dependencies match 155 published advisories in OSV, 58 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
package-lock.json — next 16.3.4: GHSA-2464-fhr4-w9xw (critical), fixed in 16.4.1
package-lock.json — proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8
my-sonicjs-app/pnpm-lock.yaml — shell-quote 1.8.3: GHSA-w7jw-789q-3m8p (critical), fixed in 1.8.4; a development dependency
05.48

47 places insert HTML from a variable without sanitising it

adequate

47 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.65

1 advisory against this project in the last 24 months, 1 high or critical

adequate

The newest was published on 2026-10-30. 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 1 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 3.0.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 2 records name sonicjs with nothing tying them to this repository (CVE-2022-42002, CVE-2023-33690).

Evidence
2026-10-30: CVE-2026-119707 (high): SonicJS through 3.0.0 contains a missing authorization vulnerability in the /api/:collection and /api/content write routes that only check coarse role labels. A

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 1,347 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 sonicjs-org/sonicjs: 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.