alterlab-pydicom
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to run Python scripts and theuvpackage manager for processing DICOM data. This allows the agent to execute code on the host system to perform medical imaging tasks like anonymization and format conversion. - [EXTERNAL_DOWNLOADS]: The skill instructions specify the use of
uv runwith--withflags to fetch Python packages (such aspydicom,numpy, andpillow) from public registries at runtime. - [DYNAMIC_EXECUTION]: The skill provides Python code templates that the agent is expected to write to local files and execute. This allows for runtime creation and execution of scripts to manipulate medical datasets.
- [INDIRECT_PROMPT_INJECTION]: The skill reads and processes DICOM files which may originate from external clinical or research sources.
- Ingestion points:
pydicom.dcmread()is used inSKILL.mdand across scripts in thescripts/directory to load DICOM datasets. - Boundary markers: No explicit boundary markers or instructions to ignore embedded content are used when reading DICOM tags.
- Capability inventory: The skill can read and write files, and execute shell commands via
pythonanduvto process the ingested data. - Sanitization: The provided
scripts/anonymize_dicom.pysanitizes DICOM datasets by removing or replacing Protected Health Information (PHI) tags before data is shared.
Audit Metadata