ai_threat_model
STRIDE threat model — Generate a STRIDE threat model from a plain-English system description (text=, up to 12,000 chars: components, users, data, integrations, hosting). Returns components, data flows with trust-boundary crossings, 8-16 system-specific threats (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) each with likelihood, impact, a computed 3x3 risk rating, concrete mitigations and CWE ids, sorted by risk; STRIDE coverage counts and missing categories; offline gap hints (auth without spoofing threats, uploads, payments/webhooks, roles/tenants, LLM prompt injection, audit logging); assumptions, open questions and a Markdown table. Optional: assets= (what matters most), focus= (e.g. API, mobile app). Llama 3.3 70B on Workers AI. Price: $0.012 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "ai_threat_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | React SPA calls a Node API with JWT login; Postgres database; file uploads to S3; Stripe webhooks for billing; admin dashboard with roles. |