biomni
Warn
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The A1.go() method in the biomni.agent module is designed to autonomously generate and execute Python code based on natural language queries, posing a risk of executing malicious logic if instructions are manipulated.
- [COMMAND_EXECUTION]: The scripts/setup_environment.py script uses subprocess.run to call system commands such as conda and pip, and executes a dynamically generated test script using the current Python binary.
- [PERSISTENCE]: The scripts/setup_environment.py script includes functionality to append export commands to shell initialization files like .bashrc or .zshrc to persist LLM provider API keys as environment variables.
- [DYNAMIC_EXECUTION]: The agent framework dynamically creates and runs Python analysis pipelines at runtime. The scripts/generate_report.py utility also describes the dynamic execution of external tools for document formatting.
- [INDIRECT_PROMPT_INJECTION]: The skill processes diverse, untrusted biomedical datasets including GWAS summaries, VCF files, and RNA-seq data, creating a surface for indirect prompt injection that could influence the agent's code generation behavior.
Audit Metadata