env-and-assets-bootstrap
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/bootstrap_env.pyperforms shell command execution usingsubprocess.run()to manage environments and install dependencies. While it avoids shell injection by passing commands as lists, it executes high-risk operations likepip install -r requirements.txtandpip install -e .(editable install) on files located within a user-provided target repository. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest untrusted data from external repositories, creating a surface for indirect attacks.
- Ingestion points: The
scripts/prepare_assets.pyscript reads and parsesREADME.mdand configuration files (YAML, JSON, TOML) for URLs and paths. Thescripts/plan_setup.pyandscripts/bootstrap_env.pyscripts read dependency manifest files. - Boundary markers: The skill lacks explicit boundary markers or instructions to the agent to ignore potentially malicious embedded commands within the processed repository files.
- Capability inventory: The skill has the capability to execute shell commands via
subprocess.run()inscripts/bootstrap_env.py, specifically targeting environment managers (conda, mamba, venv) and package managers (pip). - Sanitization: No validation or sanitization is performed on the content of the repository files (like
requirements.txtorsetup.py) before they are passed to the installation tools.
Audit Metadata