docker-compose

Warn

Audited by Gen Agent Trust Hub on Oct 30, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill demonstrates mounting the host's Docker daemon socket (/var/run/docker.sock) into a container (e.g., for a reverse proxy like Traefik). This configuration is a high-risk security pattern that allows a container to interact directly with the host's Docker engine, potentially enabling container escapes and full root access to the host system. The skill includes a warning that the read-only (:ro) flag does not prevent API-based attacks, acknowledging the risk associated with this configuration.
  • [COMMAND_EXECUTION]: Provides instructions for executing arbitrary commands within new or running containers using docker compose run and docker compose exec. Additionally, it documents destructive commands such as docker compose down -v --rmi all, which removes all project data volumes and images, posing a risk of accidental data loss if executed without proper authorization and scoping.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 30, 2026, 02:05 PM