venv-manager
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of the
subprocessmodule to perform environment management tasks. - Evidence:
scripts/venv_manager.pyusessubprocess.runto executeensurepipandpip installcommands for package management. - Evidence:
scripts/venv_manager.pyusessubprocess.callin thecmd_runfunction to execute user-specified Python scripts within the managed virtual environments. - Evidence:
tests/test_cli.pyusessubprocess.runto execute the skill's own CLI during automated testing. - [EXTERNAL_DOWNLOADS]: The skill contains logic to download official tooling from a well-known Python infrastructure provider.
- Evidence: In
scripts/venv_manager.py, if the standardensurepipmodule fails, the skill attempts to downloadget-pip.pyfromhttps://bootstrap.pypa.io/get-pip.pyto installpipmanually. This is a well-known and official source for Python packaging components. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from other skills which could be manipulated by an attacker.
- Ingestion points: The skill parses
SKILL.md(YAML frontmatter and prose) andrequirements.txtfiles from other skill directories to identify dependencies (found inscripts/parser.py). - Boundary markers: The skill does not implement explicit boundary markers or isolation when parsing these external skill definitions.
- Capability inventory: The skill has the capability to write files (creating venvs) and execute commands (
pip install,subprocess.call). - Sanitization: The skill uses regular expressions to extract package names but does not strictly validate these names against a whitelist before passing them to the system shell via
pip. - [DYNAMIC_EXECUTION]: The skill uses dynamic module loading for internal components.
- Evidence:
scripts/detector.pyandscripts/venv_manager.pyuse the__import__function to load the localparseranddetectormodules. This is used for code modularity rather than executing untrusted external code.
Audit Metadata