Borehole · Project · free tier
surveyjs/survey-library
Free reading: not for reliance
247b8c5 · 17,022 commits · 3,275 files
Read 2026-10-23

surveyjs/survey-library: technical due diligence, read from its repository

What Borehole read in surveyjs/survey-library's code and history at 247b8c5: 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

Architecture & Codebase — including AI provenance

strong
01.6

packages/survey-core/src/survey.ts is 9,739 lines, 95× this codebase's median file

adequate

The median source file here is 102 lines. 29 files exceed 1,020 lines, the largest being 9,739. 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/survey-core/src/survey.ts:1 — 9,739 lines (95× median)
packages/survey-core/src/question_records.ts:1 — 4,374 lines (42× median)
packages/survey-core/src/expressions/expressionParser.ts:1 — 4,241 lines (41× median)
packages/survey-core/src/question.ts:1 — 4,094 lines (40× median)
packages/survey-core/src/question_paneldynamic.ts:1 — 3,797 lines (37× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

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

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
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 3,275 tracked files; 0 present
05.3

156 dependencies float, and no lockfile is committed

adequate

Dependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.

Evidence
package.json:15 — ^19.8.0
package.json:16 — ^19.8.0
package.json:18 — ^6.0.0
package.json:19 — ^29.0.0
package.json:20 — ^16.0.3
05.27

The build runs third-party code it does not pin

adequate

3 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/library.yml:26 — action pinned by tag
.github/workflows/tagged-release.yml:36 — action pinned by tag
05.48

14 places insert HTML from a variable without sanitising it

adequate

14 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.49

The production build publishes source maps

adequate

The build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.

Evidence
packages/survey-angular-ui/angular.json:98 — source maps in a production build

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 surveyjs/survey-library: 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.