Free, open-source CLI tool for instant website security audits
Scans any website and checks for:
| Check | What it tests |
|---|---|
| π SSL/TLS | Certificate validity, expiry, TLS version, weak ciphers |
| π Security Headers | HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy |
| π CORS | Wildcard origins, credential leaks, origin reflection |
| π§ DNS Security | SPF, DMARC, DKIM records |
| π File Exposure | .env, .git, phpinfo, server-status, swagger, backup files |
Zero dependencies. Pure Node.js. Works on Node 16+.
# Run instantly (no install)
npx @0xaudit/scanner https://your-site.com
# Or install globally
npm install -g @0xaudit/scanner
0xaudit scan https://your-site.com# Terminal output (default β with colors)
0xaudit scan https://example.com
# JSON output (for CI/CD pipelines)
0xaudit scan https://example.com --format json
# Markdown report
0xaudit scan https://example.com --format md
# Custom timeout
0xaudit scan https://example.com --timeout 15000 π‘οΈ 0xAudit Security Scanner v1.0
Target: https://example.com
Score: B (82/100)
Scan time: 2341ms
ββββββββββββββββββββββββββββββββββββββββββββββββββ
HIGH (1):
β Missing HSTS header
β Add: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
MEDIUM (2):
β Missing Content-Security-Policy
β Implement a Content-Security-Policy header
β No DMARC record
β Add a DMARC TXT record at _dmarc.domain
PASSED (8):
β Valid SSL certificate
β TLS 1.3 supported
β No CORS headers (default same-origin)
β SPF record configured
...
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Full audit? Visit https://0-x-audit.com
or connect via MCP: mcp.0-x-audit.com
| Code | Meaning |
|---|---|
| 0 | Score β₯ 70 (passing) |
| 1 | Score 40-69 (needs work) |
| 2 | Score < 40 or error |
Perfect for CI/CD pipelines β fail builds on poor security scores.
| Grade | Score | Meaning |
|---|---|---|
| A | 90-100 | Excellent security posture |
| B | 80-89 | Good, minor improvements needed |
| C | 70-79 | Acceptable, several issues |
| D | 50-69 | Poor, significant issues |
| F | 0-49 | Critical security problems |
This scanner covers the basics. For a comprehensive security audit including:
- π Deep vulnerability assessment
- π Smart contract auditing
- ποΈ Architecture review
- π Detailed remediation report
Visit 0-x-audit.com or connect via MCP: mcp.0-x-audit.com
PRs welcome! Please open an issue first to discuss changes.