pyhealth
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses the Python
picklemodule to load processor artifacts, as documented inreferences/models.md. While the documentation includes a caution to only load trusted local artifacts, the use ofpicklefor deserialization presents a risk of arbitrary code execution if an agent or user is manipulated into loading a compromised file. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process unstructured clinical text, such as discharge notes in the
MIMIC3ICD9Codingtask, which constitutes an indirect prompt injection surface. Embedded instructions in clinical data could potentially influence the behavior of an agent that processes the skill's outputs. - Ingestion points: Dataset classes like
MIMIC3DatasetandMIMIC4Datasetwhich load clinical tables and notes from CSV files. - Boundary markers: No specific delimiters or boundary warnings are provided for the ingestion of clinical notes or text-based features.
- Capability inventory: The skill has capabilities for network access (downloading datasets and code resources), local file system writes (caching and checkpoints), and subprocess execution via the
uvtool. - Sanitization: There is no evidence of text sanitization or filtering applied to external clinical notes before they are processed by the machine-learning pipeline.
- [EXTERNAL_DOWNLOADS]: The skill fetches synthetic datasets and medical code mapping tables from public Google Cloud Storage buckets (e.g.,
https://storage.googleapis.com/pyhealth/resource/). These resources are fetched from a well-known service and are integral to the skill's primary research purpose.
Audit Metadata