Read 2026-10-23
magento/magento2: technical due diligence, read from its repository
What Borehole read in magento/magento2's code and history at 0af2ad9: 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 | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate62% of commit subjects are exact repeats of another subject, and subject length varies by only 33.5 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like. This was read from the most recent 50,000 commits (11 Aug 2020 to 22 Oct 2026) only; older history was not read.
| 124× 'B2B-2658: Implement GraphQL Resolver Cache for Customer quer' |
| 124× 'AC-13306::Adobe Commerce 2.4.8 core code is compatible with ' |
| 107× 'AC-15351::Identify and replace all Zend_Cache usages with sy' |
lib/web/jquery/jquery-ui.js is 18,842 lines, 258× this codebase's median file
adequateThe median source file here is 73 lines. 113 files exceed 1,000 lines, the largest being 18,842. 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.
lib/web/jquery/jquery-ui.js:1 — 18,842 lines (258× median) |
lib/web/jquery.js:1 — 10,717 lines (146× median) |
lib/web/jquery/jstree/jquery.jstree.js:1 — 8,746 lines (119× median) |
lib/web/hugerte/models/dom/model.js:1 — 8,055 lines (110× median) |
lib/web/prototype/prototype.js:1 — 7,670 lines (105× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe newest pre-release, 2.4.10-alpha1, is not on the branch this survey read; the newest release on it is 2.4.9. The shipped product may differ from what this report describes. Survey the release branch too. This was read from the most recent 50,000 commits (11 Aug 2020 to 22 Oct 2026) only; older history was not read.
| tag 2.4.10-alpha1 |
Security & Reliability Posture
adequate258 deserialisers that can run code
adequate258 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.
app/code/Magento/Analytics/Model/Connector/Http/JsonConverter.php:47 — code-executing deserialiser |
app/code/Magento/Analytics/ReportXml/QueryFactory.php:133 — code-executing deserialiser |
app/code/Magento/AsyncConfig/Model/Consumer.php:78 — code-executing deserialiser |
15 locked dependencies have published vulnerabilities, 13 high or critical in what ships
adequate15 of 148 locked dependencies match 43 published advisories in OSV, 15 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.
composer.lock — mtdowling/jmespath.php 2.8.0: GHSA-pcw8-m77r-2528 (critical), fixed in 2.9.1; the advisory applies only under a condition it states |
composer.lock — composer/composer 2.9.5: GHSA-499r-g7pc-vmp9 (high), fixed in 2.10.2 |
composer.lock — guzzlehttp/guzzle 7.10.0: GHSA-v5mv-p594-2x33 (high), fixed in 7.15.2 |
18 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.
dev/tests/integration/testsuite/Magento/Deploy/_files/Vendor/child — 3 tracked files, no licence file |
dev/tests/integration/testsuite/Magento/Deploy/_files/Vendor/parent — 4 tracked files, no licence file |
dev/tests/integration/testsuite/Magento/Email/Model/_files/design/adminhtml/Vendor/custom_theme — 2 tracked files, no licence file |
dev/tests/integration/testsuite/Magento/Email/Model/_files/design/adminhtml/Vendor/default — 2 tracked files, no licence file |
dev/tests/integration/testsuite/Magento/Email/Model/_files/design/frontend/Vendor/custom_theme — 5 tracked files, no licence file |
dev/tests/integration/testsuite/Magento/Email/Model/_files/design/frontend/Vendor/default — 5 tracked files, no licence file |
Licence text does not match a standard licence
adequateLICENSE.txt exists but its text does not match any standard licence. A bespoke or hand-edited licence is not wrong, but it cannot be cleared by recognising its name: counsel has to read it, and until they do neither side knows precisely what rights transfer with the code.
LICENSE.txt:1 — 48 lines, unrecognised |
Observability & Operations
not assessableNot 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 assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on magento/magento2: 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.