pytdc
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The static analyzer flags instances of
importlib.import_module()inscripts/_common.py,scripts/benchmark_evaluation.py, andscripts/load_and_split_data.py. These dynamic imports are used exclusively for lazy evaluation of specific submodules and are strictly bounded by hardcoded lookup tables (GROUPSandTASKS), eliminating any risk of arbitrary module injection. - [COMMAND_EXECUTION]: The skill implements custom validation helpers (
safe_relative_pathandsafe_directory) to enforce workspace constraints. It explicitly blocks absolute paths, home-directory references, and parent-directory navigation shortcuts, preventing path-traversal vulnerabilities across all file operations. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted external data via JSON prediction maps and text-based SMILES strings. This input surface is safe because the scripts strictly validate that incoming values are either finite floating-point numbers or length-limited string arrays before feeding them into package-level scientific methods.
Audit Metadata