Fixes #1293
Production withdrew the canary patch for pkg:npm/[email protected] (80630680-4da6-45f9-bba8-b888e0ffd58c now answers withdrawn from /patch/package, and Patch not found from /patch/view). It republished the fix at 2026-10-09 15:57Z as 642d7f02-ebc1-4ab0-99e2-07f5dd8463cb, with a new patched index.js (afterHash ec956dca…, previously 043f04d1…) and an added test/proto.js.
Main's run 37954539425 (CI), 37954539418 (Bun) and 37954539561 (vlt) failed because of this, which blocks every PR in the merge queue:
hosted-e2e: hosted proofs rewrote nothing ("production publishes no patches").
e2e_safety_pnpm: index.js hash did not match the old afterHash.
- Bun/vlt native legs:
patch 80630680-… is not granted: 'withdrawn'.
Change
The UUID and afterHash are updated in the production-facing tests (e2e_hosted_production, e2e_vendored_production, e2e_safety_pnpm, e2e_npm), in scripts/backtest-bun.py and scripts/backtest-vlt.py, and in docs/testing/bun-compatibility.md. Offline UUID-shape tests, wiremock suites and binary .lockb/golden fixtures keep the old UUID, because they never contact the service.
Verified locally
cargo test -p socket-patch-cli --test e2e_hosted_production -- --include-ignored: 65 passed.
--test e2e_safety_pnpm: 23 passed.
python3 -m unittest discover -s scripts/tests: 296 OK.
backtest-vlt.fetch_grant() returns the new tarball and its sha512.
Two existing failures are unrelated to this change, and neither suite is in the PR gate:
e2e_npm test_npm_uuid_shortcut and test_npm_global_lifecycle: the shortcut now runs hosted mode in a lockfile project.
e2e_vendored_production yarn_berry_vendored_install_proof: no manifest is written.
🤖 Generated with Claude Code
Note
Low Risk
Test and documentation constant updates only; no runtime or security-sensitive application code is modified.
Overview
Production withdrew the free-tier [email protected] canary patch and republished the same CVE fix under a new UUID, with updated patched index.js bytes. This PR retargets every production-facing pin so hosted/vendored e2e, npm/pnpm safety tests, Bun/vlt backtest scripts, and Bun compatibility docs use 642d7f02-ebc1-4ab0-99e2-07f5dd8463cb and the new afterHash (ec956dca…).
No CLI or patch-application logic changes—only constants and comments that gate CI against the live public proxy.
Reviewed by Cursor Bugbot for commit 84570cc. Configure here.