capture-environment
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute standard environment management and diagnostic commands such aspip freeze,conda env export,uv lock,renv::snapshot(), andRscript. These operations are necessary to capture the current state of the computational environment. - [EXTERNAL_DOWNLOADS]: During the verification phase (Phase 3), the skill may trigger network activity to resolve or dry-run package installations using official package managers. This behavior is consistent with verifying that a lockfile is functional and targets well-known, public package registries.
- [INDIRECT_PROMPT_INJECTION]: The skill represents an attack surface for indirect prompt injection because it ingests and processes user-controlled source code and configuration files to extract package names and random seeds.
- Ingestion points: Reads files matching
scripts/R/*.R,scripts/stata/*.do,scripts/python/*.py, and standard project configuration files likepyproject.tomlorrequirements.txt. - Boundary markers: Not explicitly mentioned in the instructions for data read from user files.
- Capability inventory: The skill has access to
Bash(for tool execution) andWrite(for generating lockfiles and reports). - Sanitization: No specific sanitization or escaping of content extracted from user scripts is described before it is processed or written to outputs.
Audit Metadata