pydicom

Warn

Audited by Snyk on Jun 18, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.70). The skill’s runtime workflow reads user-supplied DICOM files via pydicom.dcmread(input_path) (e.g., in scripts/anonymize_dicom.py, scripts/dicom_to_image.py, scripts/extract_metadata.py), and the resulting DICOM element text/metadata is then formatted/printed/processed into the agent context—if the DICOM file is outsider-authored, it can carry free-text fields (e.g., PatientName/StudyDescription) that become LLM-readable prose.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 18, 2026, 09:00 AM
Issues
1
Security Audit — snyk — pydicom