Read 2026-11-03
complianceascode/content: technical due diligence, read from its repository
What Borehole read in complianceascode/content's code and history at 584615c: 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 | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
LICENSE: Relicensed: Unlicense → BSD-3-Clause (2018-01-19)
Architecture & Codebase — including AI provenance
strongssg/build_yaml.py is 3,642 lines, 364× this codebase's median file
adequateThe median source file here is 10 lines. 6 files exceed 1,000 lines, the largest being 3,642. 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.
ssg/build_yaml.py:1 — 3,642 lines (364× median) |
ssg/ext/boolean/boolean.py:1 — 1,496 lines (149× median) |
cmake/SSGCommon.cmake:1 — 1,464 lines (146× median) |
utils/ansible_roles_to_collection.py:1 — 1,130 lines (113× median) |
ssg/controls.py:1 — 1,124 lines (112× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest release, v0.1.82, is not on the branch this survey read; the newest release on it is v0.1.61. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v0.1.82 |
Security & Reliability Posture
strong24 dependencies float, and no lockfile is committed
adequateDependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.
docs/requirements.txt:1 — any version |
docs/requirements.txt:2 — any version |
docs/requirements.txt:3 — any version |
docs/requirements.txt:4 — any version |
docs/requirements.txt:5 — any version |
3 credential-shaped strings exist in the history
adequateMatches for private key block were committed at some point across 20,000 commits examined (the scan stopped at its limit, so older history was not read). The files that held them are no longer in the working tree — but removal from a file is not removal from the history, and the history is what transfers with the asset. What matters is whether each was rotated after it was committed. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.
| 3 cited: private key block pattern added here |
7 shell commands built from strings
adequate7 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.
utils/ansible_playbook_to_role.py:95 — command run through a shell |
utils/ansible_playbook_to_role.py:100 — command run through a shell |
utils/ansible_playbook_to_role.py:101 — command run through a shell |
3 deserialisers that can run code
adequate3 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
ssg/yaml.py:204 — code-executing deserialiser |
ssg/yaml.py:318 — code-executing deserialiser |
ssg/yaml.py:363 — code-executing deserialiser |
Observability & Operations
adequateOne request cannot be followed through the logs
adequateNothing 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.
| no request id, correlation id or tracing found |
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 complianceascode/content: 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.