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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongpackages/survey-core/src/survey.ts is 9,739 lines, 95× this codebase's median file
adequateThe 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.
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
strongTests are retried until they pass
adequateThe 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.
playwright.config.ts:4 — test retry |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequateNone of the standard security guard rails are configured
adequateThere 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.
| checked 5 kinds of guard rail across 3,275 tracked files; 0 present |
156 dependencies float, and no lockfile is committed
adequateDependency 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.
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 |
The build runs third-party code it does not pin
adequate3 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.
.github/workflows/library.yml:26 — action pinned by tag |
.github/workflows/tagged-release.yml:36 — action pinned by tag |
14 places insert HTML from a variable without sanitising it
adequate14 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.
packages/survey-angular-ui/src/svgbundle.component.ts:13 — HTML from a variable |
packages/survey-core/src/dropdownListModel.ts:535 — HTML from a variable |
packages/survey-core/src/plugins/collaboration/presence/presence-overlay.ts:292 — HTML from a variable |
The production build publishes source maps
adequateThe 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.
packages/survey-angular-ui/angular.json:98 — source maps in a production build |
Observability & Operations
not assessableNot 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 assessableNot 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.