Insecure docker

From zakirkun/ice-tea · View interactive version

Insecure docker is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects dangerous Docker and Docker Compose configurations including privileged containers, secrets in environment variables, and running as root.

How to use this skill

Skill file

Insecure Docker Configuration

Overview

Docker misconfiguration can lead to container escapes and privilege escalation:

  1. --privileged flag: Gives container full host capabilities, enabling container escape
  2. Running as root: Default behavior — prefer non-root user
  3. Secrets in ENV variables: Visible via docker inspect and process listings
  4. --cap-add=SYS_ADMIN: Grants dangerous capabilities
  5. Mounting Docker socket: Allows container to control the host Docker daemon
  6. --pid=host: Shares host PID namespace

Remediation

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.