惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
T
Tailwind CSS Blog
The Cloudflare Blog
The Last Watchdog
The Last Watchdog
PCI Perspectives
PCI Perspectives
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
TaoSecurity Blog
TaoSecurity Blog
云风的 BLOG
云风的 BLOG
C
Cybersecurity and Infrastructure Security Agency CISA
O
OpenAI News
Recorded Future
Recorded Future
GbyAI
GbyAI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Y
Y Combinator Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
V
Vulnerabilities – Threatpost
F
Full Disclosure
Recent Announcements
Recent Announcements
Vercel News
Vercel News
S
Schneier on Security
H
Heimdal Security Blog
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
B
Blog RSS Feed
宝玉的分享
宝玉的分享
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
N
Netflix TechBlog - Medium
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Set Up Webhook Tech Stack Changes Alerts via API
MikeL · 2026-05-10 · via DEV Community

Polling an API on a timer to check whether a website changed its tech stack is wasteful. You burn requests checking domains that have not changed, and you miss changes that happen between your polling intervals. Webhooks solve both problems: DetectZeStack monitors domains on a schedule and pushes notifications to your server only when something actually changes.

This guide walks through the full webhook lifecycle: creating a subscription, enabling scheduled monitoring, verifying HMAC-signed payloads, and building a working Slack integration that alerts your team when a competitor switches frameworks, adds a CDN, or drops their analytics provider.

Why Monitor Websites for Tech Stack Changes

Technology stack changes are leading indicators. A company adding Stripe is about to launch payments. A competitor switching from Heroku to AWS is preparing to scale. A client removing their Content-Security-Policy header just created a security vulnerability nobody noticed.

Manual checking does not scale. If you are tracking 20 competitor domains, logging in weekly to scan each one is a full hour of repetitive work. And you will miss changes that happen mid-week.

Webhook alerts flip the model: instead of you checking DetectZeStack, DetectZeStack checks the domains and tells you when something changes. Zero wasted effort, zero missed changes.

Use Cases for Webhook Tech Stack Changes Alerts

  • Competitive intelligence — get notified when a competitor adds Intercom, switches from React to Next.js, or deploys behind Cloudflare
  • Security monitoring — alert when a managed client removes security headers, drops their WAF, or changes SSL configuration
  • Sales signals — identify prospects adding payment processors, marketing automation, or analytics tools that indicate buying intent
  • Investment due diligence — track portfolio company infrastructure decisions in real time rather than waiting for quarterly updates
  • Agency client oversight — catch unauthorized changes to client websites before they become incidents

How DetectZeStack Webhook Alerts Work

The webhook system has three components:

  1. Subscription — you register a domain + callback URL pair via POST /webhooks
  2. Monitoring — you enable daily or weekly scanning via PATCH /webhooks/{id}
  3. Delivery — when changes are detected, DetectZeStack POSTs a signed payload to your URL

The Webhook Lifecycle

Every time a monitored domain is scanned, DetectZeStack diffs the new snapshot against the previous one. If technologies were added, removed, or changed version, a tech_stack.changed event is sent to all active subscribers for that domain. If nothing changed, no notification is sent — your endpoint stays quiet.

Every scan (whether changes were found or not) also fires a tech_stack.analyzed event with the full technology list. This is useful if you want to log every scan result to your own database regardless of whether anything changed.

Step 1 — Create a Webhook Subscription

Register a webhook by POSTing the domain you want to monitor and the URL where you want to receive notifications:

curl -X POST "https://detectzestack.p.rapidapi.com/webhooks" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"domain": "competitor.com",
"webhook_url": "https://your-server.com/hooks/techstack"
}'

Enter fullscreen mode Exit fullscreen mode

Response:

{
"id": 42,
"domain": "competitor.com",
"webhook_url": "https://your-server.com/hooks/techstack",
"hmac_secret": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"
}

Enter fullscreen mode Exit fullscreen mode

The hmac_secret is returned exactly once at creation time. Store it securely — it cannot be retrieved again. You will use it to verify that incoming webhook deliveries actually came from DetectZeStack.

Webhook URLs must use HTTPS. HTTP endpoints are rejected to prevent credentials from being transmitted in plaintext. The URL must also resolve to a public IP address (no localhost or private ranges).

Webhook Limits by Plan

Plan Price Webhook Subscriptions Monitoring
Basic (free) $0/mo 5 Not available
Pro $9/mo 20 Daily / Weekly
Ultra $29/mo 50 Daily / Weekly
Mega $79/mo 100 Daily / Weekly

Free tier users can create webhook subscriptions and receive notifications when they manually trigger scans via the API. Scheduled monitoring (automatic daily or weekly scans) requires a paid tier.

Step 2 — Enable Scheduled Monitoring

Creating a webhook subscription does not automatically start monitoring. To have DetectZeStack scan the domain on a schedule, update the subscription with a monitoring interval:

