Works with the AI Agents you already use
Traefik Config Security Audit
by CashonlyTian
Deploying a Traefik reverse proxy with a weak configuration can expose your entire infrastructure to the public internet.
$7
Traefik Config Security Audit
Example session with this skill installed
Audit the Traefik config in the ./deploy/prod-edge directory for Project Phoenix. Use brand "CyberOps" and purple accent.
- Read your context and instructions
- Compiled the traefik config security
- Generated the document
I have completed the security audit for
Project Phoenix located in ./deploy/prod-edge. The scan analyzed your traefik.yml and docker-compose.yml labels across 10 security categories.
Audit Results:
- Score: 2/100
- Grade: F
- Risk Level: CRITICAL
- Findings: 34
Security Audit Report
| Check Category | Score | Status |
|---|---|---|
| Dashboard & API | 0/15 | FAILED: api.insecure is set to true — the dashboard and API are exposed with no authentication |
| Entrypoints & HTTPS Redirect | 0/15 | FAILED: Port 80 serves traffic with no redirect to HTTPS |
| Authentication | 0/15 | FAILED: Admin and API routers have no auth middleware |
| ForwardAuth | 0/10 | FAILED: forwardAuth is served over cleartext HTTP |
| TLS Options | 0/10 | FAILED: TLS 1.0 is allowed — minimum TLS version not set (defaults to 1.0) |
| Trusted IPs & Headers | 0/10 | FAILED: trustedIPs is set to 0.0.0.0/0, allowing IP spoofing via X-Forwarded-* headers |
| Provider Exposure | 0/10 | FAILED: The Docker provider auto-publishes a route for every container |
| ACME Certificates | 0/5 | FAILED: Staging ACME certificates are in use |
| Secrets Hygiene | 0/5 | FAILED: Plaintext passwords detected in basicAuth |
| Backend TLS Verification | 2/5 | PARTIAL: Some backends verify TLS certificates; others do not |
Top 3 Prioritized Fixes
Secure the Dashboard: Disable api.insecure and attach an auth middleware to the internal dashboard router. (Lost: 15 pts)
2. Harden TLS: Explicitly set minVersion: VersionTLS12 in your dynamic configuration options. (Lost: 10 pts)
3. Restrict Admin Access: Add basicAuth or forwardAuth to all administrative routers. (Lost: 15 pts)
Generated Assets:
- Score Card:
scan-2023-11-24.png(Visual summary with CyberOps branding) - Full Report:
scan-report.md
Next steps
- Review the specific lines flagged in
scan-report.md. - Apply the TLS hardening and dashboard auth fixes in your YAML.
- Re-run the audit to reach a grade A rating before deploying.
Clean Re-run (after fixes)
- Score: 100/100
- Grade: A
- Risk Level: NONE
- Findings: 0
- All 10 checks passed at full marks (15/15, 15/15, 15/15, 10/10, 10/10, 10/10, 10/10, 5/5, 5/5, 5/5).
scan-2023-11-24.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Deploying a Traefik reverse proxy with a weak configuration can expose your entire infrastructure to the public internet. This skill audits your local traefik.yml, dynamic.yml, and docker-compose.yml labels to identify critical security gaps before they go live.
What it does
- Exposures check flags insecure API and dashboard access including missing authentication on administrative routers.
- Encryption validation verifies HTTPS redirection, TLS versioning (1.2+), and SSL certificate verification for backends.
- Provider lockdown ensures the Docker provider isn't auto-publishing routes for every container in your stack.
- Header security identifies spoofing risks in
trustedIPsandX-Forwarded-*header configurations. - Secrets hygiene detects plaintext passwords in
basicAuthand exposed credentials in URLs or headers.
How it works
- Provide the local path to your project directory containing Traefik configuration files.
- The skill executes a local Python script to scan YAML, TOML, and Compose labels without uploading any data.
- It generates a visual score-card (PNG) and a detailed Markdown report containing a 0-100 score, grade, and risk level.
- Use the prioritized fix list to address high-severity findings, then re-run the scan to verify the improved security posture.
Frameworks & tools
Traefik Proxy (v2.x/v3.x), Docker Compose, YAML, TOML, and Python for the local audit engine.
Why this beats prompting it yourself
Standard prompts often miss nested label logic in complex Compose files or fail to calculate an objective risk score. This skill uses a 10-point checklist specifically mapped to Traefik security best practices to provide a repeatable, professional-grade audit.
Use cases
- Auditing a Traefik setup inherited from a tutorial or blog post.
- Performing a pre-deployment check on a new microservices stack.
- Generating a shareable security score-card for client handovers or internal reports.
Known limitations
Does not audit live running instances, Nginx/HAProxy configs, or package-level CVEs. Files over 2MB are skipped.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Scans local files only; no live instance auditing. Skips files over 2MB, .git, and node_modules. Traefik-specific only; does not audit Nginx or Caddy.
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 3 days ago
- Software
Python 3Pillow