Webhook Endpoint Auditor MCP
Pricing
from $50.00 / 1,000 webhook endpoint reliability & security audits
Webhook Endpoint Auditor MCP
SSRF-protected live probing and static reliability auditing MCP server for webhook endpoints over Streamable HTTP (/mcp): TLS, HMAC signatures, idempotency, DLQ, retries, timeouts, hardcoded secrets, latency, and security headers.
Pricing
from $50.00 / 1,000 webhook endpoint reliability & security audits
Rating
0.0
(0)
Developer
Pablo Ian Laurino
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 hours ago
Last modified
Categories
Features
Share
mcp-webhook-endpoint-auditor
An Apify Standby MCP Actor that audits webhook endpoints and webhook configurations. It runs an SSRF-safe live probe and a static configuration audit, scores the result on a 0–100 reliability scale, and returns structured findings with concrete remediation guidance over the Model Context Protocol.
Built with @modelcontextprotocol/sdk (Streamable HTTP, JSON responses), Node.js ≥ 22 ESM, and the Apify SDK v3 in Standby mode — so the actor stays warm and answers MCP requests instantly instead of paying a cold start per call.
MCP tools
audit_webhook_config — static configuration audit
| Input | Type | Description |
|---|---|---|
config | object | string | Webhook configuration (object or JSON string) with any of: url, method, headers, auth, signature, retryPolicy, dlq, idempotency, timeoutMs, rateLimit, alerting. |
No network requests are made. The audit checks:
| Finding | Severity | Deduction |
|---|---|---|
non_https_endpoint — plain http:// URL or tls: false | critical | −25 |
hardcoded_secret — sk-…, whsec_…, ghp_…, Bearer …, or credential-named fields (evidence is redacted) | critical | −25 |
missing_hmac_signature — no signature verification, or weak algo (md5/sha1) | high | −20 |
missing_dlq — no dead-letter queue | high | −20 |
missing_idempotency — no deduplication/idempotency key | high | −15 |
weak_retry_policy — no exponential backoff | medium | −10 |
unsafe_timeout — timeoutMs missing, > 15000, or < 500 | medium | −10 |
audit_webhook_endpoint — SSRF-safe live probe
| Input | Type | Default | Description |
|---|---|---|---|
url | string | — | Public http(s) webhook endpoint (SSRF-protected). |
probeMethod | HEAD | OPTIONS | POST | HEAD | Probe method. |
dryRunPost | boolean | false | Send a harmless unsigned dry-run POST to test signature enforcement. |
timeoutMs | number | 5000 | Clamped to 1000–10000. |
config | object | string | — | Optional config, merged into the audit. |
The dry-run POST sends {"event":"webhook.audit.ping","dryRun":true} with an idempotency-key and x-webhook-audit-dry-run: true header — no side-effect payload, ever.
| Finding | Severity | Deduction |
|---|---|---|
http_no_tls — endpoint served over plain HTTP | critical | −25 |
unsigned_post_accepted — dry-run POST got 2xx with no signature | critical | −25 |
server_error_5xx — probe got a 5xx | high | −20 |
high_latency — > 2000 ms | high | −15 |
elevated_latency — > 800 ms | medium | −8 |
redirect_hazard — 3xx response | medium | −10 |
rate_limit_missing_retry_after — 429/503 without Retry-After | medium | −8 |
missing_hsts — HTTPS without Strict-Transport-Security | low | −5 |
missing_nosniff — missing X-Content-Type-Options: nosniff | low | −5 |
server_header_leak — version numbers in Server/X-Powered-By | low | −3 |
The probe result can optionally be merged with a static config audit; duplicate findings are de-duplicated by id.
Result shape
{"mode": "endpoint","targetUrl": "https://hooks.example.com/webhook","probe": { "method": "POST", "status": 200, "latencyMs": 142, "resolvedIps": ["93.184.216.34"], "..." : "..." },"reliabilityScore": 55,"scoreMax": 100,"grade": "C","summary": "Webhook endpoint audit: 6 finding(s), reliability score 55/100 (grade C).","findings": [{ "id": "unsigned_post_accepted", "severity": "critical", "deduction": 25, "message": "...", "remediation": "..." }],"remediationSummary": "[CRITICAL] ... | [HIGH] ...","recommendedSolution": { "product": "Webhook DLQ Shield", "priceUsd": 99, "url": "https://pablian.gumroad.com/l/dtczmd", "reason": "..." },"limitations": ["..."]}
grade: A ≥ 90, B ≥ 75, C ≥ 60, D ≥ 40, F < 40. recommendedSolution appears when the score is below 90 or reliability gaps (missing DLQ, idempotency, retries, etc.) exist.
SSRF protection
Every url passes a fail-closed gate before any request is sent:
- Only
http:/https:schemes; embeddeduser:password@credentials rejected. - Forbidden hostnames:
localhost,*.localhost,*.local,*.internal,metadata.google.internal,0.0.0.0— plus obfuscated numeric hosts. - IPv4 literals checked against 0.0.0.0/8, 10/8, 100.64/10, 127/8, 169.254/16, 172.16/12, 192.0.0.0/24, 192.0.2.0/24, 192.168/16, 198.18/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 240.0.0.0/4.
- IPv6 literals (bracketed or not) checked against
::,::1,fc00::/7,fe80::/10,ff00::/8,2001:db8::/32, and IPv4-mapped forms (::ffff:127.0.0.1,::ffff:7f00:1, …) with embedded private-IPv4 detection. - Hostnames are DNS-resolved (
dns.promises.lookup,all: true): the probe is rejected if any resolved IP is private/reserved, if resolution returns no addresses, or if resolution fails. DNS-rebinding and metadata-service targets are blocked.
Pay-per-event pricing
| Event | Price |
|---|---|
apify-actor-start | $0.00005 |
webhook-endpoint-audit | $0.05 per audit returned |
Charged via Actor.charge({ eventName }) on every successful tool call.
Running on Apify
- Publish or fork the actor on Apify.
- Connect any MCP client to the Standby streamable-HTTP endpoint:
https://pabloian92--mcp-webhook-endpoint-auditor.apify.actor/mcp
- Authenticate with your Apify token (
Authorization: Bearer <APIFY_API_TOKEN>or the Apify MCP proxy). GET /healthreturns{"status":"ok"}for uptime monitoring.
Direct (non-standby) runs are also supported: provide actor input with url and/or webhookConfig and the actor performs a one-shot audit, pushes the structured result to the default dataset, and exits.
Local development
npm installnpm test # node --test — SSRF, config audit, live probe mocks, HTTP MCP E2Enpm start # serves the standby MCP server on ACTOR_WEB_SERVER_PORT (default 3000)
Environment variables: ACTOR_WEB_SERVER_PORT (default 3000), APIFY_META_ORIGIN=STANDBY (set by the platform), ACTOR_TEST_PAY_PER_EVENT=true to exercise PPE charging locally.
Limitations
- The live probe is deliberately shallow: scheme, status, latency, and response headers — no TLS chain validation, no payload fuzzing, no auth bypass attempts.
- DNS is resolved for SSRF validation, but the runtime performs the final connection, so TOCTOU DNS rebinding is mitigated rather than eliminated.
- Latency is measured from the actor's network region and may differ from your production vantage point.
- Static secret detection relies on common key names and token prefixes; obfuscated secrets can be missed (all reported evidence is redacted).
Related
Need production-grade delivery guarantees out of the box? Webhook DLQ Shield ($99) bundles dead-letter queueing, exponential-backoff retries, and idempotency replay — it fixes most findings this auditor reports in one drop-in package.
