fix(deps): patch undici, ws & protobufjs advisories (npm audit 4 high to 0)#33
Merged
Waishnav merged 3 commits intoJun 23, 2026
Merged
Conversation
…ckfile Pins transitive dependencies of @earendil-works/pi-coding-agent to patched releases that resolve published high-severity advisories. The existing overrides for protobufjs and ws were not reflected in the committed package-lock.json, and undici was missing from the overrides entirely. - undici 8.3.0 -> 8.5.0 (GHSA-vmh5-mc38-953g TLS bypass, GHSA-pr7r-676h-xcf6 cache disclosure, GHSA-p88m-4jfj-68fv Set-Cookie header injection, GHSA-35p6-xmwp-9g52 response-queue poisoning, +3 more) — added to overrides - ws 8.20.1 -> 8.21.0 (GHSA-96hv-2xvq-fx4p memory-exhaustion DoS) - protobufjs 7.5.9 -> 7.6.4 (GHSA-f38q-mgvj-vph7 property shadowing, GHSA-wcpc-wj8m-hjx6 Any-expansion DoS) - @protobufjs/eventemitter 1.1.0 -> 1.1.1 (required by protobufjs 7.6.4) `npm audit`: 4 high -> 0. `npm ci --dry-run` resolves cleanly with no other package changes. Lockfile/manifest only; no source changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated dependency hardening to address published high-severity advisories in transitive dependencies of
@earendil-works/pi-coding-agent. Lockfile + manifest only — no source changes.npm auditcurrently reports 4 high-severity advisories. This PR takes it to 0.What changed
The repo already had
overridesforprotobufjsandws, but the committedpackage-lock.jsonpredated them, so the overrides were inert (the lockfile still resolved the vulnerable versions).undiciwas missing fromoverridesentirely. This PR addsundicitooverridesand updates the affected lockfile entries to the patched releases.undiciwsprotobufjs@protobufjs/eventemitterprotobufjs@7.6.4requires^1.1.1)All bumps are within the same major version.
Verification
npm audit: 4 high → 0npm ci --dry-run: resolves cleanly, no other package changes (@earendil-works/pi-coding-agentstays0.79.4, no major bumps)package.json(one override line) and fourpackage-lock.jsonentriesFiled by Aeon.