More screenshots
Works with the AI Agents you already use
HookForge MCP — Webhook Sandbox & HMAC Race Engine
Deterministic Webhook & Event Replay Sandbox with Zero-Leak HMAC Signing and Race Injection for AI Coding Agents.
$8
HookForge MCP — Webhook Sandbox & HMAC Race Engine
Example session with this skill installed
Test our Stripe webhook handler in /src/api/webhooks/stripe.ts. Replay an out-of-order payment stream and inject a twin concurrent hit to verify idempotency and lock protection.
- Read your context and instructions
- Compiled the hookforge mcp
I have tested the webhook endpoint using HookForge MCP. All cryptographic signatures were generated deterministically, and a twin-burst race test identified and fixed a missing idempotency lock.
HookForge Replay & Race Verification Report
<webhook_sandbox provider="stripe" mode="LOCAL_DETERMINISTIC">
<hmac_verification status="PASS">
Computed RFC-compliant `stripe-signature`: t=1730000000,v1=b005b907f486fe25c...
Result: Endpoint accepted payload with HTTP 200 (Bypassed 400 Bad Request signature reject)
</hmac_verification>
<stream_replay mode="OUT_OF_ORDER" total_events="3">
1. `payment_intent.succeeded` delivered first
2. `customer.created` delivered second
3. `invoice.paid` delivered third
</stream_replay>
</webhook_sandbox>
Concurrent Burst Idempotency Test (0ms Delta)
| Execution | Timestamp | Status Code | DB Ledger Entries | Verdict |
|---|---|---|---|---|
| Hit #1 (Worker A) | 20:31:00.002 | 200 OK | +1 ($50.00 Credit) | Processed |
| Hit #2 (Worker B) | 20:31:00.002 | 409 Conflict | 0 (Duplicate Blocked) | IDEMPOTENT PASS |
// Fixed Webhook Handler with Atomic Idempotency Check: src/api/webhooks/stripe.ts
export async function handleStripeWebhook(req: Request) {
const event = hookForge.verifyAndParse(req);
return await db.transaction(async (tx) => {
const lock = await tx.raw(
'INSERT INTO processed_events (event_id) VALUES (?) ON CONFLICT DO NOTHING RETURNING id',
[event.id]
);
if (!lock.rows.length) return new Response('Duplicate Ignored', { status: 200 });
await processPayment(event.data.object, tx);
return new Response('Success', { status: 200 });
});
}
Next Steps
- The webhook consumer handles out-of-order delivery without crashing.
- Concurrent race injection verified zero duplicate ledger creations.
- No external tunnels (ngrok) or exposed ports were needed.
Connects securely to your tools. The creator never sees your data.
About this skill
HookForge provides local, deterministic webhook and event-stream replay for autonomous coding agents, eliminating reliance on brittle public tunnels (ngrok), expired tokens, or hand-rolled cryptographic signatures.
Autonomous coding agents (Claude Code, Cursor, Windsurf, Devin) consistently fail when building or testing webhook consumers:
-
Broken Signatures: Agents generate invalid HMAC signatures (e.g. Stripe
t=...v1=...or GitHubsha256=...), causing local servers to reject webhooks with 400 Bad Request or 401 Unauthorized. -
Idempotency Blindspots: Agents rarely test out-of-order event delivery (e.g.,
payment_intent.succeededbeforecustomer.created), resulting in uncaughtnullpointer exceptions in production. -
Double-Spend Races: Agents write naive handlers without atomic locks or
SELECT FOR UPDATE, allowing concurrent duplicate webhook hits to create duplicate orders or credits. -
RFC-Compliant HMAC Re-signing:
- Generates exact cryptographic headers for Stripe (
stripe-signature), GitHub (X-Hub-Signature-256), Shopify (X-Shopify-Hmac-Sha256), and WhatsApp Cloud API.
- Generates exact cryptographic headers for Stripe (
-
Out-of-Order Event Replay:
- Injects event sequences with configurable permutations and delays to test queue resilience.
-
Concurrent Burst Injection (Race Test):
- Fires identical webhooks in parallel (0ms delta) to test atomic idempotency guards and CAS locks.
-
Local Wire Verification:
- Directly executes local HTTP handlers without exposing external network ports or leaking staging secrets.
generate_signed_webhook: Computes cryptographic signature headers given provider, payload, and signing secret.replay_event_stream: Delivers a sequence of synthetic or recorded events to a local endpoint with customizable order and delay.inject_race_condition: Fires twin identical webhooks simultaneously to detect duplicate insertions or missing database locks.verify_webhook_handler: Analyzes endpoint response codes, execution times, and idempotency headers (Idempotency-Key).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
Designed for local endpoint simulation and RFC-compliant HMAC generation (Stripe, GitHub, Shopify, WhatsApp). Live external delivery from third parties requires standard tunnels.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 19 days ago
- Software
Node.jsterminal
Permissions
No special permissions declared or detected