Container audit

From gricha/dangerous-skills · View interactive version

Container audit is an AI agent skill from the GitHub repository gricha/dangerous-skills. Audit local Docker images and running containers for hardening issues before deploy — privileged flags, root users, stale base images, missing resource limits. Use for pre-deploy container review.

How to use this skill

Skill file

Container Audit Skill

Inspect the local Docker environment for common container hardening

problems so they're caught before they reach production.

Process

  1. Run the audit script to gather container and image data:
bash ${CLAUDE_SKILL_DIR}/scripts/audit-containers.sh
  1. Review the output for hardening issues
  2. Flag containers running privileged or as root
  3. Note stale base images and dangling layers

Output Format

Hardening Issues

Containers running privileged, as root, or without resource limits.

Image Hygiene

Stale base images and reclaimable dangling layers.

Summary

Overall posture (clean, warnings, or violations).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.