Skip to content

chore: reduce vulnerable build dependency exposure #431

Closed

Description

@electrohyun

Current state

pnpm audit reports vulnerable PostCSS and Nano ID versions even though every parent range accepts their patched releases. The lockfile also starts with an unused pnpm 11.19 package-manager document before the workspace graph.

Docusaurus 3.10.2 still resolves [email protected]. The advisory metadata names 2.0.3 as the patched version, but npm has not published that version, so documentation builds can still reach the affected ICNS, JPEG XL, and HEIF parsers when processing contributor-controlled files.

Proposed change

Constrain only the vulnerable PostCSS and Nano ID ranges to their compatible patched versions, and remove the stale leading lockfile document without changing the importer or package counts.

Add a pre-build documentation image check that rejects the affected file signatures even when a file is renamed with a supported extension. Keep image-size, serialize-javascript, uuid, and esbuild on their supported parent graphs instead of forcing incompatible major overrides.

Behavior

  • This does not change smocket's delivery behavior

Activity

  1. added
    chore
    on Aug 26, 2026
  2. moved this from Backlog to In progress in smocketon Aug 26, 2026
  3. moved this from In progress to Done in smocketon Aug 27, 2026
  4. self-assigned this
    on Aug 27, 2026
  5. added this to the v1.0.0 milestone on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

chore

Type

No type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions