Skip to content

[Hackathon] fix(deps): update undici to resolve high-severity runtime advisories #674

Closed

Description

@0xanjalii

Verified against (commit SHA or released version)

commit a18d37c

Discord Username / User ID

vampire1140

What does this improvement do?

Summary

The lockfile resolves the direct runtime dependency undici to 7.29.1, which npm audit --omit=dev reports as vulnerable.

Impact

The affected package has a high-severity denial-of-service advisory involving excessive content-encoding handling, plus two additional advisories involving EventSource parser memory growth and SRI algorithm-token handling. Because undici is a production dependency, this affects installed CLI runtimes, not only local development.

Evidence

Verified on commit a18d37c:

undici 7.29.1
GHSA-xjj6-f33q-929c — CVSS 7.5 — unhandled error on excessive content-encodings
GHSA-4qv8-2p9j-2685 — unbounded memory in EventSource parser
GHSA-f72v-6w45-q472 — SRI bypass via non-lowercase algorithm tokens

Reproduction:

npm ci
npm audit --omit=dev

Expected fix

Update the direct dependency and lockfile to undici >= 7.30.1, then run the test suite and confirm the production audit is clean.

Details / implementation notes

This is a dependency-only fix: update package.json and package-lock.json, then verify npm test, npm run lint, and npm audit --omit=dev.

Confirmations

  • I have searched existing issues and this is not a duplicate.
  • I have provided my Discord identity above for reward coordination.

Activity

  1. added
    needs-triage
    hackathon
    on Oct 26, 2026
  2. 0xanjalii commented on Oct 28, 2026

    @0xanjalii
    Author

    /assign

  3. testsprite-hob commented on Oct 28, 2026

    @testsprite-hob

    Thanks for the interest, @0xanjalii! This issue hasn't been accepted for implementation yet — see the triage comment (a maintainer will label it accepted once it is). Feel free to check back, or ping us on Discord if it's been quiet.

  4. fyZhang66 commented on Oct 30, 2026

    @fyZhang66
    Contributor

    Thanks @0xanjalii — already done: undici is 7.30.1 on main since Dependabot's #355 (2026-10-27), and 0.15.0 was cut before that; the next release carries it. Closing as completed.

  5. removed
    needs-triage
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hackathon

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions