pytdc

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The scripts benchmark_evaluation.py, load_and_split_data.py, and _common.py utilize importlib.import_module for the lazy loading of library components. This behavior is restricted to a fixed, predefined set of task and group identifiers stored in hardcoded mapping dictionaries, which prevents the loading or execution of arbitrary modules.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the retrieval of therapeutic datasets, benchmark archives, and model checkpoints from the Harvard Dataverse (dataverse.harvard.edu), which is a well-known scientific service. These network operations are explicitly documented and protected by mandatory command-line flags (--execute and --download) to ensure that downloads occur only with explicit user acknowledgement.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests external data from SMILES molecular files and JSON prediction files. The scripts mitigate potential risks by implementing strict validation logic, such as RDKit structural verification for molecules and schema-based parsing for JSON data, alongside a recommended multi-step workflow that requires discovery and planning before data is processed.
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to manage scientific environments and execute PyTDC workflows. These operations are confined to relative paths within the workspace, and the helper functions in _common.py include explicit validation to prevent path traversal and ensure that file operations remain contained within the current directory.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM