pathml

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the acquisition of pre-trained models and pathology datasets from well-known research repositories and academic domains.
  • Evidence: SKILL.md and references/data_management.md reference assets hosted on Hugging Face (huggingface.co), Zenodo (zenodo.org), and the University of Warwick (warwick.ac.uk).
  • Context: These downloads are standard for the intended research purpose and require explicit user opt-in via library-specific flags (e.g., download=True).
  • [DYNAMIC_EXECUTION]: Technical references provide guidance for handling the underlying library's use of potentially unsafe deserialization formats.
  • Evidence: SKILL.md and references/machine_learning.md document that PyTorch .pt files and PathML .h5path tiles may involve pickle or dynamic expression evaluation during loading.
  • Mitigation: The skill instructs users to only process trusted artifacts and provides dry-run planners in the scripts/ directory that estimate resources without importing the library or loading binary models.
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a robust sanitization layer for processing untrusted slide data and manifests.
  • Ingestion points: Slide manifests (CSV) and image metadata (TIFF/SVS/DICOM) are ingested by the provided scripts and the PathML library.
  • Boundary markers: Data processing is governed by strict local directory boundaries and explicit de-identification guidelines provided in the scope and safety boundary.
  • Capability inventory: The skill utilizes local file system tools (Read, Write, Edit, Bash) and the PathML library for data transformation and local inference.
  • Sanitization: The provided Python scripts in scripts/ utilize _common.py, which implements robust validation logic to enforce root-directory confinement and reject URLs, NUL bytes, and symlinks in input paths.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM