pyhealth

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes clinical transcriptions, notes, and records (e.g., MedicalTranscriptionsDataset, BioClinicalBERT). Maliciously crafted medical notes could potentially influence the agent's behavior during analysis or classification tasks.
  • Ingestion points: Specified in references/datasets.md (MedicalTranscriptionsDataset) and references/tasks.md (icd9_coding_mimic3_fn, medical_transcription_classification_fn).
  • Boundary markers: The documentation and examples do not define explicit delimiters or instructions to ignore embedded prompts in processed clinical text.
  • Capability inventory: The skill includes functions for training, evaluating, and saving models (trainer.save), which involve file system interactions.
  • Sanitization: There is no evidence of sanitization or filtering logic to detect or neutralize prompt injection patterns within clinical text data.- [DYNAMIC_EXECUTION]: The skill references the use of serialized Python objects (Pickle) and PyTorch state dicts for loading drug-drug interaction matrices and model checkpoints. Loading untrusted serialized files can lead to arbitrary code execution.
  • Evidence: references/models.md identifies usage of .pkl files (e.g., ddi_adj_path, molecule_path) and references/training_evaluation.md documents loading models via trainer.load(), which typically utilizes torch.load (a Pickle-based operation).
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 11:07 AM