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) andreferences/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.mdidentifies usage of.pklfiles (e.g.,ddi_adj_path,molecule_path) andreferences/training_evaluation.mddocuments loading models viatrainer.load(), which typically utilizestorch.load(a Pickle-based operation).
Audit Metadata