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.py reads user-provided DICOM files via pydicom.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, and shell permissions 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.md and skill_manifest.yaml declare Bash and shell permissions. The test suite in tests/test_basic.py uses subprocess.run to verify script execution. This behavior is consistent with the skill's purpose as a command-line tool.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 23, 2026, 09:28 AM