Strip the secrets before you upload
Your config backup contains admin passwords, VPN pre-shared keys, and private keys. Strip recognized secrets locally before upload, then inspect the result. Your network structure remains sensitive. Read our data-handling policy for what happens after upload.
Sanitize in your browser — nothing to install
Download one HTML file, open it in any browser, and strip secrets from FortiGate, Palo Alto, Sophos XML, Cisco ASA text, or Check Point JSON / Gaia clish configs. No Node.js, no npm, no setup. It runs entirely offline — your config never leaves the page, and you can disconnect from the internet (or open the saved file on an air-gapped machine) and it still works. Palo Alto offline mode also rewrites network identifiers and can change topology-dependent findings.
FortiGate, Palo Alto, Sophos XML, Cisco ASA & Check Point. Drag-drop a config, review the summary, download the cleaned file.
Prefer zero effort? It's built into the upload box.
CRWLR upload forms sanitize supported FortiGate, Palo Alto, Sophos XML, Cisco ASA, and Check Point configs, single files or ZIP entries, in your browser, before the upload (on by default — you'll see exactly how many secret values were redacted). Same engine-parity guarantee. Use that if you're uploading straight to CRWLR; use the standalone scripts below to verify locally or automate with cron / Task Scheduler.
Sophos TAR/TAR.GZ and pgdump backups show "skipped-unsupported": archive stripping and safe SQL secret-column rewriting are not supported. Encrypted backups show "skipped-encrypted" because their contents cannot be read. Skipped files upload unchanged; export plain XML to strip Sophos secrets before upload.
Standalone scripts (command line — needs Node.js)
Prefer the command line, or want to run sanitization in automation? These zero-dependency scripts do the same job as the browser version above. Read every line first — they're single files.
FortiGate sanitizer
v1.0 · 12 KBStrips recognized secrets from a FortiOS .conf backup (tested on 7.2/7.4/7.6 exports). Findings parity is pinned by regression tests. Refuses to run on non-FortiGate input.
Palo Alto sanitizer
15 KBStrips secrets from a PAN-OS XML config and additionally anonymizes IPs, hostnames, and serials (full topology rewrite). Writes a local mapping file so you can reverse the placeholders.
Sophos XML sanitizer
Single fileStrips recognized secret elements and attributes in Entities.xml / Configuration XML. Preserves IPs, hostnames, and structure. TAR archives, pgdump, and encrypted backups are unsupported.
Cisco ASA sanitizer
Single fileStrips recognized passwords, hashes, shared keys, SNMP credentials, and private keys from show running-config text. Preserves IPs, hostnames, and structure.
Check Point sanitizer
Single fileStrips recognized secret fields from mgmt_cli / Management API JSON and credentials from Gaia clish show configuration text. Preserves IPs, hostnames, names, and structure.
Upload script (bash)
4 KBSanitize-then-upload in one cron-able command. Uses a revocable CRWLR API key from an environment variable, polls until your posture score is ready.
Upload script (PowerShell)
4 KBSame flow for Windows Task Scheduler. Works on stock Windows PowerShell 5.1+ (uses the curl.exe that ships with Windows 10+).
Single files, zero dependencies, MIT-licensed. No npm install, no network access — open them in any editor and read every line before you run them.
Supported vendors & firmware
| Vendor | Input format | Firmware coverage | Status |
|---|---|---|---|
| FortiGate | FortiOS backup (.conf) | Tested on real FortiOS 7.2 / 7.4 / 7.6 exports; format stable since 6.x | Available |
| Palo Alto | PAN-OS running-config XML | Tag-level redaction — works across PAN-OS versions | Available |
| Sophos XG/XGS | Entities.xml / Configuration XML | Plain XML only; TAR, pgdump, and encrypted backups skipped | Available |
| Check Point | R80+ JSON / Gaia clish | Management API JSON and clish text; secrets-only replacement | Available |
| Cisco ASA | show running-config text | Text configuration; secrets-only replacement | Available |
Unsupported or encrypted formats are not sanitized. Their original contents cross the wire if uploaded; the server parses configurations in memory without storing the raw file. See exactly what we read and skip →
Why one script per vendor instead of one tool for everything?
Auditability. A ~250-line single-purpose file is something you can actually read, line by line, before pointing it at your firewall config. A multi-vendor bundle would triple the size and the review burden. Each script also refuses to run on a config it doesn't recognize and tells you which script to use instead — you can't accidentally half-sanitize the wrong format.
Running the standalone script (optional — needs Node.js)
If you downloaded a script above instead of using the browser version, here's the flow:
# 1. Sanitize locally (needs only Node.js)
node sanitize-fortigate-config.js fw-backup.conf
# 2. Verify — every secret now reads REDACTED. The script
# prints a summary and flags anything left for your review.
# See the exact changes yourself:
diff fw-backup.conf fw-backup.sanitized.conf
# (on Windows: fc fw-backup.conf fw-backup.sanitized.conf)
# 3. Upload the .sanitized.conf file — that's it.
You've stripped the secrets — now find out what's still wrong
Upload the sanitized config and get a 0-100 posture score plus prioritized findings from 182 checks in minutes. CRWLR's free trial gives you 2 full scans, no credit card required, across all five supported vendors: FortiGate, Palo Alto, Sophos, Check Point, and Cisco ASA.
2 free scans · no credit card · results in minutes
What it removes
- ✕Every
ENC-encrypted secret blob — admin passwords, VPN pre-shared keys, RADIUS/LDAP secrets, HA keys - ✕Cleartext passwords, passphrases, and keys (older exports and lab configs)
- ✕Private keys and vendor-specific credential fields; FortiGate also strips certificate and CSR bodies
- ✕Custom SNMP community strings (renamed to neutral placeholders)
What the upload toggle preserves
- ✓All policies, interfaces, zones, addresses, services, NAT
- ✓VPN phase 1/2 crypto parameters — the audit needs these, the secrets it doesn't
- ✓Firmware version and model (CVE matching), hostname and serial (re-scan matching)
- ✓Secret presence — values are replaced while their fields remain for presence-based checks
Built-in upload sanitization preserves audit findings
The upload toggle strips secrets while preserving addresses, hostnames, and policy structure. Regression tests compare findings before and after stripping, including severity. Well-known default SNMP communities are retained where checks depend on their value. The standalone Palo Alto script and its offline HTML mode also rewrite topology, which can change findings.
What it protects against — and what it doesn't
A security tool that overclaims is worse than none. Here is the honest scope:
It protects against
- ✓Accidental credential disclosure when a config is shared — with us, vendor support, a consultant, or a teammate
- ✓Exposure of recognized credentials if a sanitized copy leaks — review the output for vendor-specific fields the sanitizer may not recognize
- ✓Wrong-file mistakes — it refuses other vendors' formats outright instead of half-sanitizing them
It does not
- ✕Make the file safe to publish. Network structure stays by design — policy logic, addressing, hostnames, firmware version — because the audit needs it. A sanitized config still shows how your network is built. Keep treating it as confidential.
- ✕Guarantee 100% removal. It is careful pattern matching, not magic — a vendor can add a new secret field tomorrow, or an exotic setup can carry a secret somewhere we don't recognize. That is why the script prints a review list and why step 2 is "diff it and look."
- ✕Replace credential rotation. If a raw, un-sanitized config has already leaked somewhere, rotate the credentials in it — don't just sanitize the next export.
Think of it as one layer of two: you strip the credentials before the file leaves your machine; our architecture never stores the raw file and processes uploads in memory. The scripts are MIT-licensed and provided as-is, without warranty; use is subject to our Terms of Service.
Automate recurring scans
Already exporting nightly FortiGate backups — to a file share, GitHub, or via Ansible? The upload scripts above chain straight onto that: sanitize locally, push to the CRWLR API with a revocable write-scoped API key, and your fleet re-scores itself on schedule. Create a key under Account → API keys after you sign up.
- ✓API key shown once, stored only as a hash, revocable any time
- ✓Raw config file parsed in memory, never stored —see the full data-handling policy
- ✓Cron / Task Scheduler examples included in the script headers
A maintained platform, not a script you have to trust blind
Search "free firewall audit script" and you'll find plenty of well-intentioned one-off tools. Since you're already here stripping secrets before running anything against your config, here's the honest comparison.
One-off scripts & tools
- ✕Something to install and run locally against a config full of live rules and secrets — the exact risk the sanitizer above exists to reduce
- ✕Check coverage frozen at whenever the author last touched it — many go unmaintained after the first release
- ✕Output is whatever the script prints — raw text you interpret yourself, with no remediation guidance attached
CRWLR
- ✓Nothing to install to sanitize — the browser version above runs entirely offline, in the page, with no network access
- ✓182 checks, actively maintained against current CVE feeds and CIS benchmark guidance
- ✓A readable posture score and prioritized findings, each with vendor-specific CLI remediation — not raw output you decode yourself
Frequently asked questions
Will sanitizing my firewall config change the audit results?
The built-in upload sanitizer replaces secret values while preserving network structure. Regression tests compare findings before and after stripping. The standalone Palo Alto script and its offline HTML mode also rewrite IPs and hostnames, which can change topology-dependent findings; the built-in upload toggle does not.
What does the sanitizer remove from my config?
Recognized passwords and hashes, VPN pre-shared keys, RADIUS/TACACS/LDAP credentials, SNMP communities and authentication/privacy keys, API tokens, and private keys. Coverage depends on the vendor format. Values are replaced with REDACTED while their presence is preserved for the audit. Review the output before sharing it.
Which vendors and firmware versions are supported?
Supported: FortiGate text backups, Palo Alto running-config XML, Sophos Entities.xml / Configuration XML, Cisco ASA show running-config text, and Check Point mgmt_cli / Management API JSON or Gaia clish show configuration text. Sophos TAR/TAR.GZ archives and pgdump backups are not supported by the sanitizer; export plain XML instead. Encrypted backups cannot be stripped locally. An upload marked skipped is sent unchanged.
What happens if I run it on the wrong vendor's config?
It refuses and tells you which script to use. Each sanitizer checks that the input actually looks like its vendor’s format before touching anything — a FortiGate script fed a PAN-OS XML exits with an error and writes nothing, so you can never accidentally upload a half-sanitized file.
How can I verify what was actually changed?
Diff the two files: "diff fw-backup.conf fw-backup.sanitized.conf" on Linux/macOS or "fc" on Windows. Secret replacements use REDACTED. Review the summary and inspect the changed fields. The standalone Palo Alto tool also uses placeholders for rewritten network identifiers.
Does sanitizing make my config safe to share publicly?
No. The upload toggle preserves policy logic, addressing, hostnames, and firmware version because the audit needs them. The standalone Palo Alto tool rewrites some identifiers, but still exposes network structure. Sanitizing reduces credential exposure when sharing with a specific party; keep treating sanitized configs as confidential.
Why does it keep default SNMP communities like "public"?
Default community strings are well-known words, not secrets — and using one is a high-severity security finding. Redacting them would hide that finding from your audit. Custom community strings ARE secrets and get renamed to neutral placeholders.
Do I need to install anything to run it?
No — not if you use the browser version. Open the single offline HTML file and sanitize FortiGate, Palo Alto, Sophos XML, Cisco ASA text, or Check Point JSON / Gaia clish configs directly in your browser: no Node.js, no npm install, no network access. The config never leaves the page. The standalone command-line scripts need Node.js and are single zero-dependency files you can inspect before running.
Is there a free firewall config audit?
Yes. CRWLR's free trial includes 2 full scans across all five supported vendors — FortiGate, Palo Alto, Sophos, Check Point, and Cisco ASA — no credit card required. Sanitize your config with the tool on this page, upload it, and get a 0-100 posture score with prioritized findings from 182 checks in minutes. The sanitizer itself is free too, and runs entirely offline in your browser whether or not you ever create an account.
Sanitized and ready?
Upload the .sanitized.conf file and get your posture score in minutes.
Run your first scan free2 free scans · no credit card