docker-via-wsl
Pass
Audited by Gen Agent Trust Hub on Oct 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to wrap Docker and filesystem commands using
wsl.exeto ensure they execute within the WSL2 environment. This is the primary intended function of the skill to avoid path corruption on Windows network drives. This includes commands for managing containers and performing filesystem cleanup (e.g.,rm -rfinside a temporary container). - [INDIRECT_PROMPT_INJECTION]: The skill uses command templates that interpolate variables such as paths and container names into shell commands. This creates a potential surface where maliciously crafted file paths in a project could attempt to inject additional shell commands if the agent does not properly sanitize these inputs.
- Ingestion points: File paths and container names sourced from the user's project environment.
- Boundary markers: Not explicitly defined in the provided templates.
- Capability inventory: Shell access through the
Bashtool andwsl.exeintegration, including Docker daemon access. - Sanitization: The instructions do not include specific sanitization steps for interpolated variables, relying on the agent's default safety behavior.
Audit Metadata