Works with the AI Agents you already use
Docker Daemon Config Security Audit
by CashonlyTian
Docker daemon configurations are often overlooked, leading to unauthenticated TCP listeners, containers running as host root, and leaked credentials in log options.
$7
Docker Daemon Config Security Audit
Example session with this skill installed
Scan the Docker configuration in ./deploy/config/ and generate a security report for the 'Alpha-Project' using the #E11D48 accent color.
- Read your context and instructions
- Compiled the docker daemon config
- Generated the document
I have completed the security audit for Alpha-Project. The scan analyzed your daemon.json file against 10 critical security checks.
Docker Security Audit Results
The audit found 4 high-severity misconfigurations. Your daemon is currently exposing an unauthenticated TCP socket on all interfaces, and containers are running with host root privileges.
| Metric | Result |
|---|---|
| Security Score | 40/100 |
| Grade | D |
| Risk Level | High |
| Findings | 6 Total (4 Critical, 2 Warning) |
Top 3 Prioritized Fixes
Secure the Daemon Socket: Remove tcp://0.0.0.0:2375 from your hosts or enable tlsverify with valid certificates. (Lost 20 pts)
2.
Enable User Namespace Remapping: Set userns-remap to default to prevent container escapes from gaining host root access. (Lost 10 pts)
3.
Configure Log Rotation: Add max-size and max-file to your json-file log driver settings to prevent disk exhaustion. (Lost 10 pts)
Files Generated:
- Report:
scan-report.md - Visual Scorecard:
scan-2023-10-27.png
Next steps
- Review the full findings in
scan-report.mdto see the specific lines requiring changes. - Apply the recommended hardening flags to your
daemon.json. - Run the scan again to verify the new configuration meets the 100-point security standard.
scan-2023-10-27.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
Docker daemon configurations are often overlooked, leading to unauthenticated TCP listeners, containers running as host root, and leaked credentials in log options. This skill audits your daemon.json files before you deploy, ensuring your Docker engine isn't an open door for attackers. It provides a concrete security score and prioritized fixes rather than vague suggestions.
What it does
- Network hardening checks for unauthenticated TCP listeners and verifies TLS configurations for remote API access.
- Identity management audits
userns-remapandno-new-privilegesto prevent containers from running as host root by default. - Resource isolation ensures containers are isolated via
iccsettings and verifies log rotation limits to prevent disk exhaustion. - Secret detection identifies literal credentials baked into labels, log options, or registry URLs and masks them in reports.
- Availability auditing checks
live-restoresettings to ensure containers stay running during daemon restarts.
How it works
- Point the agent to a local project directory containing your
daemon.jsonfile. - The agent runs a local-only scan that evaluates 10 specific security checks worth 100 points total.
- Review the generated
scan-report.mdwhich lists findings by severity and provides a prioritized fix list. - View the
scan-YYYY-MM-DD.pngscorecard for a high-level visual summary of your risk level and grade.
Frameworks & tools
This skill focuses exclusively on Docker engine configuration files (daemon.json). It utilizes a Python-based scanner to perform local static analysis without requiring network access or server connections.
Why this beats prompting it yourself
Generic prompts often miss specific Docker flags like userland-proxy or default-shm-size limits. This skill uses a structured 10-point scoring system that guarantees a consistent, deep audit of every critical daemon security control.
Use cases
- Auditing a
daemon.jsonfound in a tutorial before applying it to production. - Verifying that a CI/CD generated Docker config follows least-privilege principles.
- Generating a shareable security scorecard for client handovers or internal compliance.
- Identifying why a Docker host is running out of disk space due to unbounded logs.
Known limitations
Does not audit running containers, images, Dockerfiles, or Kubernetes manifests. It only scans local daemon.json files and skips directories over 2 MB or standard ignore folders like node_modules.
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.
Only scans local daemon.json files. Does not audit live servers, Dockerfiles, or Compose files. Skips files over 2MB and common ignored directories.
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