pyhealth

Warn

Audited by Gen Agent Trust Hub on Aug 29, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The documentation for SafeDrug and GAMENet models in references/models.md describes the use of .pkl files for loading drug-drug interaction (DDI) matrices and molecular graphs. The use of the Python pickle module for deserializing these files is inherently unsafe, as it can lead to arbitrary code execution if a user is induced to load a maliciously crafted pickle file.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted clinical data, creating a potential surface for indirect prompt injection.
  • Ingestion points: Untrusted data enters the context through clinical notes and transcriptions in the MedicalTranscriptionsDataset and MIMIC-III datasets (described in references/datasets.md).
  • Boundary markers: The instructions lack defined delimiters or specific warnings to prevent the agent from following instructions potentially embedded within clinical text.
  • Capability inventory: The skill possesses significant capabilities, including file system writes for model checkpoints and the execution of complex machine learning training pipelines (references/training_evaluation.md).
  • Sanitization: No sanitization or filtering mechanisms for the clinical text are mentioned in the documentation.
  • [EXTERNAL_DOWNLOADS]: The installation instructions in SKILL.md specify the use of uv pip install pyhealth to download the core library from the official Python package registry.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 29, 2026, 05:18 AM