esm
Warn
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The reference documentation (references/esm-c-api.md and references/forge-api.md) includes classes like EmbeddingCache, CheckpointedBatchProcessor, and ForgeCache that use pickle.load() to read data from local files. The pickle module is inherently insecure because it can execute arbitrary code during deserialization if the input file is malicious. While these examples are intended for local data persistence, they promote an unsafe coding pattern that can be exploited if an attacker modifies the local cache or checkpoint files.
- [PROMPT_INJECTION]: The skill provides capabilities to ingest protein structure data from PDB files (e.g., ESMProtein.from_pdb()). This represents an indirect prompt injection surface where maliciously crafted protein structure data could theoretically influence the model's behavior or exploit vulnerabilities in parsing libraries. No explicit validation or sanitization steps for these external files are documented.
- [EXTERNAL_DOWNLOADS]: The skill interacts with the Forge API at https://forge.evolutionaryscale.ai for model inference. This involves transmitting protein sequence and structure data to a remote service managed by EvolutionaryScale. While this is a core functionality for design tasks, it involves remote data processing.
- [COMMAND_EXECUTION]: The installation guide in SKILL.md instructs the user to execute shell commands to install the necessary Python environment, specifically uv pip install esm and uv pip install flash-attn --no-build-isolation.
Audit Metadata