adding-docker
Warn
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
setup.shuses positional arguments ($1,$2) directly in shell commands (docker buildanddocker run) without validation or proper shell quoting. This allows for command injection if an attacker can control the values passed to the script. - [INDIRECT_PROMPT_INJECTION]: The skill instructions direct the agent to inspect project metadata files to determine the application's runtime. Malicious content within these files could influence the agent's actions during the containerization process.
- Ingestion points: The agent reads
package.json,requirements.txt,go.mod, andCargo.tomlfrom the local workspace to identify runtimes. - Boundary markers: No specific delimiters or instructions to ignore embedded prompts are provided when reading these external files.
- Capability inventory: The skill possesses capabilities for file system modification (creating Dockerfiles) and shell command execution (via
setup.shor npm scripts). - Sanitization: The skill lacks validation or sanitization mechanisms for the data extracted from the project files before it is used to guide the agent's subsequent steps.
Audit Metadata