Read 2026-11-03
mediacms-io/mediacms: technical due diligence, read from its repository
What Borehole read in mediacms-io/mediacms's code and history at 9bf46be: 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 | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongfrontend/src/static/lib/file-uploader/5.13.0/fine-uploader.js is 7,414 lines, 121× this codebase's median file
adequateThe median source file here is 61 lines. 15 files exceed 1,000 lines, the largest being 7,414. 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.
frontend/src/static/lib/file-uploader/5.13.0/fine-uploader.js:1 — 7,414 lines (121× median) |
frontend-tools/video-editor/client/src/components/TimelineControls.tsx:1 — 5,008 lines (82× median) |
frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx:1 — 4,110 lines (67× median) |
static/tinymce/tinymce.d.ts:1 — 3,239 lines (53× median) |
frontend-tools/video-js/src/components/video-player/VideoJSPlayer.jsx:1 — 2,469 lines (40× median) |
122 errors caught and discarded in product code
adequate122 places catch an error and do nothing with it, across 25 files (0.7 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.
cms/settings.py:386 — error caught and discarded |
cms/settings.py:641 — error caught and discarded |
cms/settings.py:669 — error caught and discarded |
Engineering Process & SDLC Maturity
adequate10% of recent commits change more than 2,000 lines
adequate13 of 124 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 13 commits over 2,000 lines |
Product & Engineering Maturity
adequate13% of bug fixes add or change a test
adequateOf 62 fixes in the last 24 months, 8 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.
| 8 of 62 |
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 |
1 environment file is committed
adequatefrontend/.env is 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.
frontend/.env — committed environment file |
The build runs third-party code it does not pin
adequate6 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/docker-build-push.yml:19 — action pinned by tag |
.github/workflows/docker-build-push.yml:26 — action pinned by tag |
7 outbound calls can wait forever
adequate7 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
cli-tool/cli.py:53 — outbound call without a timeout |
cli-tool/cli.py:78 — outbound call without a timeout |
cli-tool/cli.py:87 — outbound call without a timeout |
12 locked dependencies have published vulnerabilities, 6 high or critical
adequate12 of 618 locked dependencies match 34 published advisories in OSV, 6 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.
frontend-tools/chapters-editor/yarn.lock — body-parser 1.20.8: GHSA-27r3-jxmh-p828 (high), fixed in 1.20.9 |
frontend-tools/video-js/yarn.lock — vite 4.5.14: GHSA-587h-7wmj-h5pm (high), fixed in 8.3.3 |
frontend-tools/chapters-editor/yarn.lock — vite 5.4.19: GHSA-587h-7wmj-h5pm (high), fixed in 8.3.3 |
102 places insert HTML from a variable without sanitising it
adequate102 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
frontend-tools/video-js/src/components/controls/CustomSettingsMenu.js:320 — HTML from a variable |
frontend-tools/video-js/src/components/controls/CustomSettingsMenu.js:321 — HTML from a variable |
frontend-tools/video-js/src/components/controls/CustomSettingsMenu.js:322 — HTML from a variable |
1 vendored component 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.
static/vendor/select2 — 2 tracked files, no licence file |
2 advisories against this project in the last 24 months, 2 high or critical
adequateThe newest was published on 2026-07-21. 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 9.4.0. Answer lives in: the release you run, set against each fixed version.
| 2026-07-21: CVE-2026-65054 (high): MediaCMS 8.2.0 contains an information disclosure vulnerability that allows authenticated users to expose private media metadata belonging to other users by add |
| 2024-11-08: GHSA-x3p4-4442-q2c3 (high), fixed in 4.1.0: Remote code execution vulnerabilities in MediaCMS |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 1,305 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 1,305 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No 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,305 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 |
5 of 9 deployed images carry no version, or `latest`
adequate5 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.
docker-compose-dev.yaml:76 — image without a version |
docker-compose/docker-compose-named-volumes.yaml:54 — image without a version |
docker-compose/docker-compose-https-proxy.yaml:5 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on mediacms-io/mediacms: 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.