Skip to main content
ClaudeWave
ligea-gmbh avatar
ligea-gmbh

aiactradar-examples

Ver en GitHub

Reference webhook receivers for AI Act Radar (aiactradar.com) — six platforms, HMAC verification, MIT.

ToolsRegistry oficial0 estrellas0 forksTypeScriptMITActualizado today
Get started
Method: Clone
Terminal
git clone https://github.com/ligea-gmbh/aiactradar-examples
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Casos de uso

Resumen de Tools

# aiactradar-examples

Reference webhook receivers for [AI Act Radar](https://aiactradar.com).
Each subdirectory is a self-contained, runnable example for one platform.

## What every receiver does

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=<hex>`) using HMAC-SHA-256 over `<timestamp>.<raw_body>` 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.

## Examples

| Folder | Platform | Notes |
|---|---|---|
| [`cloudflare-workers/`](./cloudflare-workers) | Cloudflare Workers | Web Crypto API, KV for idempotency |
| [`vercel-edge/`](./vercel-edge) | Vercel Edge Functions | Web Crypto API, Vercel KV for idempotency |
| [`aws-lambda/`](./aws-lambda) | AWS Lambda + API Gateway | Node `crypto` module, DynamoDB for idempotency |
| [`express-node/`](./express-node) | Plain Express on Node | Node `crypto`, in-process LRU (replace for prod) |
| [`fastify-typescript/`](./fastify-typescript) | Fastify + TS | Typed body parser, raw-body capture |
| [`deno-deploy/`](./deno-deploy) | Deno Deploy | Deno KV for idempotency |

## 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:

```bash
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_SECRET` in 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.*

Lo que la gente pregunta sobre aiactradar-examples

¿Qué es ligea-gmbh/aiactradar-examples?

+

ligea-gmbh/aiactradar-examples es tools para el ecosistema de Claude AI. Reference webhook receivers for AI Act Radar (aiactradar.com) — six platforms, HMAC verification, MIT. Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala aiactradar-examples?

+

Puedes instalar aiactradar-examples clonando el repositorio (https://github.com/ligea-gmbh/aiactradar-examples) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar ligea-gmbh/aiactradar-examples?

+

ligea-gmbh/aiactradar-examples aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene ligea-gmbh/aiactradar-examples?

+

ligea-gmbh/aiactradar-examples es mantenido por ligea-gmbh. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a aiactradar-examples?

+

Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.

Despliega aiactradar-examples en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: ligea-gmbh/aiactradar-examples
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ligea-gmbh-aiactradar-examples)](https://claudewave.com/repo/ligea-gmbh-aiactradar-examples)
<a href="https://claudewave.com/repo/ligea-gmbh-aiactradar-examples"><img src="https://claudewave.com/api/badge/ligea-gmbh-aiactradar-examples" alt="Featured on ClaudeWave: ligea-gmbh/aiactradar-examples" width="320" height="64" /></a>