dicom-metadata-extract
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external DICOM files which could potentially contain malicious instructions in metadata fields like PatientName or StudyDescription. The extracted metadata is then passed to the agent context.\n
- Ingestion points:
scripts/extract_metadata.pyreads user-provided DICOM files viapydicom.dcmread.\n - Boundary markers: Data is returned as structured JSON, providing inherent separation, though no explicit instructions are provided to the agent to ignore embedded commands within the strings.\n
- Capability inventory: The skill utilizes
file_read,file_write, andshellpermissions to execute its scripts and handle output.\n - Sanitization: Metadata values are converted to strings using a safe wrapper and serialized as JSON.\n- [COMMAND_EXECUTION]: The skill requires the ability to execute its own Python extraction script via the shell.\n
- Evidence:
SKILL.mdandskill_manifest.yamldeclareBashandshellpermissions. The test suite intests/test_basic.pyusessubprocess.runto verify script execution. This behavior is consistent with the skill's purpose as a command-line tool.
Audit Metadata