audit_n8n_workflow_json
Audits exported n8n workflow JSON for CVEs, plaintext secrets, Denial-of-Wallet paths, and RCE nodes to reveal security and cost risks before deployment.
Instructions
Deterministic 100% read-only security & cost-bomb audit of an exported n8n workflow.json. Catches Dec 11 gpt-5/o3 model cutoff breakage, CVE-2026-21858 (Ni8mare) / CVE-2025-68613 / CVE-2026-1470 version exposure, plaintext API keys & DB URIs, unauthenticated Webhook->LLM Denial-of-Wallet paths, cyclic LLM loops, and ExecuteCommand/Code RCE nodes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_n8n_workflow_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useDemo | No | When true (or when workflow is omitted), scans the built-in vulnerable production n8n workflow demo. | |
| workflow | No | Exported n8n workflow.json as an object or JSON string. Omit or set useDemo=true to audit the built-in vulnerable sample workflow. | |
| n8nVersion | No | Optional self-hosted n8n version string (e.g. '1.119.0' or '2.1.4') to evaluate CVE-2026-21858 / CVE-2025-68613 / CVE-2026-1470 exposure. |