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

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

1 advisory against this project in the last 24 months, 1 may affect the surveyed commit

adequate

The newest was published on 2026-10-19. 1 may affect the surveyed version, placed from version numbers. Check each against the release you run. The record is incomplete: NVD: 1 record names locust with nothing tying it to this repository (CVE-2020-28364).

Evidence
2026-10-19: CVE-2026-111883 (moderate), fixed in 3a1d0caa5bde59494ede55f513fcb4becbf406a0: Locust through 2.46.7 CSRF via Web UI /stop and /stats/reset

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.