Read 2026-10-23
the-open-agent/openagent: technical due diligence, read from its repository
What Borehole read in the-open-agent/openagent's code and history at 9ae3562: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequateweb-old/src/ProviderSetting.js is 1,580 lines, 12× this codebase's median file
adequateThe median source file here is 130 lines. 2 files exceed 1,300 lines, the largest being 1,580. 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.
web-old/src/ProviderSetting.js:1 — 1,580 lines (12× median) |
web/src/lib/provider-setting.ts:1 — 1,580 lines (12× median) |
2 base images float: no version, or `latest`
adequate2 of 7 `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.
Dockerfile:24 — base image without a version |
Dockerfile:58 — base image without a version |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate46 test files against 865 source files (5.3%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 46 test files / 865 source files |
Product & Engineering Maturity
adequateGo 1.25 is past end of life
adequateThe code is pinned to Go 1.25 (end of life 2026-08-11). None of these receives security fixes any more; the first stopped on 2026-08-11. 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.
Dockerfile — Go 1.25, end of life 2026-08-11 |
3% of bug fixes add or change a test
adequateOf 1010 fixes in the last 24 months, 35 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.
| 35 of 1010 |
Security & Reliability Posture
adequate1 Dockerfile runs 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.
deploy/ocr-service/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate6 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/build.yml:102 — action pinned by tag |
.github/workflows/build.yml:138 — action pinned by tag |
scripts/install.sh:4 — download piped into a shell |
9 outbound calls can wait forever
adequate9 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
audio/xfyun_client.go:53 — outbound call without a timeout |
chain/chainmaker_util.go:60 — outbound call without a timeout |
controllers/form_data.go:69 — outbound call without a timeout |
81 locked dependencies have published vulnerabilities, 11 high or critical in what ships
adequate81 of 2,629 locked dependencies match 165 published advisories in OSV, 77 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.
go.mod — github.com/beego/beego v1.12.12: GHSA-2j42-h78h-q4fg (critical) |
go.mod — golang.org/x/crypto v0.49.0: GHSA-5cgq-3rg8-m6cv (critical), fixed in 0.52.0 |
web/yarn.lock — dompurify 3.4.16: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
16 places insert HTML from a variable without sanitising it
adequate16 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.
web-old/src/ChatMessageRender.js:127 — HTML from a variable |
web-old/src/ChatMessageRender.js:141 — HTML from a variable |
web-old/src/ChatMessageRender.js:156 — HTML from a variable |
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 the-open-agent/openagent: 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.