curl -X PATCH "https://detectzestack.p.rapidapi.com/webhooks/42" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"monitor_interval": "daily"}'

Enter fullscreen mode Exit fullscreen mode

Response:

{
"status": "updated",
"monitor_interval": "daily"
}

Enter fullscreen mode Exit fullscreen mode

Daily vs Weekly Monitoring Intervals

Choose the interval based on how time-sensitive the information is:

  • Daily — best for security monitoring, active competitive tracking, or client oversight where you need to catch changes within 24 hours
  • Weekly — sufficient for investment monitoring, long-term trend tracking, or low-priority domains where day-level granularity is unnecessary

To disable monitoring without deleting the webhook, set monitor_interval to an empty string (""). The subscription remains active for manual triggers but no automatic scans occur.

Step 3 — Receive and Verify Webhook Payloads

When changes are detected, DetectZeStack sends an HTTP POST to your registered URL. The request includes:

  • Content-Type: application/json
  • X-Webhook-Event: tech_stack.analyzed
  • X-Webhook-Signature: sha256=<hex-encoded HMAC>

HMAC Signature Verification

Every delivery is signed with your webhook's HMAC secret using SHA-256. To verify:

  1. Read the raw request body (do not parse JSON first)
  2. Compute HMAC-SHA256 of the raw body using your stored hmac_secret
  3. Compare the computed signature against the value in X-Webhook-Signature (after stripping the sha256= prefix)
  4. Use constant-time comparison to prevent timing attacks

Python verification example:

import hmac
import hashlib

def verify_signature(payload_body: bytes, secret: str, signature_header: str) -> bool:
"""Verify the HMAC-SHA256 signature from DetectZeStack webhook."""
if not signature_header.startswith("sha256="):
return False

expected_sig = signature_header[7:]  # strip "sha256=" prefix
computed = hmac.new(
secret.encode(),
payload_body,
hashlib.sha256
).hexdigest()

return hmac.compare_digest(computed, expected_sig)

Enter fullscreen mode Exit fullscreen mode

Payload Structure

The webhook payload contains the full scan result along with metadata:

{
"event": "tech_stack.analyzed",
"domain": "competitor.com",
"technologies": [
{
"name": "React",
"categories": ["JavaScript frameworks"],
"version": "18.2.0",
"confidence": 100
},
{
"name": "Cloudflare",
"categories": ["CDN"],
"version": "",
"confidence": 100
},
{
"name": "Next.js",
"categories": ["JavaScript frameworks"],
"version": "14.1.0",
"confidence": 100
},
{
"name": "Google Analytics",
"categories": ["Analytics"],
"version": "",
"confidence": 100
}
],
"meta": {
"scan_time_ms": 1842,
"detection_count": 14
},
"timestamp": "2026-04-20T10:30:00Z"
}

Enter fullscreen mode Exit fullscreen mode

If the scan detected changes compared to the previous snapshot, the payload additionally includes technology change events in the /changes feed that you can query separately for structured diffs (added, removed, version_changed).

Delivery retries: If your endpoint returns a non-2xx status code, DetectZeStack retries up to 3 times with exponential backoff (2 seconds, then 4 seconds). After 3 failures, the delivery is abandoned for that event.

Step 4 — Query the Change Feed for Context

Webhook payloads tell you the current state. To see exactly what changed (what was added or removed), query the /changes endpoint:

curl -s "https://detectzestack.p.rapidapi.com/changes?domain=competitor.com" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com" | python3 -m json.tool

Enter fullscreen mode Exit fullscreen mode

Response:

{
"changes": [
{
"id": 4821,
"domain": "competitor.com",
"technology": "Cloudflare",
"change_type": "added",
"category": "CDN",
"created_at": "2026-04-20T10:30:00Z"
},
{
"id": 4822,
"domain": "competitor.com",
"technology": "Akamai",
"change_type": "removed",
"category": "CDN",
"created_at": "2026-04-20T10:30:00Z"
}
],
"count": 2,
"history_days": 90,
"tier": "pro"
}

Enter fullscreen mode Exit fullscreen mode

Combining webhooks with the change feed gives you the full picture: the webhook tells you something changed, and the change feed tells you exactly what.

Managing Your Webhooks

List Active Webhooks

curl -s "https://detectzestack.p.rapidapi.com/webhooks" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com" | python3 -m json.tool

Enter fullscreen mode Exit fullscreen mode

Response:

{
"webhooks": [
{
"id": 42,
"domain": "competitor.com",
"webhook_url": "https://your-server.com/hooks/techstack",
"monitor_interval": "daily",
"created_at": "2026-04-20T09:00:00Z"
}
],
"count": 1
}

Enter fullscreen mode Exit fullscreen mode

Update or Delete a Webhook

Change the monitoring interval:

curl -X PATCH "https://detectzestack.p.rapidapi.com/webhooks/42" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"monitor_interval": "weekly"}'

