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.pyutilizeimportlib.import_modulefor 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 (--executeand--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
Bashtool to manage scientific environments and execute PyTDC workflows. These operations are confined to relative paths within the workspace, and the helper functions in_common.pyinclude explicit validation to prevent path traversal and ensure that file operations remain contained within the current directory.
Audit Metadata