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
gitandsed, deployment health checks viacurl, and automated traffic switching usingsedto 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
--privilegedflag with thetonistiigi/binfmtcontainer 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, andaquasecurity/trivy-action. - Container images from well-known registries such as
moby/buildkit:rootless,quay.io/buildah/stable, andaquasec/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-parseor script arguments indeploy.shandBlue-Greenscripts. - Boundary markers: The skill uses double-quoting for most variable interpolations.
- Capability inventory: Scripts have capabilities for
dockercommand 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