react-component / react-component/select
Security: 61 vulnerabilities in dev dependencies (dumi/umi/webpack toolchain)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running npm audit and compare it with npm audit --omit=dev to confirm the affected development toolchain. Review the dumi, umi, webpack, and father dependency paths, then evaluate safe upgrades and whether npm audit --audit-level=high can be tracked in CI; done means the reported development-dependency vulnerabilities are addressed without relying on --force.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript, webpack
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100