torchdrug
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Recommends installation of dependencies from the official PyTorch Geometric wheel registry (data.pyg.org) and the official TorchDrug package. These are recognized, well-known services for the graph learning and molecular modeling communities.
- [COMMAND_EXECUTION]: Provides instructions for environment verification and setup using standard Bash commands, including Python version checks and package installation via
uv. These are routine administrative tasks for managing AI development environments. - [DYNAMIC_EXECUTION]: Demonstrates the use of
torch.load()andsolver.load()for managing model checkpoints. These methods utilizepicklefor deserialization, which is the standard mechanism for model state management in PyTorch-based libraries. Users should ensure checkpoints are sourced from trusted project environments. - [INDIRECT_PROMPT_INJECTION]: The skill defines workflows for processing external chemical and biological data formats such as SMILES strings and protein PDB files.
- Ingestion points: Dataset constructors like
datasets.ClinToxanddata.Protein.from_pdbin SKILL.md and reference files. - Boundary markers: Not explicitly used, which is standard for large-scale data ingestion in scientific computing.
- Capability inventory: The skill utilizes Bash and Python for data management and model training.
- Sanitization: Relies on the library's internal validation for chemical and structural data formats.
Audit Metadata