Enter fullscreen mode Exit fullscreen mode

Delete a subscription entirely:

curl -X DELETE "https://detectzestack.p.rapidapi.com/webhooks/42" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: detectzestack.p.rapidapi.com"

Enter fullscreen mode Exit fullscreen mode

Deleting a webhook stops all monitoring and future deliveries for that subscription immediately.

Full Python Example — Slack Alerts on Tech Stack Changes

Here is a complete Flask application that receives DetectZeStack webhooks, verifies the signature, queries the change feed for context, and posts a formatted message to Slack:

import hmac
import hashlib
import requests
from flask import Flask, request, jsonify

app = Flask(__name__)

WEBHOOK_SECRET = "your_hmac_secret_from_creation"
RAPIDAPI_KEY = "YOUR_API_KEY"
SLACK_WEBHOOK = "https://hooks.slack.com/services/YOUR/WEBHOOK/URL"

@app.route("/hooks/techstack", methods=["POST"])
def handle_webhook():
# Step 1: Verify signature
signature = request.headers.get("X-Webhook-Signature", "")
if not verify_signature(request.data, WEBHOOK_SECRET, signature):
return jsonify({"error": "invalid signature"}), 401

payload = request.json
domain = payload["domain"]

# Step 2: Query the change feed for structured diffs
headers = {
"x-rapidapi-key": RAPIDAPI_KEY,
"x-rapidapi-host": "detectzestack.p.rapidapi.com"
}
resp = requests.get(
f"https://detectzestack.p.rapidapi.com/changes?domain={domain}",
headers=headers
)
changes = resp.json()

if changes["count"] == 0:
return jsonify({"status": "no changes"}), 200

# Step 3: Format and send Slack message
lines = []
for c in changes["changes"]:
prefix = {"added": "+", "removed": "-", "version_changed": "~"}
symbol = prefix.get(c["change_type"], "?")
line = f"[{symbol}] {c['technology']} ({c['category']})"
if c.get("previous_version") and c.get("new_version"):
line += f" {c['previous_version']} -> {c['new_version']}"
lines.append(line)

message = f"*Tech stack change detected on {domain}:*\n```
{% endraw %}
\n"
message += "\n".join(lines[:10])  # limit to 10 changes
message += "\n
{% raw %}
```"

requests.post(SLACK_WEBHOOK, json={"text": message})
return jsonify({"status": "ok"}), 200

def verify_signature(payload_body, secret, signature_header):
if not signature_header.startswith("sha256="):
return False
expected = signature_header[7:]
computed = hmac.new(
secret.encode(), payload_body, hashlib.sha256
).hexdigest()
return hmac.compare_digest(computed, expected)

if __name__ == "__main__":
app.run(port=5000)

Enter fullscreen mode Exit fullscreen mode

Deploy this behind HTTPS (using nginx, Caddy, or a platform like Railway) and register the public URL as your webhook endpoint. The entire pipeline — detection, notification, and alerting — runs automatically without any polling or cron jobs on your side.

Try It: Scan a Domain with the Demo Endpoint

Before setting up webhooks, verify what DetectZeStack detects for a given domain using the free demo endpoint (no API key required):

curl -s "https://detectzestack.com/demo?url=https://stripe.com" | python3 -m json.tool

Enter fullscreen mode Exit fullscreen mode

This returns the full technology list for stripe.com — the same data structure that webhook payloads use. Use this to validate that the domains you plan to monitor produce useful detection results before investing in webhook setup.

Webhook Limits and Tier Comparison

Feature Free Pro ($9/mo) Ultra ($29/mo) Mega ($79/mo)
Webhook subscriptions 5 20 50 100
Scheduled monitoring No Daily / Weekly Daily / Weekly Daily / Weekly
Change history depth 7 days 30 days 90 days 365 days
API requests/month 100 1,000 10,000 50,000
HMAC-signed payloads Yes Yes Yes Yes
Retry on failure 3 attempts 3 attempts 3 attempts 3 attempts

All plans include HMAC signature verification and automatic retry with exponential backoff. The difference between tiers is how many domains you can monitor simultaneously and whether scheduled (automatic) monitoring is available.

Get Started with Webhook Tech Stack Changes Alerts

Setting up webhook-based tech stack monitoring takes about five minutes:

  1. Get your API key from RapidAPI (free tier includes 5 webhook subscriptions)
  2. Create a subscription with POST /webhooks for each domain you want to monitor
  3. Enable scheduled monitoring with PATCH /webhooks/{id} (paid tiers)
  4. Implement signature verification in your webhook handler
  5. Route notifications to Slack, PagerDuty, email, or your own dashboard

No polling. No cron jobs. No wasted API requests checking domains that have not changed. DetectZeStack handles the scanning, diffing, and notification delivery — you just receive the alerts.

Related Reading