Read 2026-11-03
part-db/part-db-server: technical due diligence, read from its repository
What Borehole read in part-db/part-db-server's code and history at 0a2e02a: 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 | adequate |
| Security & Reliability Posture | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2020-02-22)
Architecture & Codebase — including AI provenance
strongconfig/reference.php is 3,691 lines, 41× this codebase's median file
adequateThe median source file here is 88 lines. 6 files exceed 1,000 lines, the largest being 3,691. 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.
config/reference.php:1 — 3,691 lines (41× median) |
assets/controllers/pages/component_image_generator_controller.js:1 — 2,375 lines (26× median) |
src/Services/InfoProviderSystem/Providers/OEMSecretsProvider.php:1 — 1,454 lines (16× median) |
assets/controllers/elements/model_viewer_controller.js:1 — 1,446 lines (16× median) |
src/Services/System/UpdateExecutor.php:1 — 1,073 lines (12× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate19% of bug fixes add or change a test
adequateOf 274 fixes in the last 24 months, 53 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.
| 53 of 274 |
Security & Reliability Posture
strong2 environment files are committed
adequate.env, .env.docker are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
.env — committed environment file |
.env.docker — committed environment file |
The build runs third-party code it does not pin
adequate8 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/assets_artifact_build.yml:33 — action pinned by tag |
.github/workflows/docker_build.yml:39 — action pinned by tag |
2 deserialisers that can run code
adequate2 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.
migrations/Version20250813214628.php:25 — code-executing deserialiser |
migrations/Version20250813214628.php:27 — code-executing deserialiser |
2 locked dependencies have published vulnerabilities
adequate2 of 902 locked dependencies match 2 published advisories in OSV. 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.
Relicensed: GPL-3.0 → AGPL-3.0 (2020-02-22)
adequateThe root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.
11 advisories against this project in the last 24 months, 2 high or critical
adequateThe newest was published on 2026-09-17. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.
| 2026-09-17: GHSA-m9rf-69wp-c56r (high), fixed in 2.13.3+: Part-DB: Password Reset Link Poisoning via Host Header Injection leads to pre-authentication Account Takeover |
| 2026-07-19: GHSA-hxw4-frfg-f8jw (moderate), fixed in 2.13.2+: Spreadsheet Formula Injection in XLSX Part Exports |
| 2026-07-19: GHSA-8fvw-xrgv-jq4w (low), fixed in 2.13.2+: Attachment Size Limit Bypass via API Base64 Upload |
| 2026-07-19: GHSA-2whx-2cx7-qvq6 (low), fixed in 2.13.2+: Authenticated Disk Exhaustion via Unbounded Server-Side Attachment Downloads |
| 2026-07-19: GHSA-2vhp-c958-m47j (moderate), fixed in 2.12.3: SVG Sanitization Bypass via Extension Spoofing Leads to Stored XSS in Attachment Viewer |
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 1,511 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 part-db/part-db-server: 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.