sandbox-init
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill analyzes external project files (e.g.,
package.json,Cargo.toml,go.mod,requirements.txt) to dynamically adapt theDockerfilecontent. This creates a surface where malicious content in these untrusted files could influence the AI to include dangerous commands in the sandbox environment. - Ingestion points: Reads project manifest files at the root of the project directory (identified in SKILL.md Step 4).
- Boundary markers: No delimiters or explicit warnings are used to separate untrusted manifest data from the agent's instructions.
- Capability inventory: The skill performs file writing, shell command execution via
sed, and executes the resultingsandbox.shscript. - Sanitization: No explicit sanitization or validation of the data read from manifest files is performed before interpolation into the
Dockerfilebuild steps. - [DYNAMIC_EXECUTION]: The skill dynamically generates a manager script (
sandbox.sh) and aDockerfileusing string substitution (sed) on provided templates, which are then executed on the host system to build and run containers. - [COMMAND_EXECUTION]: The skill uses
chmod +xto modify permissions on the generatedsandbox.shand immediately proceeds to runsandbox/sandbox.sh upto initialize the Docker environment. - [EXTERNAL_DOWNLOADS]: The
Dockerfiletemplate fetches the Node.js setup script fromnodesource.comand various system packages from official Ubuntu repositories. These are well-known and established sources for development toolchains.
Audit Metadata