docker-agent-builder
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill optionally executes the
docker agentCLI against configuration files to perform a runtime dry-run. This behavior is a documented core capability of the tool and is implemented with security-conscious patterns, such as usingsubprocess.runwith explicit path prefixing to prevent argument injection. - [EXTERNAL_DOWNLOADS]: The skill downloads official JSON schemas and documentation from trusted sources including
github.comanddocker.github.io. The download implementation is robust, enforcing HTTPS-only connections, response size limits (5MB), and performing digest verification against a local cache. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied YAML configuration files, which constitutes a potential attack surface for indirect prompt injection.
- Ingestion points: The
scripts/validate_agent_yaml.pyscript reads and parses YAML configuration files provided by the user. - Boundary markers: The tool enforces strict structure through YAML parsing and JSON schema validation against the official Docker Agent schema definitions.
- Capability inventory: The skill can execute the
docker agentCLI andcurl(as a verified fallback for schema downloads). - Sanitization: The skill contains a dedicated security gate that uses regular expressions to detect and block the inclusion of literal secrets (API keys, tokens, private keys) in the configuration files, requiring the use of environment variable interpolation instead.
Audit Metadata