Repository navigation
fix(deps): bump ws to 8.23.0 and 7.5.14 for GHSA-37g9-w4hg-h9qr - #2987
Merged
Merged
Conversation
Contributor
Package TarballHow to installgh release download pr-2987-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-1.5.0.tgz |
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Lockfile-only change; I verified it end to end against the PR's base branch (v1.x):
- Diff is exactly the two
wsentries (bun.lock, 2 insertions / 2 deletions) — no reformatting, no unrelated churn, nocommand.md. - Integrity hashes match the npm registry for both versions:
ws@8.23.0→sha512-wCkmX8QMOrKjgO8HW2WyDbTSGeqkocxgDzS9iR79rEAexty6/2qzilx3Ag8Tqf9ykop3irLKle0MtVn5qjVnoQ==ws@7.5.14→sha512-u9Oi2nQ8SZnTUAf6spLLKF5TyqoG3Nbbrd4ai6Sjo4P24bycDewhQqtNMIg4bFpnpH/TD4qk4IuAVhT0HIIqug==
- Both resolutions still satisfy every declared range, so no
package.jsonedit is needed: direct depws: ^8.21.3,ink@7.1.1(^8.20.0),@fastify/websocket@11.3.0(^8.16.0),bedrock-agentcore@0.4.6(^8.18.3), andreact-devtools-core@7.0.1(ws: ^7). - 8.23.0's only behavioral addition is the
maxPendingAutoPongsoption (default-capped auto-pongs). The sole first-party consumer,src/core/harnessShell.ts, is a client that never pauses the socket or relies on unbounded auto-pong buffering, and its tests use a fake socket, so no code change is implied.
Non-blocking: ws@8.23.1 is now published with follow-up correctness fixes (permessage-deflate window-bits validation, cross-realm ArrayBuffer masking, redirect error handling) and also satisfies ^8.21.3. 8.23.0 is sufficient to clear GHSA-37g9-w4hg-h9qr, so this is only worth folding in if you happen to re-run bun audit fix.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1.x #2987 +/- ##
=======================================
Coverage 97.08% 97.08%
=======================================
Files 793 793
Lines 72910 72910
=======================================
Hits 70783 70783
Misses 2127 2127 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
vivdalal
approved these changes
Dec 2, 2026
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.
What
Bumps
wsfrom 8.21.3 to 8.23.0, and the copy nested underreact-devtools-corefrom 7.5.13 to 7.5.14. Lockfile only (bun audit fix); nopackage.jsonchange.Why
bun run auditfails inverify / Linuxon every PR and push tov1.xsince this advisory was published:ws>=8.0.0 <8.23.0 and >=7.0.0 <7.5.14: GHSA-37g9-w4hg-h9qr (high, memory exhaustion via unbounded automatic pong responses)wscomes in throughink,@fastify/websocket(viabedrock-agentcore) andreact-devtools-core.How tested
bun run auditreports no vulnerabilities (571 packages).bun test(7224 tests, 0 fail),typecheck,lint:check,format:check,secrets:checkandbuildpass.