Audit clean with dev tooling: overrides for esbuild (<0.25, via drizzle-kit), eslint (<9.39.4, @eslint/plugin-kit) and minimatch (7–11.0.7, via typescript-eslint); security:gate fails on moderate and above in the production tree and the dev tooling (--audit-level, --prod-only to loosen); doctor transitive-min warns on esbuild for Postgres sites; AGENT.md §4 item 12, skills, security.md, changelog

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-02 00:41:46 +01:00
co-authored by Claude Opus 5.5
parent f38a8cc677
commit b9bcd55ac4
12 changed files with 262 additions and 577 deletions
+7 -2
View File
@@ -184,6 +184,10 @@ This heading and the 1.17.2 section below (never released on its own) become one
> redeploy. The plugin, the reference site and new sites from `iapl create` carry it. The same for `cross-spawn`
> below 7.1.0 (GHSA-ghv9-86vm-4v8m, critical, command injection when spawning batch files — Windows only; comes
> with `cross-env` and `eslint`): `"cross-spawn@>=7 <7.1.0": "^7.1.2"`.
> **Postgres sites:** `esbuild` below 0.25 (GHSA-67mh-4wv8-2f99, moderate) comes with `@payloadcms/db-postgres` →
> `drizzle-kit`; `transitive-min` warns, fix `"esbuild@<0.25.0": "^0.25.12"`. The plugin's own dev tooling is clean
> too now (`eslint` 9.39.4 and `minimatch` 11.0.10 through overrides); AGENT.md §4 item 12 lists them for a project
> that uses `@payloadcms/eslint-config`.
>
> **Recommended for projects:** a text field of your own whose value goes into `href` (social profiles, a website)
> becomes `buildUrlField()` and its render goes through `safeHref()` (F2) — no schema change, it stays a text column.
@@ -201,8 +205,9 @@ This heading and the 1.17.2 section below (never released on its own) become one
> Playwright template `iapl-audit/resources/attack-probes.spec.template.ts`. Exported: `ATTACK_PROBES`,
> `runAttackProbes`, `createProbeContext`, `scanCode`, `scanConfigs` (`@intecion/ipal-kit/doctor`). A site on the
> 1.18.0 defaults passes every probe; `markdown-vary`, `unbounded-list` or `sort-operator` mean a fix above is off.
> - **For the plugin's own release:** `pnpm security:gate` (in `prepublishOnly`): `pnpm audit --prod` with no high /
> critical, the static-rule gate and the per-class tests; `--zap <url>` adds an optional OWASP ZAP baseline scan.
> - **For the plugin's own release:** `pnpm security:gate` (in `prepublishOnly`): `pnpm audit` with no moderate, high
> or critical advisory in the production tree **and the dev tooling** (lows reported; `--audit-level high` or
> `--prod-only` for the looser rule), the static-rule gate and the per-class tests; `--zap <url>` adds an optional OWASP ZAP baseline scan.
>
> **New exports:** `buildQueryGuardHook`, `applyQueryGuard`, `capListLimit`, `isOperatorSort`, `isStaffRequest`,
> `RefusedSortError`, `DEFAULT_LIST_LIMIT`, `isQueryGuardHook`, `QUERY_GUARD_MARK`, `applyLockedDocumentsAccess`,