Skip to content

fix: enforce high-severity dependency security gate - #40

Merged
coeasy merged 9 commits into
mainfrom
fix/dependency-security-gate
Aug 26, 2026
Merged

fix: enforce high-severity dependency security gate#40
coeasy merged 9 commits into
mainfrom
fix/dependency-security-gate

Conversation

@coeasy

@coeasy coeasy commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Closes the high/critical npm dependency audit findings and makes dependency security a permanent CI gate for both the root runtime/tooling project and the Astro site.

Remediation

  • upgrades wrangler from 3.x to ^4.126.0
  • upgrades @cloudflare/workers-types to the Wrangler 4-compatible 5.x peer range
  • upgrades vitest to ^4.1.11 to leave the vulnerable legacy Vite/esbuild dependency path
  • refreshes the site lockfile to a non-vulnerable sharp / libvips chain
  • lockfiles were generated by npm with lifecycle scripts disabled; no hand-edited integrity metadata

Permanent security gates

  • adds read-only Dependency Security workflow for root + site
  • both projects run locked npm ci followed by npm audit --audit-level=high
  • existing CI also runs the high/critical audit before functional tests
  • no dependency-repair write job remains in the final workflow

Validation

  • root high/critical audit: success
  • site high/critical audit: success
  • CI / Ecosystem CI / Ecosystem Platform / Phase 7 / Phase 8: success
  • Runtime 0.1.0 Linux, macOS and Windows matrices: success
  • full tests, site check/build, Registry gate, npm package smoke, runtime syntax: success

Invariants

  • DSH runtime/public version remains 0.1.0
  • remote APIs remain /api/v1
  • Registry schema remains V3
  • deployment behavior remains routed through the existing authoritative Deploy Router

@coeasy
coeasy marked this pull request as ready for review August 26, 2026 04:05
@coeasy
coeasy merged commit 9191000 into main Aug 26, 2026
15 checks passed
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