REST API trap
Serves persona-aware endpoints with realistic fake data, authentication, and auto-generated OpenAPI/Swagger documentation. What it does:- Generates endpoints matching the persona’s industry (e.g.,
/api/v2/transactionsfor fintech) - Supports authentication: bearer JWT, API key (header/query), basic auth, OAuth2
- Serves OpenAPI specs at
/openapi.jsonthat AI agents automatically consume - Returns structured fake data with realistic field names, UUIDs, timestamps
- Simulates configurable response latency (10–2000ms)
MCP server trap
A fully protocol-compliant Model Context Protocol server with persona-specific tool names and behaviors. What it does:- Registers as a discoverable MCP server
- Exposes tools that match the persona’s industry theme
- Returns hardcoded fake responses -never executes real commands
- Logs all MCP interactions for fingerprinting
query_transactions-returns fake transaction dataget_customer_profile-returns fake customer recordsread_config-returns fake configuration with canary tokens
AI discovery trap
Endpoints that AI agents naturally probe when scanning for services to interact with. Endpoints served:
These endpoints are the first thing autonomous agents look for. By serving them, Sundew ensures it gets discovered early in any automated reconnaissance.
Enabling and disabling traps
Control which traps are active insundew.yaml: