flareguard — Cloudflare Security, Secret Scanning & Zone Posture CLI
flareguard is a compiled Rust security auditor for Cloudflare Workers, Pages, and DNS zones that catches misconfigurations before deployment. It scans source trees and Wrangler configs for leaked secrets and ghost bindings, verifies TLS/WAF posture, and hunts Certificate Transparency logs for exposed origin IPs.
$ cargo install flareguard
flareguard secrets
Scans static bundles, dist folders, and git history for leaked Cloudflare API Tokens, Global Keys, and Turnstile secrets.
flareguard bindings
OXC JavaScript/TypeScript AST scanner that validates wrangler.jsonc bindings against actual code usage (D1, KV, R2, Vectorize).
flareguard zone
Live security posture audit for Cloudflare zones: SSL/TLS Strict, HSTS, WAF Managed Rules, Bot Fight Mode, and DNSSEC.
flareguard origin
Discovers unmasked backend origin IPs behind Cloudflare proxies via DNS SPF/MX records, CRT.sh logs, and HTTP probes.