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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not 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
strongtemplates/with-cloudflare-d1/cloudflare-env.d.ts is 12,012 lines, 266× this codebase's median file
adequateThe 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.
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
strongTests are retried until they pass
adequateThe 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.
.github/scripts/a11y/report.spec.mjs:202 — test retry |
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe 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.
| tag v3.93.0 |
Security & Reliability Posture
adequate14 SQL statements built from strings
adequate14 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.
packages/db-sqlite/src/predefinedMigrations/migrateLocalizeStatus.ts:79 — SQL built from a string |
packages/drizzle/src/sqlite/predefinedMigrations/localize-status/index.ts:221 — SQL built from a string |
packages/drizzle/src/sqlite/predefinedMigrations/localize-status/index.ts:243 — SQL built from a string |
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.
packages/richtext-lexical/src/features/converters/lexicalToJSX/converter/index.tsx:40 — HTML from a variable |
packages/richtext-lexical/src/features/converters/lexicalToJSX/converter/index.tsx:88 — HTML from a variable |
packages/richtext-lexical/src/field/Diff/converters/listitem/index.tsx:35 — HTML from a variable |
Relicensed: terms that match no standard licence → MIT (2022-05-16)
adequateThe root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
license.md — terms that match no standard licence from 2021-01-02 |
license.md — MIT from 2022-05-16 |
52 advisories against this project in the last 24 months, 31 high or critical, 22 may affect the surveyed commit
adequateThe 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).
| 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
adequateSends usage data to telemetry.payloadcms.com by default
adequatepackages/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.
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 |
2 of 3 deployed images carry no version, or `latest`
adequate2 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.
templates/with-vercel-mongodb/docker-compose.yml:21 — image without a version |
templates/with-vercel-postgres/docker-compose.yml:22 — image without a version |
Fit with the Acquirer
not assessableNot 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.