Caddy Analyzer is a powerful, zero-dependency tool designed for fast log analysis and security threat detection in Caddy v2. With a dual-pass evasion-resistant engine that categorizes attacks and integrates with state-of-the-art detection frameworks, it empowers users to protect their applications while providing a user-friendly TUI dashboard for real-time monitoring.
Ever stared at a Caddy v2 access log and realized none of your tools can parse it? Caddy uses structured JSON logs, not Common/Combined format. So goaccess, lnav, and your usual grep/awk pipelines just... don't work. caddy-analyzer is a Go CLI that natively parses Caddy v2 JSON logs and runs 26 attack category detections — SQLi, XSS, SSRF, RCE, SSTI, Log4j, XXE, path traversal, C2 beaconing, and more. Every detection is tagged with MITRE ATT&CK technique IDs. What makes it different
curl -sSfL https://raw.githubusercontent.com/lenny-ts/caddy-analyzer/main/install.sh | bash
caddy-analyze --detect /var/log/caddy/access.log
caddy-analyze tail --detect docker://my-caddy
sudo caddy-analyze guard docker://my-caddy Performance: ~7K lines/sec with detection enabled, ~70K lines/sec parse-only. Linear memory scaling. It's MIT licensed, fully tested, and ships with sample logs so you can try it without a live server. GitHub: https://github.com/lenny-ts/caddy-analyzer If you're running Caddy and care about what's hitting your server, this is for you. Star it if you find it useful!
No comments yet.
Sign in to be the first to comment.