Skip to content

chore: fix npm audit vulnerabilities#706

Open
cbarlow1993 wants to merge 1 commit into
tronprotocol:masterfrom
cbarlow1993:chore/npm-audit-fixes
Open

chore: fix npm audit vulnerabilities#706
cbarlow1993 wants to merge 1 commit into
tronprotocol:masterfrom
cbarlow1993:chore/npm-audit-fixes

Conversation

@cbarlow1993
Copy link
Copy Markdown

Summary

  • Bump axios 1.15.01.16.0 to address 13 advisories (high severity), including prototype pollution gadgets in validateStatus / parseReviver / withXSRFToken, NO_PROXY and SSRF bypasses, CRLF / null-byte / header injection, and DoS via deeply nested toFormData input.
  • Add uuid: 14.0.0 to overrides to remediate the moderate buffer-bounds advisory under nyc → istanbul-lib-processinfo (transitive dev dep). This avoids the npm audit fix --force recommendation that would downgrade nyc from 17.1.0 to 14.1.1.

After these changes, npm audit reports 0 vulnerabilities (down from 4: 1 high, 3 moderate).

Test plan

  • npm install clean
  • npm audit reports 0 vulnerabilities
  • npx tsc --project tsconfig.esm.json --noEmit passes
  • Reviewer: run full npm test / npm run coverage to confirm no regression from axios minor bump or transitive uuid upgrade under nyc

- Bump axios 1.15.0 -> 1.16.0 to address 13 advisories (high severity),
  including prototype pollution gadgets, NO_PROXY/SSRF bypasses, header
  injection, and DoS via deeply nested toFormData input.
- Add uuid 14.0.0 override to remediate the buffer-bounds advisory under
  nyc -> istanbul-lib-processinfo (transitive dev dep) without taking the
  destructive `npm audit fix --force` path that downgrades nyc to 14.1.1.

npm audit now reports 0 vulnerabilities.
@jonathunne
Copy link
Copy Markdown

Would love for this to be released soon!

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.

2 participants