Repository navigation
fix: raise next floor and drop stale override pins to resolve Snyk vulnerabilities - #77
Conversation
…lnerabilities Lock file regenerated (cleared the next RCE/SSRF and dompurify XSS on its own). Direct upgrades: next ^16.3.8 Overrides: removed stale pins sharp, qs, nanoid, undici, js-yaml (postcss kept); the sharp pin was holding the vulnerable 0.35.4 in place. Vuln count: snyk 4 -> 0 (20 sharp-libvips license flags unchanged), npm audit 10 -> 5 (remaining are open-ended tooling ranges with no fix). Compiles; prerender needs real stack credentials, unchanged from main. Co-Authored-By: Claude Fable 5.1 <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
…0261007 Conflicts in package.json (overrides) and package-lock.json resolved to this branch's side: the stale qs/sharp/nanoid/undici/js-yaml pins stay removed; only postcss 8.5.25 is kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ilities Lock file regenerated (fixed 8 on its own: undici 8.10.2 -> 8.12.3 once the stale pin is gone). Direct upgrades: none Overrides: qs 6.16.1 (@contentstack/core 1.5.3 pins qs to exactly 6.16.0) Vuln count: snyk 9 → 0, npm audit 2 → 0. Build: next compiles and typechecks; collecting page data needs real stack credentials, same as before this change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
…rabilities Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Problem
Snyk flags
undici8.10.2 (2 critical, 6 high) andqs6.16.0 (1 high) onmain. Both are held there by exact pins: theundicioverride sits below the^8.11.2thatjsdomasks for, and@contentstack/core1.5.3 (its latest release) pinsqsto 6.16.0 itself.Fix
maininto this branch and kept this PR's removal of the staleqs,sharp,nanoid,undiciandjs-yamloverride pins. Thepostcss8.5.25 pin stays.package-lock.jsonfrom a clean install:undicinow resolves to 8.12.3 andnextto 16.4.3.qs: 6.16.1override (patch, same major) until@contentstack/coreships a release without the exact pin.main.The kickstart is an app, so the lock file is what ships. Result: Snyk 9 → 0, npm audit 2 → 0. Still open: the 10 LGPL-3.0 licence flags on
@img/sharp-libvips-*(a licence finding with no fixed version).Verified:
next buildcompiles and typechecks; collecting page data for/needs real stack credentials, same as before this change.🤖 Generated with Claude Code