Read 2026-10-23
fosrl/pangolin: technical due diligence, read from its repository
What Borehole read in fosrl/pangolin's code and history at 04bf1e1: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
.github/PULL_REQUEST_TEMPLATE.md:7: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate36% of commit subjects are exact repeats of another subject, and subject length varies by only 15.6 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 132× 'New translations en-us.json (German)' |
| 126× 'New translations en-us.json (Portuguese)' |
| 125× 'New translations en-us.json (Italian)' |
server/lib/rebuildClientAssociations.ts is 3,278 lines, 30× this codebase's median file
adequateThe median source file here is 106 lines. 27 files exceed 1,060 lines, the largest being 3,278. 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.
server/lib/rebuildClientAssociations.ts:1 — 3,278 lines (30× median) |
server/private/routers/hybrid.ts:1 — 2,887 lines (27× median) |
server/routers/external.ts:1 — 2,467 lines (23× median) |
server/lib/blueprints/publicResources.ts:1 — 2,375 lines (22× median) |
server/db/sqlite/schema/schema.ts:1 — 2,251 lines (21× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate45 test files against 1,829 source files (2.5%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 45 test files / 1,829 source files |
Product & Engineering Maturity
adequate105 direct dependencies in a single manifest
adequatepackage.json declares 105 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
package.json — 105 declared |
install/go.mod — 4 declared |
3% of bug fixes add or change a test
adequateOf 792 fixes in the last 24 months, 23 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 23 of 792 |
Security & Reliability Posture
adequate1 Dockerfile runs the application as root
adequateNo 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.
Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate1 third-party CI action is referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 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.
.github/workflows/cicd.yml:32 — action pinned by tag |
install/get-installer.sh:4 — download piped into a shell |
8 shell commands built from strings
adequate8 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.
install/containers.go:74 — command run through a shell |
install/containers.go:83 — command run through a shell |
install/containers.go:93 — command run through a shell |
3 locked dependencies have published vulnerabilities, 3 high or critical in what ships
adequate3 of 649 locked dependencies match 4 published advisories in OSV, 3 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.
package-lock.json — follow-redirects 1.16.0: GHSA-8r9p-f939-6h3c (high), fixed in 1.16.1 |
package-lock.json — node-forge 1.4.0: GHSA-86w9-cpqp-85rv (high) |
package-lock.json — ip-address 10.7.1: GHSA-rxp7-6hxx-x8q5 (moderate), fixed in 10.7.4 |
14 vendored components with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
public/third-party/claude-dark.svg — 1 tracked files, no licence file |
public/third-party/claude-light.svg — 1 tracked files, no licence file |
public/third-party/dd.png — 1 tracked files, no licence file |
public/third-party/gemini-dark.svg — 1 tracked files, no licence file |
public/third-party/gemini-light.svg — 1 tracked files, no licence file |
public/third-party/incidentio.png — 1 tracked files, no licence file |
3 advisories against this project in the last 24 months, 2 high or critical
adequateThe newest was published on 2026-08-31. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 2 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.25.3. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names pangolin with nothing tying it to this repository (CVE-2018-1999032).
| 2026-08-31: CVE-2026-72001 (high): Pangolin before 1.22.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to access any protected resource by supplying an at |
| 2026-02-25: CVE-2026-3209 (low): A vulnerability has been found in fosrl Pangolin up to 1.15.4-s.3. This affects the function verifyRoleAccess/verifyApiKeyRoleAccess of the component Role Handl |
| 2025-12-30: CVE-2025-56332 (critical): Authentication Bypass in fosrl/pangolin v1.6.2 and before allows attackers to access Pangolin resource via Insecure Default Configuration |
Observability & Operations
strongNo 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 |
2 of 8 deployed images carry no version, or `latest`
adequate2 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
config/ha-reference/node2/docker-compose.yml:18 — image without a version |
install/config/crowdsec/docker-compose.yml:3 — image without a version |
The code branches on the environment's name at 19 places
adequate19 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.
server/db/names.ts:18 — branch on the environment name |
server/integrationApiServer.ts:22 — branch on the environment name |
server/lib/billing/features.ts:55 — branch on the environment name |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on fosrl/pangolin: 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.