pathml

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: Fetches machine learning models from Hugging Face's official repository when using specific remote classes (e.g., SegmentMIFRemote). It also facilitates downloading research datasets from Warwick and Zenodo. The documentation explicitly mandates an "explicit consent gate" and provides a disclosure template before any network activity occurs.
  • [COMMAND_EXECUTION]: Provides installation procedures requiring sudo apt-get install to provision essential native libraries for OpenSlide and Java (Bio-Formats). These are standard prerequisites for the pathology toolkit's functionality.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external, user-supplied files such as pathology manifests, graph data, and image rasters.
  • Ingestion points: Files are read via scripts/slide_manifest.py (CSV), scripts/validate_spatial_schema.py (JSON/CSV), scripts/plan_inference.py (JSON), and scripts/image_qc.py (Images).
  • Boundary markers: The provided scripts use a checked_root helper to enforce file access within a declared directory boundary, explicitly rejecting symlinks, NUL bytes, and URL-like strings.
  • Capability inventory: Capabilities are restricted to local file reading, technical metadata inspection, hashing, and atomic writing of private JSON reports or masks.
  • Sanitization: The scripts implement strict validation, including RFC-compatible JSON parsing with duplicate key rejection, bounded numeric checks, and allowlisted metadata extraction to prevent information leakage.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 04:45 AM