docker-compose-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Demonstration Credentials: The file
assets/compose-web-app.yamlcontains hardcoded credentials such asPOSTGRES_PASSWORD: secretand aDATABASE_URLwith embedded secrets. These are explicitly labeled as "Demo only" and are intended for educational purposes. The skill's core guidance and theassets/bad-vs-good.mdfile provide clear remediation steps, recommending the use of environment files (.env) and Docker secrets for production environments to avoid hardcoding sensitive information. - Local Configuration Validation: The skill includes a shell script,
scripts/verify-compose.sh, which runsdocker compose configto validate the syntax of generated or modified Compose files. This is a standard, benign development utility used to ensure configuration correctness. - Indirect Prompt Injection Surface: The skill is designed to process user-provided
compose.yamlfiles. It includes the capability to execute thedocker compose configcommand for validation purposes. While this represents a surface for indirect prompt injection if malicious instructions were embedded in the configuration data, the skill includes detailed verification runbooks inchecks/verification.mdfor manual review and assumes standard guardrails are in place during agent interaction.
Audit Metadata