Borehole · Project · free tier
mediacms-io/mediacms
Free reading: not for reliance
9bf46be · 396 commits · 1,882 files
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.

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

Architecture & Codebase — including AI provenance

strong
01.6

frontend/src/static/lib/file-uploader/5.13.0/fine-uploader.js is 7,414 lines, 121× this codebase's median file

adequate

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

01.15

122 errors caught and discarded in product code

adequate

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

Evidence
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

adequate
02.24

10% of recent commits change more than 2,000 lines

adequate

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

Evidence
13 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.19

13% of bug fixes add or change a test

adequate

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

Evidence
8 of 62

Security & Reliability Posture

adequate
05.6

1 Dockerfile runs the application as root

adequate

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

Evidence
Dockerfile — runs as root
05.25

1 environment file is committed

adequate

frontend/.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.

Evidence
frontend/.env — committed environment file
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/docker-build-push.yml:19 — action pinned by tag
.github/workflows/docker-build-push.yml:26 — action pinned by tag
05.13

7 outbound calls can wait forever

adequate

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

Evidence
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
05.26

12 locked dependencies have published vulnerabilities, 6 high or critical

adequate

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

Evidence
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
05.48

102 places insert HTML from a variable without sanitising it

adequate

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

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
static/vendor/select2 — 2 tracked files, no licence file
05.65

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

adequate

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

Evidence
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

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

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

Evidence
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
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,305 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
06.18

5 of 9 deployed images carry no version, or `latest`

adequate

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

Evidence
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 assessable

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