Borehole · Project · free tier
prestashop/prestashop
Free reading: not for reliance
23e02bd · 50,000 commits · 15,981 files
Read 2026-10-23

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

What Borehole read in prestashop/prestashop's code and history at 23e02bd: 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 Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

js/jquery/ui/jquery-ui.js is 15,004 lines, 238× this codebase's median file

adequate

The median source file here is 63 lines. 61 files exceed 1,000 lines, the largest being 15,004. 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
js/jquery/ui/jquery-ui.js:1 — 15,004 lines (238× median)
js/tiny_mce/themes/mobile/theme.js:1 — 12,772 lines (202× median)
classes/Product.php:1 — 8,333 lines (132× median)
classes/Cart.php:1 — 5,292 lines (84× median)
js/jquery/plugins/jstree/jquery.jstree.js:1 — 4,552 lines (72× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

82 files still carry code deprecated more than two years ago

adequate

82 files were marked deprecated over two years ago and still are, the oldest since Dec 2020. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

Evidence
src/Core/Util/DateTime/DateTime.php — deprecated since Dec 2020
src/PrestaShopBundle/Controller/Admin/Improve/Design/CmsPageController.php — deprecated since Jan 2021
classes/Carrier.php — deprecated since Jan 2021
classes/Combination.php — deprecated since Feb 2021
classes/stock/StockAvailable.php — deprecated since Feb 2021

Security & Reliability Posture

adequate
05.25

1 environment file is committed

adequate

.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
.env — committed environment file
05.27

The build runs third-party code it does not pin

adequate

13 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/add-issue-to-project.yml:9 — action pinned by tag
.github/workflows/api-module.yml:32 — action pinned by tag
05.22

4 deserialisers that can run code

adequate

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

Evidence
classes/Tools.php:3910 — code-executing deserialiser
classes/Tools.php:3914 — code-executing deserialiser
install-dev/classes/session.php:90 — code-executing deserialiser
05.26

25 locked dependencies have published vulnerabilities, 10 high or critical in what ships

adequate

25 of 572 locked dependencies match 65 published advisories in OSV, 32 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.

Evidence
admin-dev/themes/default/package-lock.json — form-data 4.0.0: GHSA-fjxv-7rqg-78g4 (critical), fixed in 4.0.4; reached only by the build
admin-dev/themes/new-theme/package-lock.json — @vue/server-renderer 3.5.9: GHSA-g2v6-rqmx-r4w6 (high), fixed in 3.5.42
admin-dev/themes/new-theme/package-lock.json — http-cache-semantics 4.1.1: GHSA-ch52-4w7c-c8xp (high)
05.48

122 places insert HTML from a variable without sanitising it

adequate

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

Evidence
admin-dev/filemanager/js/dropzone.min.js:1 — HTML from a variable
admin-dev/filemanager/js/dropzone.min.js:1 — HTML from a variable
admin-dev/filemanager/js/jquery.js:4 — HTML from a variable
05.9

6 vendored components 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
admin-dev/themes/default/css/vendor/nv.d3.css — 1 tracked files, no licence file
admin-dev/themes/default/css/vendor/titatoggle-min.css — 1 tracked files, no licence file
admin-dev/themes/default/js/vendor/nv.d3.min.js — 1 tracked files, no licence file
admin-dev/themes/default/scss/vendor/_animate.sass — 1 tracked files, no licence file
js/vendor/bower.json — 1 tracked files, no licence file
js/vendor/d3.v3.min.js — 1 tracked files, no licence file
05.10

Licence text does not match a standard licence

adequate

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

Evidence
LICENSE.md:1 — 6 lines, unrecognised
05.65

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

adequate

The newest was published on 2026-09-16. 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 16 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.2.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 43 records name PrestaShop with nothing tying them to this repository (CVE-2008-6503, CVE-2011-4544, CVE-2011-4545, …).

Evidence
2026-09-16: CVE-2026-92809 (moderate): PrestaShop psgdpr versions through 1.4.3 fail to validate that GDPR consent log entries are attributed to the authenticated customer. Authenticated attackers ca
2026-09-16: CVE-2026-92810 (moderate): PrestaShop blockwishlist through 3.0.2 fails to validate wishlist ownership in the getUrlByIdWishListAction method, allowing authenticated customers to retrieve
2026-09-07: CVE-2026-84186 (moderate): Vulnerability involving incorrect access control in the Tools::getRemoteAddr() function in PrestaShop, which allows the client’s IP address to be spoofed via th
2026-08-18: GHSA-xrwj-pq6w-f8m4 (high), fixed in 8.2.8: Server-Side Request Forgery through image URLs in the CSV import
2026-08-18: GHSA-2cr4-vw9p-pjvf (high), fixed in 8.2.8: Client IP address can be spoofed through the X-Forwarded-For header

Observability & Operations

strong

No finding.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

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