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 like checked_input, checked_output, and collect_local_files prevent 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.py and scripts/uid_mapping_validator.py enforce 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.metadata for version checking and pydicom'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
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:28 PM