Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Webhook Signature CompanionNew to Visual Studio Code? Get it now.
Webhook Signature Companion

Webhook Signature Companion

Gap Hunter Labs

|
1 install
| (0) | Free
Computes and verifies HMAC webhook signatures (GitHub/generic sha1/sha256/sha512) against a payload+secret, right in the editor. No data leaves your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Webhook Signature Companion (VS Code)

Computes and verifies HMAC webhook signatures (GitHub-style sha256=/sha1= prefix, generic sha1/sha256/sha512, hex or base64) against a payload and secret — right in the editor. No data leaves your editor.

v0.1, new niche. Not a port from the Gap Hunter Labs IntelliJ- family catalog. Evidence: multiple standalone web tools (WebhookRelay, MyDevTools, InventiveHQ) solve exactly this problem — none of them is a VS Code extension, even though it's a debugging step any webhook integration eventually needs.

What it does

Command: Webhook Signature Companion: Compute & Verify — opens a panel with fields for the raw payload, the secret, algorithm/encoding, and the received signature (paste the whole header value — the sha256= prefix is stripped automatically). Computes the HMAC using Node's built-in node:crypto (no third-party crypto library) and shows a clear match/mismatch verdict alongside the computed digest.

v0.1 scope, honestly noted: covers the generic HMAC(secret, payload) shape most providers use (GitHub, and any custom webhook implementation using the same convention). Stripe's scheme is structurally different (HMAC(secret, "<timestamp>.<payload>"), multiple versioned signatures in one header) and isn't implemented here — a real, separate mechanism, not a corner cut silently.

Privacy

See PRIVACY.md — zero network calls. Payload and secret you type are used only in-memory to compute the HMAC and are never written to disk or sent anywhere.

Development

npm install
npm run compile   # or: npm run watch
npm test

To build an installable package without publishing:

npx @vscode/vsce package

License

Apache License 2.0 — see LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft