Borehole · Project · free tier
part-db/part-db-server
Free reading: not for reliance
0a2e02a · 5,533 commits · 3,921 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Posturestrong
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2020-02-22)

Architecture & Codebase — including AI provenance

strong
01.6

config/reference.php is 3,691 lines, 41× this codebase's median file

adequate

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

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.19

19% of bug fixes add or change a test

adequate

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

Evidence
53 of 274

Security & Reliability Posture

strong
05.25

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

Evidence
.env — committed environment file
.env.docker — committed environment file
05.27

The build runs third-party code it does not pin

adequate

8 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/assets_artifact_build.yml:33 — action pinned by tag
.github/workflows/docker_build.yml:39 — action pinned by tag
05.22

2 deserialisers that can run code

adequate

2 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
migrations/Version20250813214628.php:25 — code-executing deserialiser
migrations/Version20250813214628.php:27 — code-executing deserialiser
05.26

2 locked dependencies have published vulnerabilities

adequate

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

Evidence
yarn.lock — minimatch 10.2.6: GHSA-g3hv-75wg-m249 (moderate), fixed in 11.0.1
yarn.lock — uuid 8.3.2: GHSA-w5hq-g745-h8pq (moderate), fixed in 11.1.1
05.60

Relicensed: GPL-3.0 → AGPL-3.0 (2020-02-22)

adequate

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

Evidence
LICENSE — GPL-3.0 from 2019-03-05
LICENSE — AGPL-3.0 from 2020-02-22
05.65

11 advisories against this project in the last 24 months, 2 high or critical

adequate

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

Evidence
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

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 1,511 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 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.