pydicom
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: No malicious patterns such as credential exfiltration, persistence, or remote code execution were found in the provided code or instructions.
- [INDIRECT_PROMPT_INJECTION]: The skill processes external DICOM files and displays or extracts metadata from them, creating an attack surface for indirect prompt injection.
- Ingestion points: DICOM files are read using
pydicom.dcmreadinscripts/anonymize_dicom.py,scripts/dicom_to_image.py, andscripts/extract_metadata.py. - Boundary markers: No specific boundary markers or instructions are provided to the agent to ignore potentially malicious content within the DICOM metadata.
- Capability inventory: The skill allows writing to the local file system (
ds.save_as,image.save) and printing metadata to the console. - Sanitization: Metadata values are extracted and displayed without sanitization or validation against a strict schema before being presented to the agent context.
Audit Metadata