Borehole · Project · free tier
the-open-agent/openagent
Free reading: not for reliance
9ae3562 · 2,524 commits · 1,028 files
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.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

adequate
01.6

web-old/src/ProviderSetting.js is 1,580 lines, 12× this codebase's median file

adequate

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

Evidence
web-old/src/ProviderSetting.js:1 — 1,580 lines (12× median)
web/src/lib/provider-setting.ts:1 — 1,580 lines (12× median)
01.25

2 base images float: no version, or `latest`

adequate

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

Evidence
Dockerfile:24 — base image without a version
Dockerfile:58 — base image without a version

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

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

Evidence
46 test files / 865 source files

Product & Engineering Maturity

adequate
04.17

Go 1.25 is past end of life

adequate

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

Evidence
Dockerfile — Go 1.25, end of life 2026-08-11
04.19

3% of bug fixes add or change a test

adequate

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

Evidence
35 of 1010

Security & Reliability Posture

adequate
05.6

1 Dockerfile runs 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.

Evidence
deploy/ocr-service/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

6 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/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
05.13

9 outbound calls can wait forever

adequate

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

Evidence
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
05.26

81 locked dependencies have published vulnerabilities, 11 high or critical in what ships

adequate

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

Evidence
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
05.48

16 places insert HTML from a variable without sanitising it

adequate

16 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
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

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