Borehole · Project · free tier
infisical/agent-vault
Free reading: not for reliance
d5836ec · 331 commits · 517 files
Read 2026-10-23

infisical/agent-vault: technical due diligence, read from its repository

What Borehole read in infisical/agent-vault's code and history at d5836ec: 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 provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

internal/store/sql_store.go is 3,661 lines, 35× this codebase's median file

adequate

The median source file here is 103 lines. 5 files exceed 1,030 lines, the largest being 3,661. 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
internal/store/sql_store.go:1 — 3,661 lines (35× median)
internal/server/server.go:1 — 1,441 lines (13× median)
internal/store/migrate.go:1 — 1,293 lines (12× median)
web/src/pages/vault/ServicesTab.tsx:1 — 1,203 lines (11× median)
internal/server/handle_vaults.go:1 — 1,079 lines (10× median)

Engineering Process & SDLC Maturity

adequate
02.24

8% of recent commits change more than 2,000 lines

adequate

14 of 165 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
14 commits over 2,000 lines

Product & Engineering Maturity

strong

No finding.

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
internal/isolation/assets/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

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
install.sh:5 — download piped into a shell
05.13

3 outbound calls can wait forever

adequate

3 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
cmd/catalog.go:23 — outbound call without a timeout
cmd/register.go:119 — outbound call without a timeout
cmd/server.go:697 — 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. 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.

Evidence
internal/store/sql_store.go:2007 — SQL built from a string
internal/store/migrate.go:52 — SQL built from a string
internal/store/migrate.go:168 — SQL built from a string

Observability & Operations

adequate
06.8

One request cannot be followed through the logs

adequate

Nothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.

Evidence
no request id, correlation id or tracing found
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 infisical/agent-vault: 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.