Borehole · Project · free tier
octoprint/octoprint
Free reading: not for reliance
a51d2e4 · 10,469 commits · 1,085 files
Read 2026-10-04

octoprint/octoprint: technical due diligence, read from its repository

What Borehole read in octoprint/octoprint's code and history at a51d2e4: 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 & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • AGENTS.md:43: The project does not take pull requests
  • AGENTS.md:4: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js is 8,113 lines, 72× this codebase's median file

adequate

The median source file here is 112 lines. 32 files exceed 1,120 lines, the largest being 8,113. 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.

Evidence
src/octoprint/plugins/gcodeviewer/static/js/lib/pako.js:1 — 8,113 lines (72× median)
src/octoprint/plugins/serial_connector/serial_comm.py:1 — 7,251 lines (64× median)
src/octoprint/server/__init__.py:1 — 3,059 lines (27× median)
src/octoprint/plugin/types.py:1 — 2,705 lines (24× median)
src/octoprint/plugins/softwareupdate/__init__.py:1 — 2,629 lines (23× median)
01.15

230 errors caught and discarded in product code

adequate

230 places catch an error and do nothing with it, across 52 files (1.0 per thousand lines). Each is a failure the system will not report. They surface later as problems nobody can explain, and they are cheap to fix now.

Evidence
src/octoprint/_version.py:399 — error caught and discarded
src/octoprint/access/users.py:134 — error caught and discarded
src/octoprint/access/users.py:140 — error caught and discarded

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (tests/playwright/playwright.config.js). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.

Product & Engineering Maturity

adequate
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.58 to 0.80 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.

Evidence
first half 0.58, second half 0.80 (split 2019-05-07)
04.19

10% of bug fixes add or change a test

adequate

Of 481 fixes in the last 24 months, 50 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
50 of 481

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

6 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/build.yml:40 — action pinned by tag
.github/workflows/build.yml:214 — 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 (pickle). 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
src/octoprint/server/util/flask.py:853 — code-executing deserialiser
src/octoprint/util/__init__.py:512 — code-executing deserialiser
05.9

1 vendored component with no licence

adequate

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

Evidence
src/octoprint/static/vendor/fa5-power-transforms.min.css — 1 tracked files, no licence file
05.65

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

adequate

The newest was published on 2026-06-23. 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 1 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.11.8. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 2 records name octoprint with nothing tying them to this repository (CVE-2026-94489, CVE-2026-94490).

Evidence
2026-06-23: GHSA-j4h9-pm27-4rfw (high), fixed in 1.11.8: OctoPrint has possible file exfiltration via query parameters on upload endpoints
2026-06-23: GHSA-p6qx-ghxm-389h (moderate), fixed in 1.11.8: OctoPrint has XSS in its Suppressed Command Notifications
2026-01-27: GHSA-xg4x-w2j3-57h6 (moderate), fixed in 1.11.6: OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication
2025-11-04: GHSA-crvm-xjhm-9h29 (moderate), fixed in 1.11.4: OctoPrint vulnerable to XSS in Action Commands Notification and Prompt
2025-10-23: CVE-2025-62169 (high): OctoPrint-SpoolManager is a plugin for managing spools and all their usage metadata. In versions 1.8.0a2 and older of the testing branch and versions 1.7.7 and

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on octoprint/octoprint: 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.