env-manager
Fail
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The
getcommand inscripts/env_manager.pyretrieves raw, unmasked environment variables from both the specified file and the system'sos.environ. This enables the extraction of sensitive secrets like API keys or database URLs directly into the agent's output. - [DATA_EXFILTRATION]: The
scripts/env_manager.pyscript allows reading from and writing to arbitrary file paths provided via the--fileargument. This can be abused to access sensitive configuration files beyond the intended.envfiles if they follow a compatible format (e.g.,~/.aws/credentials). - [COMMAND_EXECUTION]: The skill requires the execution of a local Python script (
scripts/env_manager.py) which performs sensitive file system operations and accesses the system environment. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external
.envfiles without sanitization or boundary markers, creating a surface for indirect prompt injection if the agent interprets the loaded values as instructions. - Ingestion points:
parse_env_fileinscripts/env_manager.pyreads content from user-specified files. - Boundary markers: Absent. The script parses all line content as key-value pairs.
- Capability inventory: File system write (
write_env_file), system environment access (os.environ), and local script execution. - Sanitization: Absent. Values are read and output directly without filtering or escaping.
Recommendations
- AI detected serious security threats
Audit Metadata