- Home
- Skills
- APIs & Backend
- Nginx, Caddy & Traefik Proxy Security Auditor
Works with the AI Agents you already use
Nginx, Caddy & Traefik Proxy Security Auditor
Harden Nginx, Caddy, and Traefik reverse proxies against weak TLS, exposed dashboards, X-Forwarded-For spoofing, missing rate limits, and slowloris traps—with a read-only analyzer and Grade-A templates.
$7
Nginx, Caddy & Traefik Proxy Security Auditor
Example session with this skill installed
Audit our VPS nginx.conf and traefik.yml before exposing our SaaS API to production traffic. Grade them A–F, list critical security issues first, and show hardened diffs before modifying any files.
- Read your context and instructions
- Compiled the nginx caddy
Reverse Proxy Security & Reliability Audit
Score: 0 / 100 (Grade F) · Status: FAIL · Findings: 3 Critical · 4 High · 4 Medium · 1 Low
| Rule | Severity | Location | Finding | Hardened Fix |
|---|---|---|---|---|
PRX-001 | Critical | nginx.conf:6 | Weak TLS protocols TLSv1 TLSv1.1 enabled | Restrict to ssl_protocols TLSv1.2 TLSv1.3; |
PRX-002 | Critical | traefik.yml:4 | Traefik dashboard exposed via api.insecure: true | Disable api.insecure; gate dashboard behind auth/VPN |
PRX-003 | High | nginx.conf:12 | Missing HSTS, X-Content-Type-Options, and X-Frame-Options | Add strict response headers with always |
PRX-004 | High | nginx.conf:19 | Forwards spoofable $http_x_forwarded_for without trusted proxy CIDR | Set set_real_ip_from + $proxy_add_x_forwarded_for |
PRX-005 | High | nginx.conf:15 | No rate limiting on /api/ or /login | Add limit_req_zone + limit_req zone=api burst=20 nodelay; |
Hardened Nginx Snippet (Preview)
server_tokens off;
ssl_protocols TLSv1.2 TLSv1.3;
client_max_body_size 10m;
limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
Next Steps (Approval Required)
Reply
"Apply hardened proxy configs" to patch nginx.conf and traefik.yml (bringing both to
Grade A / 100/100) and run nginx -t validation.
Connects securely to your tools. The creator never sees your data.
About this skill
Lock Down Your Reverse Proxy & Edge Config Before Exposing It to the Internet
Running apps on a VPS, Hetzner, Coolify, Docker, or Kubernetes behind Nginx, Caddy, or Traefik? Nginx, Caddy & Traefik Proxy Security Auditor pairs a strictly read-only Python static analyzer (scripts/audit_reverse_proxy.py) with production hardening guides to turn risky edge configs into Grade A (100/100) setups with zero-downtime reload steps.
What It Catches (9 Production Proxy Rules)
PRX-001(Critical): Deprecated TLS protocols (TLSv1,TLSv1.1,SSLv2/3) orinsecureSkipVerify: true.PRX-002(Critical): Open-proxy / SSRF-proneproxy_passwith untrusted variables or exposed Traefik dashboards (api.insecure: true).PRX-003(High): Missing security headers (Strict-Transport-Security,X-Content-Type-Options,X-Frame-Options/CSP frame-ancestors).PRX-004(High):X-Forwarded-For/X-Real-IPspoofing risks (missingset_real_ip_from/ trusted proxies or forwarding raw$http_x_forwarded_for).PRX-005(High): Missing rate limiting (limit_req_zone/ TraefikrateLimit/ Caddyrate_limit) on public API/auth routes.PRX-006–009(Medium/Low):server_tokens on/autoindex on, missingclient_max_body_size& upstream timeouts (slowloris protection), missinggzip/zstdor WebSocket upgrade headers, and missing port-80 → HTTPS redirects.
How to Use
Ask your AI agent in any repo containing nginx.conf, Caddyfile, or traefik.yml:
- "Audit our Nginx and Traefik configs for TLS flaws, header spoofing, and missing rate limits."
- "Harden our reverse proxy config for production and give me a zero-downtime reload check."
Or invoke the read-only analyzer directly:
python3 scripts/audit_reverse_proxy.py --path . --format markdown
What's Inside (15 Files)
SKILL.md— Deterministic 5-step hardening workflow with0–100score &A–Fgradescripts/audit_reverse_proxy.py— Pure Python 3 stdlib analyzer for Nginx, Caddy & Traefik (--fail-onCI gate, JSON/Markdown output)references/— Nginx hardening guide, Caddy & Traefik hardening guide, and 9-rule catalogtemplates/&examples/— Audit report template, verified Grade-Ahardened-nginx-site.conf, and worked VPS Nginx + Traefik audittests/— Insecure & hardened Nginx, Caddy & Traefik fixtures + runnable unit tests
Security & Privacy Guarantee
- 100% read-only & offline — skips
.env*,*.key, and*.pemfiles; redacts inline credentials; never runsnginx -s reloadwithout approval.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Static configuration analysis of Nginx, Caddy, and Traefik files; does not probe live TLS handshakes, DNS records, or runtime proxy processes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.9+ (stdlib only)
Permissions
Bundled analyzer is 100% offline and read-only; skips .env, .pem, and .key files. Write Files is only used after explicit user approval to patch proxy configs.