webhook-authentication-security

Verify inbound webhook signatures and sign outbound deliveries with HMAC-SHA-256.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill webhook-authentication-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webhook-authentication-security
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/webhook-authentication-security
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill webhook-authentication-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inbound and outbound webhook security: ensuring authenticity, preventing tampering, replay, and SSRF, while rotating secrets and safely delivering events.

Core Features & Use Cases

  • Inbound: signature verification for incoming webhook payloads using HMAC-SHA-256, timestamp validation, and replay protection.
  • Outbound: signing outgoing payloads with per-endpoint secrets, delivery headers, and rotation strategy to minimize downtime.
  • URL validation and SSRF protection to guard customer endpoints from misconfigurations and private networks.

Quick Start

Register the middleware and start validating inbound webhooks using the built-in HMAC verification pattern.

Frequently Asked Questions about webhook-authentication-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify inbound webhook payloads using HMAC signatures?

To verify inbound webhook payloads, capture the raw request body and validate the HMAC-SHA-256 cryptographic signature against the incoming payload. This ensures authenticity and prevents tampering with your application's incoming webhooks.

What is the best way to prevent replay attacks on incoming webhooks?

Replay attacks on incoming webhooks are prevented using timestamp validation. By checking the delivery timestamp against a current time window, you ensure that expired or delayed webhook payloads are rejected before processing.

How do I sign outgoing webhook deliveries to customer endpoints?

Sign outgoing webhook deliveries by generating an HMAC signature using per-endpoint secrets and delivery headers. Implementing a secret rotation strategy minimizes downtime while guaranteeing that customer endpoints receive trusted events.

How can I protect customer webhook endpoints from SSRF vulnerabilities?

Protect customer webhook endpoints from SSRF vulnerabilities by applying strict URL validation and endpoint validation rules. This guards against misconfigurations and blocks outbound webhook deliveries from targeting private networks.

Can I use this webhook security approach for SaaS application integrations?

Yes, this approach is designed for SaaS applications requiring trusted integrations with third-party services and customer endpoints. It handles inbound validation, outbound signing, and secure secret storage and rotation.

Why does webhook signature verification require the raw request body?

Webhook signature verification requires the raw request body because cryptographic signatures must be computed over the exact bytes received. Any parsing or modification of the payload before signature computation invalidates the HMAC verification.