Read 2026-10-04
matomo-org/matomo: technical due diligence, read from its repository
What Borehole read in matomo-org/matomo's code and history at 7d091be: 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 | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
.gitmodules:1: 17 submodule(s) this survey does not read: plugins/SecurityInfo, plugins/TreemapVisualization, plugins/VisitorGenerator
Architecture & Codebase — including AI provenance
strongplugins/GeoIp2/data/isoRegionNames.php is 48,727 lines, 601× this codebase's median file
adequateThe median source file here is 81 lines. 43 files exceed 1,000 lines, the largest being 48,727. 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.
plugins/GeoIp2/data/isoRegionNames.php:1 — 48,727 lines (601× median) |
plugins/GeoIp2/data/regionMapping.php:1 — 4,636 lines (57× median) |
plugins/CoreVisualizations/javascripts/jqplot.js:1 — 2,444 lines (30× median) |
core/DataTable.php:1 — 2,336 lines (28× median) |
plugins/SitesManager/API.php:1 — 2,185 lines (26× median) |
A move from JavaScript to TypeScript began 76 months ago and is 40% done
adequate185 product files are in the new language and 274 are still in the old one, 76 months after the first new file appeared. The new language's share of the lines rose from 0% to 11%, and moved 4 percentage points in the last year. Two languages for one job doubles what an engineer has to know, and the unmoved half is usually what nobody wants to touch. Ask whether finishing it is planned, and what it costs.
| 274 old, 185 new |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest release, 5.14.0, is not on the branch this survey read; the newest release on it is 5.0.3. The shipped product may differ from what this report describes. Survey the release branch too.
| tag 5.14.0 |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate5 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/buildvue.yml:78 — action pinned by tag |
.github/workflows/dependabot_prs.yml:26 — action pinned by tag |
4 deserialisers that can run code
adequate4 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.
core/Common.php:309 — code-executing deserialiser |
core/Session/SaveHandler/SessionDataMerger.php:61 — code-executing deserialiser |
core/Session/SaveHandler/SessionDataMerger.php:102 — code-executing deserialiser |
11 places insert HTML from a variable without sanitising it
adequate11 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.
libs/jqplot/excanvas.min.js:1 — HTML from a variable |
libs/jqplot/excanvas.min.js:1 — HTML from a variable |
libs/jqplot/excanvas.min.js:1 — HTML from a variable |
2 vendored components 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.
node_modules/vue — 14 tracked files, no licence file |
plugins/UserCountryMap/javascripts/vendor/kartograph.min.js — 1 tracked files, no licence file |
Observability & Operations
not assessableNot rated: only 4 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 assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on matomo-org/matomo: 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.