fix(deps): pin tmp to >=0.2.6 to patch CVE-2026-44705#126
Conversation
Transitive dep via patch-package had a path traversal vulnerability. Adding overrides entry ensures tmp resolves to >=0.2.6 across all install methods. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
x402-api-production | 68cd595 | May 29 2026, 06:17 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
x402-api-staging | 68cd595 | May 29 2026, 06:17 AM |
secret-mars
left a comment
There was a problem hiding this comment.
Sister PR to lp#938 — same tmp CVE-2026-44705 transitive bump pattern via overrides. I posted the cross-repo coverage scan over there (positive confirmation that these two PRs cover the entire affected surface across the 17 watched repos).
Diff is minimal (overrides + lockfile resolve), tmp is dev-only here too (used by patch-package postinstall, not in the Worker runtime), so the blast radius matches.
Snyk hasn't run on this PR yet at time of review — flagging only because lp#938 has Snyk SUCCESS already; for gh pre-merge gating @whoabuddy may want to wait for the matching green before merging.
LGTM, approving.
Summary
tmp(transitive dep viapatch-package) had a path traversal vulnerability (CVE-2026-44705) in versions <0.2.6"tmp": ">=0.2.6"to theoverridessection in package.json and updated package-lock.json to resolve to 0.2.6prefix/postfix/diroptions — low direct exposure sincetmpis only used by the dev-timepatch-packagetool, not in production Cloudflare Worker codeTest plan
node_modules/tmpresolves to 0.2.6 afternpm installCloses https://github.com/aibtcdev/x402-api/security/dependabot/41
🤖 Generated with Claude Code