Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

payloadcms/payload

https://github.com/payloadcms/payload · scanned 2026-05-16 13:37 UTC (1 day, 6 hours ago) · 10 languages

1367 findings (172 legacy + 1195 scanner) 8/10 scanners ran 17th percentile · Typescript · huge (>500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 3 days, 3 hours ago · v1 · 1365 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
{# ── 2026-05-17 R27 #5: score breakdown panel ────────────────────── Surfaces the score_breakdown JSON that's been silently stored on Repository for months. Turns hidden math into a trust signal. #}
Score breakdown â 2026-05-17-v4 calibration-aware
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 23.7 0.25 5.92
testing_score 95.0 0.20 19.00
documentation_score 74.0 0.15 11.10
practices_score 75.0 0.15 11.25
code_quality 80.0 0.10 8.00
Overall 1.00 68.0
Calibrated penalty buckets (security_score): web: 3.0 · authz: 10.6 · docker: 140.4 · threat: 12.8 · journey: 44.4
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Bug-class explainers. Each card groups findings of the same shape — these are the patterns most likely to ship to prod and reappear in future scans unless you systematically fix the cause, not just the instance.

Fragile runtime 144 findings
What it is: Code that runs but breaks under predictable input — division by zero, missing keys, unbounded loops, off-by-one slicing.
Why it matters: Reaches production undetected because happy-path tests pass. First user with a weird input crashes the request.
How AI causes it: AI loves writing the happy path; doesn't probe edge cases unless explicitly asked.
Fix approach: Add property-based tests. Wrap external inputs with explicit validators. Use the framework's typed deserializer (Pydantic, attrs).
12 matching findings on this repo
  • medium [ERR002] Empty Catch Block: Empty catch blocks hide errors. templates/ecommerce/src/app/(app)/(account)/order…:38
  • medium Public web service has no security.txt .well-known/security.txt
  • medium Public web app has no Content Security Policy index.html
  • medium Frontend API reference is not matched by discovered backend routes templates/with-vercel-website/src/utilities/getMe…:7
  • medium Frontend API reference is not matched by discovered backend routes templates/with-vercel-website/src/endpoints/seed/…:43
  • medium Frontend API reference is not matched by discovered backend routes templates/website/src/utilities/getMediaUrl.ts:7
  • medium Frontend API reference is not matched by discovered backend routes templates/website/src/endpoints/seed/index.ts:43
  • medium Frontend API reference is not matched by discovered backend routes templates/ecommerce/src/endpoints/seed/index.ts:87
  • medium Frontend API reference is not matched by discovered backend routes packages/plugin-mcp/src/index.ts:93
  • medium Frontend API reference is not matched by discovered backend routes packages/plugin-mcp/src/index.ts:92
  • medium Frontend API reference is not matched by discovered backend routes packages/plugin-ecommerce/src/types/index.ts:197
  • medium Frontend API reference is not matched by discovered backend routes packages/plugin-ecommerce/src/types/index.ts:161
View all fragile runtime findings →
Legacy markers 5 findings
What it is: TODO, FIXME, XXX, HACK comments. Often indicate a known-broken path the author meant to fix.
Why it matters: Each marker is an unfinished thought. Production code shouldn't ship with debt that's documented but not tracked.
How AI causes it: AI mirrors the style of the codebase, so existing TODOs propagate into new code.
Fix approach: Convert each into a ticket. Delete the comment when the ticket lands. Use a pre-commit hook to block new TODOs without an issue link.
5 matching findings on this repo
  • low Legacy-named symbol `certIssuerDNLegacy` in test/storage-r2/cloudflare-env.d.ts…
  • low Legacy-named symbol `certIssuerDNLegacy` in templates/with-cloudflare-d1/cloudf…
  • low Legacy-named symbol `PopulateDocsDeprecated` in packages/ui/src/fields/Upload/t…
  • low Legacy-named symbol `walkIndexOld` in packages/ui/src/elements/HTMLDiff/diff/in…
  • low Legacy-named symbol `__copy` in packages/ui/src/elements/ArrayAction/index.tsx:…
View all legacy markers findings →
Commented-out code 68 findings
What it is: Lines of source that were intentionally disabled but never deleted.
Why it matters: Git already remembers history — commented code rots, becomes wrong, and adds noise to diffs.
How AI causes it: AI sometimes comments out broken code instead of fixing it. Reviewers approve out of inertia.
Fix approach: Delete. Trust `git log`. If you really need to remember, save it in a notes file under `docs/`.
12 matching findings on this repo
  • info Commented-code block (11 lines) in test/vitest.setup.ts:20
  • info Commented-code block (5 lines) in test/group-by/e2e.spec.ts:68
  • info Commented-code block (9 lines) in test/fields/seed.ts:153
  • info Commented-code block (5 lines) in test/fields/collections/ConditionalLogic/e2e.…
  • info Commented-code block (7 lines) in test/admin-root/e2e.spec.ts:59
  • info Commented-code block (5 lines) in test/live-preview/e2e.spec.ts:100
  • info Commented-code block (7 lines) in test/plugin-multi-tenant/e2e.spec.ts:1001
  • info Commented-code block (5 lines) in test/plugin-import-export/field-hooks.int.spe…
  • info Commented-code block (5 lines) in test/plugin-import-export/collections/Pages.t…
  • info Commented-code block (7 lines) in test/dashboard/config.ts:20
  • info Commented-code block (7 lines) in test/plugin-form-builder/config.ts:115
  • info Commented-code block (6 lines) in test/access-control/collections/Auth/index.ts…
View all commented-out code findings →
Config drift 49 findings
What it is: Settings duplicated across env files, Docker compose, K8s, and code defaults, all with slightly different values.
Why it matters: Production behaviour depends on whichever copy your loader reads first. Subtle bugs in staging that don't reproduce in dev.
How AI causes it: AI writes new config from memory rather than reading the existing source.
Fix approach: Pick one source of truth (env vars + a settings module). Have every other place import from there. Lint for duplicates in CI.
12 matching findings on this repo
  • low File has no detected symbols: release.config.js
  • low File has no detected symbols: sentry.server.config.ts
  • low File has no detected symbols: sentry.client.config.ts
  • low File has no detected symbols: eslint.config.js
  • low File has no detected symbols: vitest.config.ts
  • low File has no detected symbols: test/playwright.config.ts
  • low File has no detected symbols: test/playwright.bail.config.ts
  • low File has no detected symbols: test/uuid-v7/config.ts
  • low File has no detected symbols: test/benchmark-blocks/config.ts
  • low File has no detected symbols: test/group-by/config.ts
  • low File has no detected symbols: test/kv/config.ts
  • low File has no detected symbols: test/kv/eslint.config.js
View all config drift findings →
{# ── 2026-05-17 Round 14: AI-agent bridge footer ────────────────────── Discoverability: the /agents/voting/ guide + MCP manifest exist but aren't linked from anywhere users actually land. Small, opt-in footer. #}
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/836245fa-286f-4238-953c-95e0eac60349/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/836245fa-286f-4238-953c-95e0eac60349/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.