AI Act Radar
v0.2.2EU AI Act obligations and updates from 22 official EU and national sources.
Reference webhook receivers for AI Act Radar. Each subdirectory is a self-contained, runnable example for one platform. 1. Reads the raw request body (signature is over the bytes, not the parsed JSON). 2. Verifies X-AIAR-Timestamp is within 300 seconds of now. 3. Verifies X-AIAR-Signature (v1=) using HMAC-SHA-256 over . in constant time. 4. Checks an idempotency key (event.id) before doing real work — retries are normal. 5. Returns 2xx within 5 seconds; otherwise the dispatcher retries with exponential backoff. The verification is identical across platforms; only the platform glue differs.
Summary extracted from the README.
aiactradar-examples
Reference webhook receivers for AI Act Radar. Each subdirectory is a self-contained, runnable example for one platform.
What every receiver does
- Reads the raw request body (signature is over the bytes, not the parsed JSON).
- Verifies
X-AIAR-Timestampis within 300 seconds of now. - Verifies
X-AIAR-Signature(v1=<hex>) using HMAC-SHA-256 over<timestamp>.<raw_body>in constant time. - Checks an idempotency key (
event.id) before doing real work — retries are normal. - Returns 2xx within 5 seconds; otherwise the dispatcher retries with exponential backoff.
The verification is identical across platforms; only the platform glue differs.
Examples
| Folder | Platform | Notes |
|---|---|---|
cloudflare-workers/ |
Cloudflare Workers | Web Crypto API, KV for idempotency |
vercel-edge/ |
Vercel Edge Functions | Web Crypto API, Vercel KV for idempotency |
aws-lambda/ |
AWS Lambda + API Gateway | Node crypto module, DynamoDB for idempotency |
express-node/ |
Plain Express on Node | Node crypto, in-process LRU (replace for prod) |
fastify-typescript/ |
Fastify + TS | Typed body parser, raw-body capture |
deno-deploy/ |
Deno Deploy | Deno KV for idempotency |
MCP client configs
AI Act Radar also runs as a remote MCP server at https://mcp.aiactradar.com/mcp/v1. No key is needed.
Ready-made configs for Claude Desktop, Claude Code and Cursor are in mcp-configs/.
Setup guides: https://docs.aiactradar.com/mcp/overview/
Try it without signing up
Each example has a test.sh that signs a sample event with a local secret and posts it to the running receiver. You can run the full loop on your laptop in under five minutes:
cd cloudflare-workers
cp .dev.vars.example .dev.vars # set AIA_SECRET to anything
npm install && npm run dev # starts http://localhost:8787
# in another terminal:
bash test.sh # posts a signed sample event
Going to production
- Store
AIA_SECRETin your platform's secret manager. Never commit it. - Rotate the secret in the AI Act Radar dashboard at least every 90 days.
- Subscribe to the dispatcher's webhook health channel — bounced deliveries surface there before customers notice.
- Idempotency stores need a TTL of at least 7 days; the dispatcher retries up to 24h.
License
MIT.
AI Act Radar is operated by ligea GmbH, Karlsruhe. Information only — not legal advice.