Repository navigation
chore(deps): book the four advisories published today - #128
Merged
Merged
Conversation
Four high advisories landed on 2026-08-07 against the existing lockfile — two in image-size, two in nanoid — with no dependency change on our side. The audit gate correctly went red, which turned every open PR red with it: #123 through #127 all fail identically on work that touches neither package. Neither reaches the browser, and that is verified rather than assumed — built the bundle and grepped dist/. image-size arrives only through @payloadcms/sdk > payload, a types-only dependency whose dist imports just qs-esm at runtime, and nothing here parses an image header. nanoid arrives through tailwindcss > postcss, which runs at build time; the one `nanoid` string in the bundle is zod's `.nanoid()` validator name, not the package. Both nanoid advisories have a fix (>=3.3.17) but the lockfile holds 3.3.8 under postcss 8.4.38's own pin, so it arrives free when postcss moves under #101 rather than justifying an override now. image-size has no published fix at all. Baselined against #101, which owns the dependency debt, with the reasoning recorded per entry so the next reader can re-judge it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Deploying sahajatlas-design with
|
| Latest commit: |
d1f4c8d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://af2fd37e.sahajatlas-design.pages.dev |
| Branch Preview URL: | https://chore-audit-new-advisories.sahajatlas-design.pages.dev |
Deploying sahajatlas with
|
| Latest commit: |
d1f4c8d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://147315e7.sahajatlas.pages.dev |
| Branch Preview URL: | https://chore-audit-new-advisories.sahajatlas.pages.dev |
Ardnived
added a commit
that referenced
this pull request
Aug 8, 2026
Conflict in scripts/audit-baseline.json: this branch baselined the four 2026-08-07 advisories to get its own CI green, and #128 then landed the same four as a dedicated change. Took main's version wholesale — same four ids, fuller per-entry reasoning, and one owner for the file rather than an audit decision buried in a perf diff. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This was referenced Aug 8, 2026
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four high advisories were published on 2026-08-07 against the existing lockfile — two in
image-size, two innanoid— with no dependency change on our side. The audit gate from #99 correctly went red, and took every open PR with it: #123, #125, #126 and #127 all fail identically on work that touches neither package. (#124 predates the publication and passed.)This books all four in one place, which is the alternative to three concurrent PRs each adding the same entries and conflicting.
Neither package reaches the browser — verified, not assumed
Built the bundle and grepped
dist/:dist/?image-size@payloadcms/sdk→payloadnanoidtailwind-variants→tailwindcss(peer) →postcsspayloadis a types-only dependency — its dist imports onlyqs-esmat runtime (.claude/rules/data-layer.md) — and nothing in this app parses an image header.postcssruns at build time. The singlenanoidstring in the bundle is zod's.nanoid()validator name, not the package.Why baseline rather than fix
image-size— no patched version published.nanoid— patched in>=3.3.17, but the lockfile holds3.3.8under[email protected]'s own pin, andpnpm update nanoidwill not move it. Forcing it needs apnpm.overridesentry for a build-time DoS that cannot be reached from our usage; it comes for free when postcss moves under chore(deps): update vulnerable deps and fix dompurify config #101. Adding an override now would be more maintenance surface than the risk warrants.Both are booked against #101, which already owns the dependency debt and the other twenty-three build-time transitives in this file. Each entry carries its own reasoning so the next reader can re-judge rather than inherit a bare id.
Acceptance criteria
pnpm audit:checkreports 0 new advisories (was 4)scripts/audit-baseline.jsonchanges — no lockfile, nopackage.jsondist/verified by build + grep, and the verification recorded in the entriesFiles affected
scripts/audit-baseline.jsonUnblocks #123, #125, #126, #127.