dicom-series-to-volume
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill extracts metadata from DICOM headers and provides it to the agent, creating a surface for indirect prompt injection.
- Ingestion points: The script scripts/series_to_volume.py reads user-provided DICOM directories.
- Boundary markers: The prompt instructions in SKILL.md lack delimiters or warnings to ignore instructions that may be embedded in the processed DICOM data.
- Capability inventory: The skill can perform filesystem writes (nib.save) and output information to the agent's context via JSON.
- Sanitization: Metadata fields like SeriesDescription and StudyDescription are extracted from DICOM files and included in the output JSON without sanitization or escaping, allowing potentially malicious strings to influence the agent.
- [DYNAMIC_EXECUTION]: The inclusion of dynamic module loading in the test suite is noted as a low-severity finding.
- Evidence: tests/test_orientation_regression.py uses importlib.util to load and execute scripts/series_to_volume.py dynamically for verification.
Audit Metadata