Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Docker Daemon Config Security Audit

    by CashonlyTian

    1

    Docker daemon configurations are often overlooked, leading to unauthenticated TCP listeners, containers running as host root, and leaked credentials in log options.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Docker Daemon Config Security Audit

    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.

    MetricResult
    Security Score40/100
    GradeD
    Risk LevelHigh
    Findings6 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

    1. Review the full findings in scan-report.md to see the specific lines requiring changes.
    2. Apply the recommended hardening flags to your daemon.json.
    3. Run the scan again to verify the new configuration meets the 100-point security standard.

    scan-2023-10-27.png

    PDF · document

    Generated

    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-remap and no-new-privileges to prevent containers from running as host root by default.
    • Resource isolation ensures containers are isolated via icc settings 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-restore settings to ensure containers stay running during daemon restarts.

    How it works

    1. Point the agent to a local project directory containing your daemon.json file.
    2. The agent runs a local-only scan that evaluates 10 specific security checks worth 100 points total.
    3. Review the generated scan-report.md which lists findings by severity and provides a prioritized fix list.
    4. View the scan-YYYY-MM-DD.png scorecard 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.json found 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill performs a local static analysis of your daemon.json file to identify vulnerabilities like unauthenticated TCP listeners, lack of root remapping, and missing log rotation limits. It provides a prioritized fix list and a visual security scorecard, taking the guesswork out of hardening your Docker engine configuration.

    No, this skill is designed for local-only static analysis and does not require an active Docker daemon to be running or network access to perform the scan. It safely evaluates the configuration file itself before you apply it to a live environment.

    The skill specifically audits the Docker daemon.json configuration file. It is not designed to scan Dockerfiles, individual container images, or Kubernetes manifests, as those require different security auditing frameworks.

    You receive the specialized auditing agent skill, a Python-based scanning engine for local analysis, and templates for both the markdown security report and the visual scorecard. It is ready to be integrated into any AI agent platform that supports local file system tools.

    The scan results are provided in two formats: a detailed `scan-report.md` file that lists specific severity-ranked fixes, and a `scan-YYYY-MM-DD.png` visual scorecard that gives you a quick letter grade (A-F) based on your total security score.

    New in LLM Ops