docker-cicd

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides numerous shell scripts for CI/CD automation. These include scripts for image tagging using git and sed, deployment health checks via curl, and automated traffic switching using sed to modify Nginx configurations.
  • [PRIVILEGE_ESCALATION]: Several sections describe workflows that require elevated permissions:
  • Documentation of mounting the host Docker socket (/var/run/docker.sock) into CI containers, which grants the container full control over the host Docker daemon.
  • Instructions for using the --privileged flag with the tonistiigi/binfmt container to install cross-platform execution support on the host.
  • The skill proactively identifies these as security risks, providing 'HARD-RULE' warnings and recommending rootless alternatives.
  • [EXTERNAL_DOWNLOADS]: The skill integrates various external dependencies from established sources:
  • GitHub Actions from trusted organizations including actions/checkout, docker/setup-buildx-action, docker/login-action, and aquasecurity/trivy-action.
  • Container images from well-known registries such as moby/buildkit:rootless, quay.io/buildah/stable, and aquasec/trivy:latest.
  • [INDIRECT_PROMPT_INJECTION]: The skill documents how to interpolate untrusted data (such as Git branch names or tags) into shell commands within deployment scripts.
  • Ingestion points: Shell variables derived from git rev-parse or script arguments in deploy.sh and Blue-Green scripts.
  • Boundary markers: The skill uses double-quoting for most variable interpolations.
  • Capability inventory: Scripts have capabilities for docker command execution and file system modification.
  • Sanitization: The skill explicitly provides examples of sanitizing branch names using sed 's/[^a-zA-Z0-9._-]/-/g' to prevent malicious input from affecting tag strings.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 12:51 PM