docker-image-auditor

Audit Dockerfiles and container images for security issues across repositories.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/FrogAi/Xenopus --skill docker-image-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-image-auditor
Source: https://github.com/FrogAi/Xenopus/tree/main/Gemini/Skills/Gemini%203.1%20Pro/docker-image-auditor
Command: npx skills add https://github.com/FrogAi/Xenopus --skill docker-image-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits Dockerfiles and container images for security and best-practice violations across a repository, providing live guidance from Docker’s best practices, the CIS Docker Benchmark, and the OWASP container security cheatsheet.

Core Features & Use Cases

  • Live best-practices discovery and guidance updated on every run.
  • Live CVE status retrieval via scanners (when available) and references to current advisories.
  • Directive-by-directive analysis covering FROM, USER, RUN, COPY/ADD, HEALTHCHECK, ENV/ARG, and multi-stage patterns.
  • Secret detection and mitigation, including BUILDKit secret mounting checks and common leakage patterns.
  • Build optimization and security hardening recommendations tailored to Dockerfiles and image layouts.

Quick Start

Run the audit against your repository to scan all Dockerfiles and generate a prioritized security report.

Frequently Asked Questions about docker-image-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Dockerfile for security issues and CIS benchmark compliance?

You can audit Dockerfiles for security issues and CIS benchmark compliance by scanning your repository to evaluate base images, layers, and build configurations against Docker best practices, generating a prioritized remediation report.

What is the best way to detect secrets leaked in Docker build layers?

The best way to detect leaked secrets in Docker build layers is to perform directive-by-directive analysis on your Dockerfiles, checking for BuildKit secret mounting and common leakage patterns to identify and mitigate exposed credentials.

Can I scan for CVEs in my base images during a Dockerfile audit?

Yes, you can scan for CVEs in base images during a Dockerfile audit if a scanner is available in your environment, retrieving live CVE status and referencing current advisories for your container images.

Does this Docker security auditor evaluate multi-stage builds and specific directives like USER and HEALTHCHECK?

Yes, this Docker security auditor evaluates multi-stage builds and specific directives including FROM, USER, RUN, COPY/ADD, HEALTHCHECK, and ENV/ARG to ensure compliance with current Docker best practices.

Why should I check my container images against live Docker security guidance instead of static rules?

Checking container images against live Docker security guidance ensures your audits capture the most current best practices, CIS benchmarks, and OWASP recommendations, avoiding outdated static rules and improving build hardening.