ELYREON Workflow Rescue
v1.0.1Offline static analysis of n8n workflow exports: dead ends, cycles, missing triggers, secrets.
When deploying or migrating n8n workflows, developers frequently face silent failures in production due to: - Missing or broken connections: Nodes referencing deleted, renamed, or non-existent steps. - Infinite cyclic graphs: Loop branches without exit conditions or depth boundaries. - Dead-end executions: Critical branches that terminate without acknowledging completion or alerting on errors. - Plain-text credential leakage: Accidental export of API tokens, Bearer secrets, or passwords inside node parameters.
Summary extracted from the README.
ELYREON Workflow Rescue (elyreon-workflow-rescue)
Deterministic offline static analysis & preflight linter for n8n workflow export definitions.
Zero dependencies. Zero telemetry. Runs 100% locally in your terminal, CI pipeline, or as an MCP server.
What Problem Does Workflow Rescue Solve?
When deploying or migrating n8n workflows, developers frequently face silent failures in production due to:
- Missing or broken connections: Nodes referencing deleted, renamed, or non-existent steps.
- Infinite cyclic graphs: Loop branches without exit conditions or depth boundaries.
- Dead-end executions: Critical branches that terminate without acknowledging completion or alerting on errors.
- Plain-text credential leakage: Accidental export of API tokens, Bearer secrets, or passwords inside node parameters.
- Unpinned HTTP requests: Insecure plain HTTP endpoints, missing URLs, or lack of timeout and idempotency controls.
Workflow Rescue inspects workflow exports before deployment and gives you an instant, actionable repair checklist and failure test plan.
One-Command Quickstart
Run directly without installing via npx:
# Analyze an exported workflow JSON file
npx elyreon-workflow-rescue my-workflow.json
# Pipe workflow JSON from stdin
cat production-workflow.json | npx elyreon-workflow-rescue
# Output machine-readable JSON
npx elyreon-workflow-rescue my-workflow.json --json
# Output Markdown report
npx elyreon-workflow-rescue my-workflow.json --markdown > AUDIT_REPORT.md
# Enforce in CI/CD pipeline (exits 1 if HIGH/CRITICAL issues found)
npx elyreon-workflow-rescue my-workflow.json --strict
MCP Server Mode (Model Context Protocol)
Any AI coding agent (Claude Code, Cline, Cursor, Windsurf, Codex) can run Workflow Rescue directly over stdio:
Claude Desktop Configuration (claude_desktop_config.json)
{
"mcpServers": {
"workflow-rescue": {
"command": "npx",
"args": ["-y", "elyreon-workflow-rescue", "--mcp"]
}
}
}
The agent will have access to the rescue_workflow tool, allowing it to inspect n8n definitions, identify defects, and suggest fixes autonomously.
Programmatic Node.js API
You can also use Workflow Rescue as a library in your own Node.js or TypeScript applications:
import { analyzeWorkflow, markdown, checklist, testPlan } from 'elyreon-workflow-rescue';
import fs from 'node:fs';
const workflow = JSON.parse(fs.readFileSync('my-workflow.json', 'utf8'));
// Run static inspection
const report = analyzeWorkflow(workflow);
console.log(`Inspected ${report.summary.nodeCount} nodes.`);
console.log(`Found ${report.findings.length} findings.`);
// Get actionable checklist
const repairs = checklist(report);
console.log(repairs);
// Export markdown report
const md = markdown(report);
Checks Performed
- Schema structure (root nodes + connections, workflow wrapper, data wrapper)
- Duplicate node names and identifiers
- Connection source and target validation
- Disconnected / unreachable nodes
- Terminal branches without error handling
- Trigger recognition and disabled node tracking
- Cyclic connection loop detection (DFS graph traversal)
- HTTP Request parameters (plain HTTP, missing URLs, retry behavior)
- Embedded secret detection (recursive key pattern matching without repeating values)
- Duplicate-event and webhook retry safeguards
Canonical ELYREON Tools
- Free Browser Version: https://elyraon.com.co/tools/workflow-rescue/ (Run in-browser with zero uploads)
- Workflow Autopsy ($39): https://elyraon.com.co/products/elyraon-workflow-autopsy/ (Forensic execution log reconstruction for duplicate charges and retry storms)
- Support:
colt@elyraon.com.co - License: MIT