ShadowRule · FortiGate Policy Audit

v0.3 — everything runs in your browser

Find the firewall rules
that never fire.

FortiGate policy audit for FortiOS 7.4 / 7.6 / 8.0. Runs 100% in your browser — nothing is uploaded.

Drop your FortiGate config here

or click to browse

.conf · .txt · .log — use show full-configuration for complete results

Masked IPs work, but overlaps between masked subnets can't be detected.

Shadowed rulesAny-any exposureCIS hardening

✓ Zero uploads  ·  ✓ Works offline & air-gapped  ·  ✓ Single HTML file — save & keep it

What you get

CRITICALRule 1 (LAN-to-WAN-full-access): full any-any accept
HIGHHTTP management on: port1, port3
config system interface
    edit "port1"
        unselect allowaccess http
    next
end
MEDIUMRule 2 (LAN-to-WAN-HTTP-only): shadowed by Rule 1

From the demo config: 17 findings, each with risk, remediation and CIS / ISO 27001 / PCI DSS references.

FAQ

How do I find shadowed policies on a FortiGate?

Run show full-configuration (or download a backup), then drop the file above. ShadowRule evaluates config firewall policy in sequence order — the same top-down order FortiOS uses — and reports every policy whose traffic is fully covered by an earlier one, resolving address groups, subnets, IP ranges, service groups and port ranges. It only reports coverage it can prove, so it will not flag a rule as shadowed when it is not.

Is my firewall config uploaded anywhere?

No. ShadowRule is a single HTML page; the parser and analysis engine run in your browser and make zero network requests while analyzing. You can save the page and run it on an offline or air-gapped machine. The only things that ever leave the page are feedback and update signups you submit yourself (sent via Web3Forms) — never your config.

What does the FortiGate audit check?

Shadowed and dead policies (including an accept hiding a deny), any-any and interface-any exposure, and CIS FortiOS Benchmark hardening: admin access over HTTP/Telnet, WAN-facing management, default admin, password and lockout policy, SNMP communities, logging, weak IPsec crypto and cleartext secrets. Findings come with remediation guidance, including FortiOS CLI where a config change fixes it.

Do I need to sanitize the config first?

Not for privacy, since nothing leaves your browser. If you do mask IP addresses, the audit still runs, but overlaps between masked subnets can't be detected, so expect fewer shadow findings.

Static configuration analysis only. It does not check license or certificate expiry, firmware CVEs, VPN tunnel status, or threat intelligence — a clean result is not a guarantee the firewall is secure. The full report lists exactly what is and isn't covered.

No analysis yet.

Load a FortiGate config in the Analyze tab — the summary appears here.

No results yet.

Run an analysis first — the full policy table and findings appear here.

What this tool does

FortiGate Policy Audit is a single-file, client-side audit tool for FortiOS 7.4, 7.6 and 8.0 configurations. It finds:

  • Shadowed rules — policies that can never match because an earlier, broader rule always wins (including a broad accept silently hiding a deny).
  • Any-any exposure — overly permissive policies where source, destination, or service is all, ranked by severity.
  • CIS hardening gaps — system-level checks against the CIS FortiOS Benchmark: management access, admin accounts, password & lockout policy, SNMP, logging, weak IPsec crypto, cleartext secrets.

Privacy

All analysis runs locally in your browser. Your config is never uploaded, and the analysis path makes zero network requests — don't take our word for it: open DevTools → Network and watch it stay empty while you analyze. Save this page (⌘S / Ctrl+S) and it works offline and air-gapped. The only network actions are ones you explicitly trigger — the feedback form and the updates signup — and neither ever includes your config.

Scope & limitations

Static configuration analysis only, built for FortiOS 7.4, 7.6 and 8.0 single-VDOM configs. It does not check license or certificate expiry, firmware CVEs, VPN tunnel status, routing correctness, rule hit counts, NAT/VIP correctness, IPv6 policies, or threat intelligence. A clean report is not a guarantee the firewall is secure. Findings require human review before client delivery.

Hardening findings cite the CIS FortiOS Benchmark ↗.

Feedback

Found a false positive, or missing a check you need? Send feedback — it goes straight to the person building this.

Updates

Get notified when new checks land — no tracking, no spam, unsubscribe any time. Your email is sent via Web3Forms; your config never is. Saved this page locally? The latest version always lives at shadowrule.com ↗.

Feedback

Only what you type below is sent (via Web3Forms) — never your config. Your firewall analysis stays 100% in this browser.