Borehole · Project · free tier
diggerhq/digger
Free reading: not for reliance
7c237c0 · 2,966 commits · 1,470 files
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.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot 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

adequate
01.6

backend/models/storage.go is 2,047 lines, 40× this codebase's median file

adequate

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

Evidence
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)
01.25

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

adequate

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

Evidence
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

strong

No finding.

Product & Engineering Maturity

strong
04.17

Go 1.22 is past end of life

adequate

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

Evidence
cli/dockerfiles/branch/Dockerfile — Go 1.22, end of life 2025-02-11

Security & Reliability Posture

adequate
05.6

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

Evidence
cli/dockerfiles/branch/Dockerfile — runs as root
cli/dockerfiles/release/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

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

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

22 outbound calls can wait forever

adequate

22 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
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
05.20

6 SQL statements built from strings

adequate

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

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

49 locked dependencies have published vulnerabilities, 44 high or critical in what ships

adequate

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

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

5 places insert HTML from a variable without sanitising it

adequate

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

05.9

1 vendored component 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
taco/internal/deps/graph.go — 1 tracked files, no licence file
05.61

Part of the code is under a separate licence: ee/

adequate

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

Evidence
ee/LICENSE — licence: unrecognised

Observability & Operations

adequate
06.18

1 of 3 deployed images carry no version, or `latest`

adequate

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

06.14

Readiness and liveness probes are identical in 5 of 5 workloads

adequate

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

06.33

3 of 9 deployments run a single replica

adequate

3 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 assessable

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