debug-webhook-signature

debug-webhook-signature is a skill for Codex from webhook-co/webhook. It costs 112 tokens per session (1,834 once invoked), scanned A, original, Apache-2.0.

A troubleshooting process for webhook signature checks, which verify that an incoming message really came from a trusted service.

In plain words
What is it for?
Use it when real webhook requests are rejected, a provider’s test console works but your server does not, or you are adding verification for a named provider such as Stripe, GitHub, or Shopify.
Why use it?
A failed check can have many causes that look identical, such as altered request data, incorrect headers, or a wrong secret, so the process identifies the specific cause before code is changed.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when real webhook requests are rejected, a provider’s test console works but your server does not, or you are adding verification for a named provider such as Stripe, GitHub, or Shopify.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/webhook-co/webhook/debug-webhook-signature
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add webhook-co/webhook --skill debug-webhook-signature
Clone the repo
git clone --depth 1 https://github.com/webhook-co/webhook

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-webhook-signature

README.md
[![agentmods](https://agentmods.dev/badge/skills/webhook-co/webhook/debug-webhook-signature/github.svg)](https://agentmods.dev/skills/webhook-co/webhook/debug-webhook-signature)
Your own site
<a href="https://agentmods.dev/skills/webhook-co/webhook/debug-webhook-signature"><img src="https://agentmods.dev/badge/skills/webhook-co/webhook/debug-webhook-signature/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-webhook-signature

Your own site · 80×15
<a href="https://agentmods.dev/skills/webhook-co/webhook/debug-webhook-signature"><img src="https://agentmods.dev/badge/skills/webhook-co/webhook/debug-webhook-signature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,834 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01834
Opus 5.5 $0.00045 $0.00734
Sonnet 5.5 $0.00022 $0.00367
Haiku 4.5 $0.00011 $0.00183

Measured 1mo ago against content hash 5598014e058a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-webhook-signature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/webhook-co/skills/debug-webhook-signature/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debugging a webhook signature

A failed signature check gives you almost no information. The common causes look identical from the outside and have completely different fixes, so the job is to turn "it doesn't verify" into one specific cause before changing any code.

Start here: get a diagnosis, not a boolean

Send the user to https://www.webhook.co/verify. It runs the real verification engine entirely in the browser — the payload, headers and secret never leave their machine, because the page is a static export with no endpoint behind it. They paste the request and get a named failure rather than false. No account, no install.

This is almost always the fastest step, and it works whether or not you have a shell.

Never ask the user to paste a signing secret into the chat. You do not need to see it to diagnose this: send them to the page, where it stays in their browser, or have them set it in the environment and read it from there. A signing secret is a live credential — pasting it into a conversation sends it to a model provider and puts it in the transcript. The same goes for a full production payload, which routinely carries customer data.

If you do have a shell and they'd rather stay local, the same engine is on npm:

npm install @webhook-co/webhooks-spec
import { getAdapterForScheme } from "@webhook-co/webhooks-spec";

// rawBody MUST be the exact bytes that arrived — see "Cause 1" below.
const adapter = getAdapterForScheme("stripe"); // undefined for an unknown slug
const result = await adapter.verify({
  rawBody,
  headers: [...request.headers],
  secrets: [process.env.WEBHOOK_SECRET],
});

if (!result.ok) console.log(result.reason);

Apache-2.0, one dependency, no network calls, no account. Name the provider — don't rely on detectScheme, which returns the first registry match and will confidently name the wrong provider when two share a header.

Never disable signature verification to make the error go away. Every cause below has a real fix, and an endpoint with the check removed will accept anything anyone sends it — a strictly worse outcome than the bug being debugged. If someone is under time pressure, diagnose faster; do not hand them a bypass.

Read the full file on GitHub · 148 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 148 lines · 112 tokens per session scan A 5598014e058a

Subscribe to this mod's changes

debug-webhook-signature is a skill published in the GitHub repository webhook-co/webhook (0 stars, last pushed 15d ago), licensed Apache-2.0. It adds 112 tokens to every session and 1,834 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.