Borehole · Project · free tier
hcengineering/platform
Free reading: not for reliance
e4fd72b · 8,972 commits · 10,655 files
Read 2026-10-04

hcengineering/platform: technical due diligence, read from its repository

What Borehole read in hcengineering/platform's code and history at e4fd72b: 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 provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • README.md:9: The repository says it is frozen
  • Releases are cut from another branch than the one surveyed

Architecture & Codebase — including AI provenance

adequate
01.6

plugins/tracker-resources/src/components/gantt/GanttView.svelte is 4,894 lines, 87× this codebase's median file

adequate

The median source file here is 56 lines. 41 files exceed 1,000 lines, the largest being 4,894. 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
plugins/tracker-resources/src/components/gantt/GanttView.svelte:1 — 4,894 lines (87× median)
server/account/src/operations.ts:1 — 3,770 lines (67× median)
foundations/server/packages/postgres/src/storage.ts:1 — 2,200 lines (39× median)
server/account/src/utils.ts:1 — 2,165 lines (38× median)
plugins/view-resources/src/utils.ts:1 — 1,915 lines (34× median)
01.25

1 base image floats: no version, or `latest`

adequate

1 of 47 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.

Evidence
foundations/stream/Dockerfile:36 — base image without a version

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (qms-tests/sanity/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.

Product & Engineering Maturity

adequate
04.3

214 direct dependencies in a single manifest

adequate

desktop/package.json declares 214 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.

Evidence
desktop/package.json — 214 declared
server/server-pipeline/package.json — 149 declared
services/github/pod-github/package.json — 113 declared
models/all/package.json — 98 declared
04.17

Go 1.24 is past end of life

adequate

The code is pinned to Go 1.24 (end of life 2026-02-10). None of these receives security fixes any more; the first stopped on 2026-02-10. 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
foundations/stream/Dockerfile — Go 1.24, end of life 2026-02-10
04.19

15% of bug fixes add or change a test

adequate

Of 1436 fixes in the last 24 months, 221 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
221 of 1436
04.60

The repository says it is frozen

adequate

Its own README says so on line 9: "This repository is frozen and is no longer actively maintained.". Everything else in this report describes code its maintainers have said they will not carry forward. A buyer inherits the maintenance.

Evidence
README.md:9 — This repository is frozen and is no longer actively maintained.
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v0.7.432, is not on the branch this survey read; the newest release on it is v0.7.312. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v0.7.432

Security & Reliability Posture

adequate
05.1

2 credential-shaped strings committed to the tree

adequate

Matches for JWT appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.

Evidence
2 cited: JWT pattern matched
05.6

41 Dockerfiles run the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

05.25

3 environment files are committed

adequate

desktop-package/.env, desktop/.env, qms-desktop-package/.env are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
desktop-package/.env — committed environment file
desktop/.env — committed environment file
qms-desktop-package/.env — committed environment file
05.27

The build runs third-party code it does not pin

adequate

13 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; 1 step pipes a download straight into a shell. 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/baseimage.yaml:24 — action pinned by tag
.github/workflows/baseimage.yaml:26 — action pinned by tag
foundations/stream/Dockerfile:26 — download piped into a shell
05.20

9 SQL statements built from strings

adequate

9 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.

05.21

4 shell commands built from strings

adequate

4 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
foundations/utils/packages/platform-rig/bin/bump-package-version.js:25 — command run through a shell
services/rekoni/src/extractors/doc.ts:21 — command run through a shell
services/rekoni/src/extractors/pdf.ts:25 — command run through a shell
05.26

98 locked dependencies have published vulnerabilities, 61 high or critical in what ships

adequate

98 of 3,708 locked dependencies match 174 published advisories in OSV, 95 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
common/config/rush/pnpm-lock.yaml — basic-ftp 5.0.5: GHSA-5rq4-664w-9x2c (critical), fixed in 5.2.0
common/config/rush/pnpm-lock.yaml — tar 7.5.2: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19
common/config/rush/pnpm-lock.yaml — handlebars 4.7.8: GHSA-2w6w-674q-4c4q (critical), fixed in 4.7.9; a development dependency
05.48

19 places insert HTML from a variable without sanitising it

adequate

19 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.

Evidence
packages/presentation/src/drawing.ts:904 — HTML from a variable
packages/ui/src/components/EditBox.svelte:88 — HTML from a variable
packages/ui/src/components/LinkWrapper.svelte:34 — HTML from a variable
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
desktop/webpack.config.js:44 — source maps in a production build
05.9

3 vendored components 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
pods/external/README.md — 1 tracked files, no licence file
pods/external/bin — 2 tracked files, no licence file
pods/external/package.json — 1 tracked files, no licence file

Observability & Operations

strong
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 hcengineering/platform: 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.