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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
stronglocust/runners.py is 1,536 lines, 32× this codebase's median file
adequateThe 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.
locust/runners.py:1 — 1,536 lines (32× median) |
locust/stats.py:1 — 1,290 lines (26× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate7 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.
.github/workflows/tests.yml:48 — action pinned by tag |
.github/workflows/tests.yml:295 — action pinned by tag |
2 shell commands built from strings
adequate2 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.
hatch_build.py:15 — command run through a shell |
hatch_build.py:16 — command run through a shell |
8 deserialisers that can run code
adequate8 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.
locust/rpc/protocol.py:45 — code-executing deserialiser |
locust/rpc/zmqrpc.py:41 — code-executing deserialiser |
locust/rpc/zmqrpc.py:57 — code-executing deserialiser |
1 advisory against this project in the last 24 months, 1 may affect the surveyed commit
adequateThe 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).
| 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
adequateNo structured logging library is in use
adequateNothing 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.
| searched 361 files for 10 structured logging libraries; 0 matched |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot 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.