biomni
Warn
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The framework's primary functionality relies on generating and executing Python code based on LLM outputs to satisfy research queries. The documentation in
SKILL.mdexplicitly warns that code is executed with full system privileges by default, andreferences/api_reference.mdshows thatsandbox_modeis disabled (False) in the default configuration. - [COMMAND_EXECUTION]: The
scripts/setup_environment.pyfile usessubprocess.runto execute system commands for managing Conda environments and to run dynamically generated test scripts (test_biomni.py). - [CREDENTIALS_UNSAFE]: While the skill correctly recommends using
.envfiles for secret management,scripts/setup_environment.pyinteractively prompts the user for sensitive API keys (Anthropic, OpenAI, Google, Groq) and writes them to local files or suggests exporting them to shell profiles. - [PERSISTENCE]: The
scripts/setup_environment.pyscript contains logic to append environment variable exports to shell configuration files such as~/.bashrcand~/.zshrcto persist API keys across sessions. - [INDIRECT_PROMPT_INJECTION]: The skill represents a high-risk surface for indirect prompt injection (Category 8) because it autonomously ingests and processes ~11GB of external biomedical databases, PubMed abstracts, and user-provided research datasets (e.g., GWAS, scRNA-seq files) to generate its analysis code. Malicious instructions embedded in these external sources could influence the generated code's behavior.
- Ingestion points: Integrated data lake (GeneDB, ProteinDB, ClinicalDB, LiteratureDB) and user files (VCF, H5AD, CSV).
- Boundary markers: None explicitly implemented for data ingestion phases.
- Capability inventory: Full Python execution via
agent.go(), file system access for reports and data lake, and network access for LLM providers. - Sanitization: Not present for external database content prior to code generation.
Audit Metadata