Skip to content
Back to skills

Stripe Webhook Signature Verifier

BSecurity

Verifies Stripe webhook payload signatures using the Stripe.js SDK and the stripe.webhooks.constructEvent method. Validates the Stripe-Signature header against the raw request body and a configured endpoint secret. Handles tolerance windows for replay attack prevention and logs verification failures to Datadog via the Datadog Logs API.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
ai-agentsgonodegitapisecurity

Works with

  • api

Security analysis

B84/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill stripe-webhook-signature-verifier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stripe Webhook Signature Verifier?

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

Security grade badge for Stripe Webhook Signature Verifier
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-stripe-webhook-signature-verifier/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-stripe-webhook-signature-verifier)

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: "Stripe Webhook Signature Verifier"
slug: "stripe-webhook-signature-verifier"
description: "Verifies Stripe webhook payload signatures using the Stripe.js SDK and the stripe.webhooks.constructEvent method. Validates the Stripe-Signature header against the raw request body and a configured endpoint secret. Handles tolerance windows for replay attack prevention and logs verification failures to Datadog via the Datadog Logs API."
github_stars: 4385
verification: "security_reviewed"
source: "https://github.com/stripe/stripe-node"
category: "Security & Verification"
framework: "ChatGPT Agents"
tool_ecosystem:
  github_repo: "stripe/stripe-node"
  github_stars: 4385
  npm_package: "stripe"
  npm_weekly_downloads: 9280426
---

# Stripe Webhook Signature Verifier

Verifies Stripe webhook payload signatures using the Stripe.js SDK and the stripe.webhooks.constructEvent method. Validates the Stripe-Signature header against the raw request body and a configured endpoint secret. Handles tolerance windows for replay attack prevention and logs verification failures to Datadog via the Datadog Logs API.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install stripe
- yarn add stripe
- npm install stripe@public-preview --save-exact
- npm install stripe@<some-version>

Requirements and caveats from upstream:
- # Stripe Node.js Library
- [![Build Status](https://github.com/stripe/stripe-node/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-node/actions?query=branch%3Amaster)
- Want to chat live with Stripe engineers? Join us on our [Discord server](https://stripe.com/go/discord/node).

Basic usage or getting-started notes:
- sh
- # or
- The package needs to be configured with your account's secret key, which is

- Source: https://github.com/stripe/stripe-node
- Extracted from upstream docs: https://raw.githubusercontent.com/stripe/stripe-node/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/stripe-webhook-signature-verifier/)

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.