Read 2026-10-28
diggerhq/digger: technical due diligence, read from its repository
What Borehole read in diggerhq/digger's code and history at 7c237c0: 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 | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
ee/LICENSE: Part of the code is under a separate licence: ee/CONTRIBUTING.md:30: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
adequatebackend/models/storage.go is 2,047 lines, 40× this codebase's median file
adequateThe median source file here is 50 lines. 9 files exceed 1,000 lines, the largest being 2,047. 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.
backend/models/storage.go:1 — 2,047 lines (40× median) |
backend/controllers/projects.go:1 — 1,803 lines (36× median) |
backend/templates/static/js/prism.dev.js:1 — 1,755 lines (35× median) |
ee/backend/templates/static/js/prism.dev.js:1 — 1,755 lines (35× median) |
taco/internal/tfe/workspaces.go:1 — 1,546 lines (30× median) |
4 base images float: no version, or `latest`
adequate4 of 5 `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.
cli/dockerfiles/branch/Dockerfile:1 — base image without a version |
cli/dockerfiles/branch/Dockerfile:13 — base image without a version |
cli/dockerfiles/release/Dockerfile:1 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongGo 1.22 is past end of life
adequateThe code is pinned to Go 1.22 (end of life 2025-02-11). None of these receives security fixes any more; the first stopped on 2025-02-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.
cli/dockerfiles/branch/Dockerfile — Go 1.22, end of life 2025-02-11 |
Security & Reliability Posture
adequate2 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.
cli/dockerfiles/branch/Dockerfile — runs as root |
cli/dockerfiles/release/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate17 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; 4 steps pipe 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/backend-ee-release.yml:32 — action pinned by tag |
.github/workflows/backend-ee-release.yml:35 — action pinned by tag |
.github/workflows/check-migrations-generated.yml:32 — download piped into a shell |
22 outbound calls can wait forever
adequate22 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.
backend/controllers/cache.go:155 — outbound call without a timeout |
backend/controllers/github_helpers.go:44 — outbound call without a timeout |
backend/middleware/middleware.go:29 — outbound call without a timeout |
6 SQL statements built from strings
adequate6 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.
taco/cmd/token_service/query/factory.go:32 — SQL built from a string |
taco/cmd/token_service/query/factory.go:35 — SQL built from a string |
taco/cmd/token_service/query/factory.go:38 — SQL built from a string |
49 locked dependencies have published vulnerabilities, 44 high or critical in what ships
adequate49 of 978 locked dependencies match 146 published advisories in OSV, 82 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.
taco/cmd/statesman/go.mod — github.com/labstack/echo/v4 v4.13.3: GHSA-cxf3-9h37-7rr8 (critical), fixed in 4.16.1 |
sandbox-sidecar/package-lock.json — proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8 |
ui/package-lock.json — seroval 1.3.2: GHSA-mv8w-475r-vwqw (critical), fixed in 1.5.3 |
5 places insert HTML from a variable without sanitising it
adequate5 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.
backend/templates/static/js/prism.dev.js:592 — HTML from a variable |
backend/templates/static/js/prism.min.js:3 — HTML from a variable |
ee/backend/templates/static/js/prism.dev.js:592 — HTML from a variable |
1 vendored component 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.
taco/internal/deps/graph.go — 1 tracked files, no licence file |
Part of the code is under a separate licence: ee/
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
ee/LICENSE — licence: unrecognised |
Observability & Operations
adequate1 of 3 deployed images carry no version, or `latest`
adequate1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
self-hosting/kubernetes/helm-charts/digger-backend/values.yaml:128 — image without a version |
Readiness and liveness probes are identical in 5 of 5 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
self-hosting/kubernetes/helm-charts/taco-drift/values.yaml — same probe endpoint twice |
self-hosting/kubernetes/helm-charts/taco-sidecar/values.yaml — same probe endpoint twice |
self-hosting/kubernetes/helm-charts/taco-statesman/templates/deployment.yaml — same probe endpoint twice |
3 of 9 deployments run a single replica
adequate3 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on diggerhq/digger: 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.