docker-compose-guardrails
Pass
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/check_compose_guardrails.pyscript usessubprocess.runto calldocker compose config. It uses a list of arguments to pass the file path, which safely avoids shell interpolation and injection risks. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface. The
scripts/resolve.pyscript reads configuration and profile files from the target repository and writes them to a local cache. TheSKILL.mdthen instructs the agent to read and follow these potentially untrusted instructions. - Ingestion points: Configuration files are read from the repository's
.agents/skills-config/docker-compose-guardrails/directory. - Boundary markers: The resolver uses Markdown headers to separate generic and project-specific instructions, but lacks explicit guardrails against instructions embedded in the project data.
- Capability inventory: The skill can execute
docker compose configvia its scripts and suggests the use ofdocker inspectfor verification. - Sanitization: Path containment checks in
resolve.pyprevent directory traversal when resolving configuration files.
Audit Metadata