Skip to content
Back to skills

Webhook Consumption

ASecurity

Receive webhooks reliably, verifying authenticity and handling duplicates, ordering, and retries. Use when a provider pushes events to your service.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgoapisecurity

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add Amey-Thakur/AI-SKILLS --skill webhook-consumption --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webhook Consumption?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Webhook Consumption
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/amey-thakur-webhook-consumption/badge)](https://www.skillsdirectory.com/skills/amey-thakur-webhook-consumption)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: webhook-consumption
description: Receive webhooks reliably, verifying authenticity and handling duplicates, ordering, and retries. Use when a provider pushes events to your service.
---

# Webhook consumption

A webhook endpoint is an unauthenticated public write path until you
verify it, and providers deliver at least once with no ordering
guarantee. Both facts must be designed for rather than discovered.

## Method

1. **Verify the signature before anything else.** An endpoint that acts
   on unverified payloads can be driven by anyone who knows the URL
   (see mcp-security-boundaries).
2. **Respond immediately and process asynchronously.** Acknowledge
   within the provider's timeout and queue the work, since slow
   processing causes retries and duplicates.
3. **Deduplicate by event id.** Redelivery is normal, and processing a
   payment event twice is the failure this prevents (see idempotency).
4. **Do not assume order.** Events arrive out of sequence, so use
   timestamps or version numbers in the payload rather than arrival
   order (see delivery-guarantees).
5. **Handle unknown event types gracefully.** Providers add types, and
   an endpoint that errors on unrecognised events generates retries and
   alerts for no reason.
6. **Reconcile periodically against the provider's API.** Webhooks get
   lost, so a scheduled comparison catches what the push missed (see
   payment-reconciliation).
7. **Monitor delivery failures from both sides.** Their dashboard and
   your error rate together, since a silently failing endpoint looks
   identical to no events.

## Boundaries

Webhooks are best effort even from good providers, which is why
reconciliation is not optional. Payload contents are provider-defined
and change. Public endpoints attract scanning and need rate limiting
independent of signature verification.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…