pydicom
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements a 'local-only' execution model with rigorous path validation in
scripts/_common.py. Functions likechecked_input,checked_output, andcollect_local_filesprevent directory traversal, symlink attacks, and parent-directory escapes. - [DATA_EXPOSURE]: While the skill processes DICOM data which inherently contains Protected Health Information (PHI), it incorporates several mitigations: it uses allowlists for metadata extraction (
extract_metadata.py), enforces recursive removal of private tags, and uses deterministic pseudonymization for UIDs (anonymize_dicom.py). It explicitly warns that de-identification is not a compliance claim and requires expert review. - [CREDENTIALS_SAFE]: The skill manages pseudonymization keys locally.
scripts/anonymize_dicom.pyandscripts/uid_mapping_validator.pyenforce strict file permissions (0600) for key files and use HMAC-SHA256 for derivation, preventing the leakage of the underlying secret material in outputs. - [DYNAMIC_EXECUTION]: The skill uses
importlib.metadatafor version checking andpydicom's plugin architecture for pixel decoding. These are standard library uses for capability discovery and do not involve executing untrusted remote code or user-injected strings. - [COMMAND_EXECUTION]: No arbitrary shell command execution was found. All subprocess-like behavior is restricted to validated Python imports and standard library file I/O operations.
Audit Metadata