HMAC-SHA256 Signed Webpage Change Webhooks With Replay & Dead-Letter Guarantees
If a webpage change alert triggers automated price repricing, PagerDuty incidents, or AI agent workflows, an unsigned webhook URL is a spoofing liability. Watch-Anything signs every outbound delivery with HMAC-SHA256 (X-Watch-Signature), attaches an event ID and unix timestamp, and backs delivery with bounded retries and a persistent dead-letter queue.
Concrete Noise-Filtering Mechanics (all 6 target types)
Every verified Watch-Anything webhook enforces end-to-end cryptographic authenticity and delivery durability:
- Constant-Time HMAC-SHA256 Signature: Computes X-Watch-Signature: sha256=<hmac_sha256_hex> over the raw JSON body using your per-watch webhook_secret.
- Replay-Window & Idempotency Headers: Attaches X-Watch-Timestamp (unix timestamp) and X-Watch-Event-Id so receivers reject stale replays and deduplicate retries cleanly.
- Tamper-Evident Diff Proof: Includes sha256_proof inside the payload tying normalized baseline and current hashes to the emitted urgency score.
- Bounded Retries + Dead-Letter Queue: Retries transient 5xx/timeout receiver failures automatically and records permanent failures in webhook_dead_letters for inspection.
Worked Semantic Diff & Urgency Scoring
| Extracted Field / Signal | Baseline Snapshot | Current Snapshot | Decision & Severity |
|---|---|---|---|
Header: X-Watch-Signature | Unsigned POST (spoofable) | sha256=8a9f...c41e (constant-time verified) | CRITICAL (95) |
Header: X-Watch-Timestamp | Missing | 1796198400 (enforces 300s window) | HIGH (75) |
Header: X-Watch-Event-Id | Missing | evt_b08_9f3c21a0 (idempotent key) | HIGH (75) |
Noise Event Dispatch | Spams webhook receiver | Suppressed (alert_emitted=false) | NOISE_SUPPRESSED (0) |
Comparison: Watch-Anything vs Visualping, Changedetection.io, Klue & Crayon
| Capability | Watch-Anything | Visualping | Changedetection.io | Klue / Crayon |
|---|---|---|---|---|
| Cryptographic Signing | Native HMAC-SHA256 X-Watch-Signature per watch | No per-watch HMAC standard across tiers | Generic unsigned Apprise templates | No raw developer webhooks |
| Replay & Idempotency Headers | X-Watch-Timestamp + X-Watch-Event-Id | Not provided | Not provided | Not applicable |
| Retry & Dead-Letter Queue | Bounded retries + SQLite webhook_dead_letters | Fire-and-forget | No durable DLQ | Not applicable |
| Preview Before Deploy | POST /v1/diff/compare previews signature with webhook_secret | Must trigger live alert | Manual test notification only | Not applicable |
| Pricing | $19 / $79 / $249 prepaid packs | $50-$300+/mo | Self-host maintenance | $1,000-$2,500+/mo |
Working REST API Example (curl)
curl -sS -X POST https://watch.fastmesh.dev/v1/diff/compare \
-H "Content-Type: application/json" \
-d '{
"target_type": "pricing_page",
"url": "https://competitor.example/pricing",
"baseline": "<div><h2>Pro</h2><span>$49/mo</span></div>",
"current": "<div><h2>Pro</h2><span>$69/mo</span></div>",
"webhook_secret": "whsec_verify_me_locally"
}'
Working Native Remote MCP Example (JSON-RPC 2.0)
curl -sS -X POST https://watch.fastmesh.dev/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 12,
"method": "tools/call",
"params": {
"name": "watch_register",
"arguments": {
"tenant_id": "secops_team",
"url": "https://competitor.example/pricing",
"target_type": "pricing_page",
"webhook_url": "https://hooks.yourapp.example/verified-watch",
"webhook_secret": "whsec_prod_32byte_secret"
}
}
}'
Transparent Prepaid Credit Packs (Zero Subscriptions)
Credits never expire. $0 charged on degraded probes, Cloudflare fake-200 pages, NOISE_SUPPRESSED churn, or errors. Independent developer tooling billed via one-time flat-fee Creem packs.
Starter Pack
$19.00 never-expiring credits (up to 3,800 verified semantic diffs). All 6 target types, HMAC-SHA256 webhooks, and native /mcp included.
Get $19 StarterGrowth Pack
$79.00 never-expiring credits (79,000,000 micros; up to 15,800 verified checks or 158,000 repeat checks). Cross-tenant shared polling pool, dead-letter queue, unlimited team seats.
Get $79 GrowthScale Pack
$249.00 never-expiring credits (249,000,000 micros; up to 49,800 verified checks or 498,000 repeat checks). Replaces $500-$2,500/mo legacy suites with one-time flat-fee credits.
Get $249 ScaleFrequently Asked Questions
How do I verify X-Watch-Signature in Python or Node.js?
Compute HMAC-SHA256 over the exact raw request bytes using your webhook_secret, compare against the hex string after 'sha256=' using hmac.compare_digest or crypto.timingSafeEqual, and check X-Watch-Timestamp is within 300 seconds. Full copy-paste snippets live in /skill.md.
Can I test webhook signing before registering a persistent watch?
Yes. Pass webhook_secret to POST /v1/diff/compare to inspect the generated payload and signature preview instantly.
What happens if my webhook endpoint is down during a CRITICAL alert?
Watch-Anything executes bounded retries and persists undelivered alerts to webhook_dead_letters while also keeping the event queryable via GET /v1/events.