Michelle Eglé Ward / Instrument 01

Static scan · runs in your browser

The rules
behind the78 percent

In August I scanned 1,999 published n8n templates and found that 78% make network calls with no retry and no error branch. That study shipped its raw data and a script that re-adds every number.

It did not ship the scanner. So the numbers could be re-added, but the rules that produced them could not be read. That is the wrong half to publish. This page is the other half.

The scanner is below, in Python and in JavaScript, with the tests that check one against the other. You can run it on your own workflow without uploading anything.

Michelle Eglé Ward

Automation engineer · Lafayette, LA

I build the checking tool before I make the claim, then publish both.

Upwork profile →

Run it on your own workflow

Paste an n8n export, drop the .json file, or load the sample. The scan is this page's JavaScript. Your workflow is not uploaded, and there is no server to upload it to.

n8n_doctor · 16 checks

Nothing leaves your browser

The sample is template 4295 from the public n8n library, the one workflow published with the study's dataset. It has eight findings, so the report is not empty.

What it checks

16 checks emitting 17 rule ids. Hit rates are the share of the 1,999 scanned workflows with at least one finding for that rule. One rule was added after the scan and has no hit rate; it says so in the table.

Source: data/summary.jsonl in the n8n-template-study repo, recounted by recount.py.
RuleSeverityWorkflowsHit rateWhat it means for you
silent-failurehigh1,55477.7%A network call with no retry and no error branch, and no error workflow set. It stops and nobody is told.
cli-import-missing-idlow95747.9%No top-level id. Only matters if you deploy from the command line.
schedule-no-timezonelow44922.5%Scheduled on server time. A 9am report can arrive at 3am, and it moves twice a year.
unfilled-placeholdermedium27613.8%YOUR_API_KEY and friends left in the parameters.
loop-no-retryhigh21510.8%Unguarded API calls inside a batch loop. Item 37 of 500 fails and the run dies half done.
deprecated-nodemedium1748.7%Function, Start, readBinaryFile and similar. Breaks on an upgrade.
pinned-datahigh1587.9%Editor runs use the pinned data and pass. Production ignores it and hits the real source.
orphan-nodemedium1527.6%Not connected to any trigger, directly or indirectly. It never executes.
disabled-nodelow1346.7%Skipped at runtime. Fine if deliberate.
no-triggerhigh452.3%Nothing starts it. It can only be run by hand.
legacy-node-referencelow341.7%$node["Name"] syntax. Breaks silently when someone renames the node.
env-access-deniedhigh311.6%$env in an expression. Default installs deny it. Works on your machine, fails on a fresh one.
email-missing-requiredcritical221.1%n8n blocks the whole execution before the first node runs.
dangling-connectioncritical150.8%A wire pointing at a node name that is not in the file. Imports clean, does nothing.
hardcoded-secretcritical10.1%An API key in the workflow body instead of a credential. It travels in every export.
email-wrong-paramcritical00.0%Never fired in the 1,999. It is in the scanner because it happened on a real workflow once.
webhook-no-authhighnot measuredn/aAdded 2026-08-26, after the scan. A webhook node whose authentication parameter is absent or "none". It was not part of the 1,999 run, so it has no hit rate and I am not going to invent one.

How I know the browser version agrees with the Python

The page runs a JavaScript port. A port is a place for quiet drift, so it is tested against the original rather than trusted.

The differential test. verify/differential.py runs both implementations over every file in a generated corpus and compares every field of every finding, in order: rule, severity, node, detail text, and the consequence sentence. Latest run, reproducible with two commands:

python3 verify/gen_corpus.py && python3 verify/differential.py
Corpus files compared91
Individual findings compared143
Rule ids exercised by a fixture17 of 17
Fields diverging between Python and JavaScript0

It caught a real bug, which is the only reason to believe it. On the last of 81 files the two disagreed. JavaScript always enumerates integer-like object keys first and in numeric order, whatever order they had in the file, so a parameters block written {"2": ..., "1": ...} walked in a different order than Python's, and the checks that stop at the first match reported a different parameter. The port now ships its own JSON parser that keeps the source key order, and verify/parse_equivalence.js checks that parser against JSON.parse for value equality on every corpus file. That test also fails if no corpus file actually exercises key reordering, so it cannot pass by never being tried.

Probing the test itself

A green test nobody has tried to break is not evidence. verify/probe.py corrupts the JavaScript port one mutation at a time and asserts the differential test catches each one. A probe whose search string does not match is reported as a broken probe, not as a pass.

One of the twelve came back NOT CAUGHT the first time it ran. Broadening the webhook rule from "type ends with .webhook" to "type contains webhook" changed nothing on the corpus, because every fixture that mentioned a webhook used the exact type. The rule's scope boundary was untested, so a port that quietly widened it would have shipped green. Two fixtures now pin that boundary, and the probe fails without them. The table below is the state after that fix.

python3 verify/probe.py · baseline passes, all 12 mutations caught
Mutation to the JavaScriptSimulatesResult
severity flippeda rule ported at the wrong severitycaught
rule droppeda check missing from the port entirelycaught
consequence rewordeda one-word drift in an output stringcaught
truncation off by onea boundary constant ported wrongcaught
key-order fix revertedthe integer-key bug this port had to fixcaught
trigger hint losta constant list ported incompletelycaught
repr quoting brokenPython repr() formatting not reproducedcaught
placeholder cut by utf-16slicing by code unit instead of code pointcaught
network hint losta node type dropped from the network listcaught
guard condition inverteda guard clause lost in translationcaught
webhook rule scope broadeneda rule firing on more node types than the referencecaught
webhook auth state missedan enum value dropped from a guardcaught

What this does not catch

The part most tools leave out. Read it before you trust a green result.

Limits of the scanner

  • It never runs your workflow. It reads one JSON file. It cannot see whether your logic is right, whether your credentials work, or whether the API you call behaves. A workflow with zero findings can still be completely wrong.
  • It knows 17 failure shapes. Anything outside that list is invisible to it. Absence of findings is absence of these findings, nothing more.
  • The network-facing node list is a list of name fragments, not a capability model. A custom or community node that makes HTTP calls but does not match one of those fragments is not counted in silent-failure, so that count is a floor rather than a total.
  • Severity is my judgement, not a standard. cli-import-missing-id is marked low because it only bites people who deploy from the command line. If that is you, it is not low.
  • No timeout check. An HTTP Request node with no explicit timeout override is not reported. This was asked for in public alongside the webhook auth check, and I added the auth one and not this one, because I can state exactly what an absent authentication parameter means and I would be guessing about n8n's default timeout behaviour. It is a real gap, not an oversight.
  • "No error workflow set" is not reported on its own. It is folded into silent-failure, which only fires when there is also an unguarded network node. A workflow where every node has retry but no error workflow is set will not be flagged, and that is arguably its own defect.

Limits of the verification

  • The differential test proves the two implementations agree, not that they are right. If a rule in the Python is wrong, the JavaScript reproduces the same wrong answer and the test still passes.
  • It only covers the corpus. A defect shape nobody wrote a fixture for is untested by definition. The script prints the count of rules with no fixture on every run so a green result cannot be read as full coverage.
  • The 78% itself is not regenerable from scratch here. The 1,999 workflow bodies were not kept, and api.n8n.io/robots.txt disallows automated fetching, so I am not re-pulling them. What you can check today is the arithmetic, through recount.py in the study repo, and now the rules, through this scanner. Re-running the original scan against the live library is the one step still missing, and I would rather say so than imply the loop is closed.

The rest of the work

Each one runs in the browser and states its own limits.