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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not 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
adequateplugins/tracker-resources/src/components/gantt/GanttView.svelte is 4,894 lines, 87× this codebase's median file
adequateThe 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.
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) |
1 base image floats: no version, or `latest`
adequate1 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.
foundations/stream/Dockerfile:36 — base image without a version |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe 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.
qms-tests/sanity/tests/playwright.config.ts:35 — test retry |
Product & Engineering Maturity
adequate214 direct dependencies in a single manifest
adequatedesktop/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.
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 |
Go 1.24 is past end of life
adequateThe 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.
foundations/stream/Dockerfile — Go 1.24, end of life 2026-02-10 |
15% of bug fixes add or change a test
adequateOf 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.
| 221 of 1436 |
The repository says it is frozen
adequateIts 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.
README.md:9 — This repository is frozen and is no longer actively maintained. |
Releases are cut from another branch than the one surveyed
adequateThe 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.
| tag v0.7.432 |
Security & Reliability Posture
adequate2 credential-shaped strings committed to the tree
adequateMatches 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.
| 2 cited: JWT pattern matched |
41 Dockerfiles run the application as root
adequateNo 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.
foundations/hulylake/Dockerfile — runs as root |
foundations/hulypulse/Dockerfile — runs as root |
foundations/net/pods/network-pod/Dockerfile — runs as root |
foundations/net/pods/network-tool/Dockerfile — runs as root |
3 environment files are committed
adequatedesktop-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.
desktop-package/.env — committed environment file |
desktop/.env — committed environment file |
qms-desktop-package/.env — committed environment file |
The build runs third-party code it does not pin
adequate13 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.
.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 |
9 SQL statements built from strings
adequate9 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.
foundations/server/packages/postgres/src/storage.ts:734 — SQL built from a string |
foundations/server/packages/postgres/src/storage.ts:371 — SQL built from a string |
foundations/server/packages/postgres/src/storage.ts:399 — SQL built from a string |
4 shell commands built from strings
adequate4 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.
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 |
98 locked dependencies have published vulnerabilities, 61 high or critical in what ships
adequate98 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.
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 |
19 places insert HTML from a variable without sanitising it
adequate19 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/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 |
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.
desktop/webpack.config.js:44 — source maps in a production build |
3 vendored components with no licence
adequateThird-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.
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
strongNo error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot 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.