Skip to content

chore(LIB-2651): dependency-security cleanup + prod audit gate#399

Draft
Trebh wants to merge 1 commit into
mainfrom
feat/LIB-2651-maintenance-update
Draft

chore(LIB-2651): dependency-security cleanup + prod audit gate#399
Trebh wants to merge 1 commit into
mainfrom
feat/LIB-2651-maintenance-update

Conversation

@Trebh

@Trebh Trebh commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Part of LIB-2651 — design-system dependency-security cleanup. The published (production) surface is what reaches consuming apps; the dev/build tooling does not.

  • pnpm.overrides: patch the prod-reachable picomatch ReDoS (GHSA-c2c7-rcm5-vvqj) in both 2.x and 4.x ranges (via the tailwindcss peer), staying within-major; plus handlebars ≥4.7.9 and shell-quote ≥1.8.4 (dev criticals).
  • vitest 4.1.1 → 4.1.6 (@vitest/browser advisory).
  • Prod audit gate: pnpm audit --prod --audit-level high now passes (0 high/critical; 2 moderate below the gate). Enforced via the husky pre-push hook and .github/workflows/audit.yml (the real required check — repo had no CI, local hook is skippable).
  • .nvmrc 20.11.0 → 22.12.0 (align with engines.node); renovate.json.

Before un-drafting

⚠️ Build + Storybook were skipped on push (SKIP_*) — run pnpm build + the storybook suite to validate before marking ready.

Deferred to backlog (dev-only): the EOL Storybook babel-traverse chain and modernizing card-list's toolchain.

…n system)

The published (production) dependency surface is what reaches consuming apps; the dev/build tooling does not. This makes the prod surface clean + enforced and trims the cheap dev-tooling criticals.
- pnpm.overrides: patch the prod-reachable picomatch ReDoS (GHSA-c2c7-rcm5-vvqj) in both the 2.x and 4.x ranges (via tailwindcss>sucrase>tinyglobby), staying within-major; plus handlebars >=4.7.9 and shell-quote >=1.8.4 (dev criticals).
- vitest 4.1.1 -> 4.1.6 (root) for the @vitest/browser advisory.
- 'pnpm audit --prod --audit-level high' now passes (0 high/critical in prod; 2 moderate remain, below the gate). Enforced via the husky pre-push hook (skippable: SKIP_AUDIT_CHECK=1) AND .github/workflows/audit.yml (the real required check — the repo had no CI and the local hook is skippable).
- align .nvmrc (20.11.0) with engines.node (^22.12.0) -> 22.12.0.
- renovate.json for grouped low-noise updates (@awesome.me Pro kit excluded).

Deferred to backlog (dev-only, do not propagate to consumers): the EOL Storybook babel-traverse chain (no upstream fix) and modernizing packages/card-list's toolchain (vite 5 / plugin-vue 4 / vitest 1 — a bump that drags a full modernization, not a safe override).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4

@aikido-pr-checks aikido-pr-checks Bot Jun 11, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3rd party Github Actions should be pinned - high severity
A third-party GitHub Action was imported, and is not pinned via a hash. This leaves your CI/CD at risk for potential supply chain attacks, if the affected GitHub Action is compromised.

Suggested change
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant