Borehole · Project · free tier
locustio/locust
Free reading: not for reliance
6a775b0 · 6,572 commits · 428 files
Read 2026-10-04

locustio/locust: technical due diligence, read from its repository

What Borehole read in locustio/locust's code and history at 6a775b0: 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 Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

locust/runners.py is 1,536 lines, 32× this codebase's median file

adequate

The median source file here is 48 lines. 2 files exceed 1,000 lines, the largest being 1,536. 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
locust/runners.py:1 — 1,536 lines (32× median)
locust/stats.py:1 — 1,290 lines (26× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

7 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. 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/tests.yml:48 — action pinned by tag
.github/workflows/tests.yml:295 — action pinned by tag
05.21

2 shell commands built from strings

adequate

2 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
hatch_build.py:15 — command run through a shell
hatch_build.py:16 — command run through a shell
05.22

8 deserialisers that can run code

adequate

8 places read data with a deserialiser that executes what it reads (PHP `unserialize`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
locust/rpc/protocol.py:45 — code-executing deserialiser
locust/rpc/zmqrpc.py:41 — code-executing deserialiser
locust/rpc/zmqrpc.py:57 — code-executing deserialiser
05.26

21 locked dependencies have published vulnerabilities, 2 high or critical in what ships

adequate

21 of 1,023 locked dependencies match 64 published advisories in OSV, 34 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
uv.lock — urllib3 2.7.0: GHSA-8988-9cw3-xx77 (high), fixed in 2.8.0
uv.lock — virtualenv 21.7.4: GHSA-94p9-xgh2-xp45 (high), fixed in 21.7.12; a development dependency
locust/webui/yarn.lock — brace-expansion 1.1.18: GHSA-6j4f-fj2g-mc7p (high), fixed in 1.1.19

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 361 files for 10 structured logging libraries; 0 matched
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 locustio/locust: 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.