pydicom

Pass

Audited by Gen Agent Trust Hub on Jul 10, 2026

Risk Level: SAFEPROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill provides comprehensive and standard functionality for reading, writing, and manipulating DICOM medical imaging data using the pydicom library. All code snippets and scripts align with the stated purpose of the skill.\n- [SAFE]: Dependencies listed in the installation instructions, including pydicom, pillow, numpy, and pylibjpeg, are well-known and reputable packages from the official Python Package Index (PyPI).\n- [PROMPT_INJECTION]: The skill defines an ingestion surface for medical imaging metadata which could contain untrusted content.\n
  • Ingestion points: DICOM metadata is read from external files using pydicom.dcmread() in the documentation examples and utility scripts like extract_metadata.py and anonymize_dicom.py.\n
  • Boundary markers: The instructions do not provide delimiters or warnings to the agent to ignore instructions potentially embedded in metadata values.\n
  • Capability inventory: The skill includes scripts that can perform file system writes (ds.save_as in anonymize_dicom.py and SKILL.md) and standard Python execution.\n
  • Sanitization: While the anonymization script removes personally identifiable information for privacy, there is no validation or sanitization to prevent metadata from containing malicious natural language instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 10, 2026, 04:33 PM