-
-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Description
Summary
npm audit reports 61 vulnerabilities (25 high, 28 moderate, 8 low) when dev dependencies are included. They come from the docs/build toolchain (dumi, umi, webpack, father, etc.), not from the published library’s production dependencies.
Impact
- Production / published package: No impact —
npm audit --omit=devshows 0 vulnerabilities. - Developers & CI: Anyone running
npm install,npm run build,npm run compile, ornpm start(dumi dev) installs and uses these vulnerable dev dependencies.
Notable advisories (high severity)
serialize-javascript— RCE via RegExp.flags / Date.prototype.toISOStringminimatch— ReDoSnode-fetch— header forwarding / redirect size issuespath-to-regexp— backtracking ReDoSnth-check— ReDoS- Plus moderate issues in
@babel/runtime,esbuild,react-router,ajv,elliptic,send, etc.
Suggested actions
- Run
npm auditand, where safe,npm audit fix(avoid--forceunless you accept breaking changes). - Upgrade dumi/umi and related tooling to versions that depend on patched packages.
- Optionally track this in CI (e.g.
npm audit --audit-level=high) so regressions are caught.
Hey, @afc163 are you able to assign it to me, if needed?
Best regards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels