Borehole · Project · free tier
payloadcms/payload
Free reading: not for reliance
25dfb24 · 16,292 commits · 9,927 files
Read 2026-11-08

payloadcms/payload: technical due diligence, read from its repository

What Borehole read in payloadcms/payload's code and history at 25dfb24: 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 & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • license.md: Relicensed: terms that match no standard licence → MIT (2022-05-16)
  • CONTRIBUTING.md:43: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

templates/with-cloudflare-d1/cloudflare-env.d.ts is 12,012 lines, 266× this codebase's median file

adequate

The median source file here is 45 lines. 20 files exceed 1,000 lines, the largest being 12,012. 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
templates/with-cloudflare-d1/cloudflare-env.d.ts:1 — 12,012 lines (266× median)
templates/ecommerce/src/payload-types.ts:1 — 2,213 lines (49× median)
templates/website/src/payload-types.ts:1 — 2,207 lines (49× median)
packages/payload/src/index.ts:1 — 2,193 lines (48× median)
packages/payload/src/fields/config/types.ts:1 — 2,152 lines (47× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (.github/scripts/a11y/report.spec.mjs). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v3.93.0, is not on the branch this survey read; the newest release on it is v3.84.0. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v3.93.0

Security & Reliability Posture

adequate
05.20

14 SQL statements built from strings

adequate

14 places in product code build SQL by formatting or joining strings rather than passing parameters. 4 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.

05.48

11 places insert HTML from a variable without sanitising it

adequate

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

Relicensed: terms that match no standard licence → MIT (2022-05-16)

adequate

The root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
license.md — terms that match no standard licence from 2021-01-02
license.md — MIT from 2022-05-16
05.65

52 advisories against this project in the last 24 months, 31 high or critical, 22 may affect the surveyed commit

adequate

The newest was published on 2026-10-08. 22 may affect the surveyed version, placed from version numbers. Check each against the release you run. GHSA-pj7x-6wpf-pgvp (high), GHSA-4ww4-68q3-h7g5 (high) are fixed in the surveyed commit; which release carries them cannot be told from this history, which does not place the release users run. Answer lives in: the version you run. The record is incomplete: NVD: its keyword search for 'payload' is too broad to read whole (6,799 records).

Evidence
2026-10-08: GHSA-8j2x-hjh9-3ff8 (moderate), fixed in >= 3.90.0: Incorrect authorization for framework collections
2026-10-08: GHSA-97w9-jq7h-73pq (moderate), fixed in >= 3.90.0: Improper Neutralization of Formula Elements in a CSV File in plugin-import-export
2026-10-08: GHSA-m35c-r5p5-c3w8 (moderate), fixed in >= 3.90.0: Improper Restriction of Excessive Authentication Attempts
2026-10-08: GHSA-g6p9-6gm4-cj6m (moderate), fixed in >= 3.90.0: Authorization bypass of client uploads
2026-10-08: GHSA-wvw7-x9pg-w4cc (moderate), fixed in >= 3.90.0: Insufficient session expiration after password changes

Observability & Operations

adequate
06.35

Sends usage data to telemetry.payloadcms.com by default

adequate

packages/payload/src/utilities/telemetry/index.ts sends to telemetry.payloadcms.com, and packages/payload/src/config/defaults.ts leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told.

Evidence
packages/payload/src/utilities/telemetry/index.ts:101 — reports to telemetry.payloadcms.com
packages/payload/src/config/defaults.ts:138 — the reporting setting is on by default
06.18

2 of 3 deployed images carry no version, or `latest`

adequate

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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

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