Skip to content

fix(deps): pin standardwebhooks to avoid vulnerable ed25519 dependency - #58

Merged
klnap merged 1 commit into
mainfrom
fix/pin-standardwebhooks-1-3
Dec 4, 2026
Merged

klnap merged 1 commit into
mainfrom
fix/pin-standardwebhooks-1-3

Conversation

@klnap

@klnap klnap commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pin standardwebhooks to ~1.3.0. Version 1.4.x depends on @stablelib/ed25519, which carries GHSA-x3ff-w252-2g7j (no patched version listed). Published 0.4.2 consumers installed it through the ^1.3.0 range.
  • The package uses only HMAC Webhook signing and verification. 1.3.0 provides it unchanged.

Verification

  • Full bun run check passes locally (299 tests).
  • Clean npm and bun installs of the packed tarball: standardwebhooks@1.3.0, npm audit reports 0 vulnerabilities, and no @stablelib/ed25519.
  • Signed-request smoke test: a valid signature returns 200 and invokes the callback, and an invalid signature returns 401.
  • README generic HTTP consumer and producer snippets compile under strict with skipLibCheck: false.
  • Signatures from standardwebhooks@1.4.1 verify under 1.3.0 and match byte for byte.

Changeset

Patch release. Consumers no longer install the vulnerable transitive dependency.

standardwebhooks 1.4.x depends on @stablelib/ed25519, which has GHSA-x3ff-w252-2g7j. The package only uses HMAC Webhook signing and verification, which 1.3.0 provides unchanged.
@klnap
klnap merged commit 2901fcb into main Dec 4, 2026
4 checks passed
@klnap
klnap deleted the fix/pin-standardwebhooks-1-3 branch December 4, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant