scientific-visualization

Pass

Audited by Gen Agent Trust Hub on Sep 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill's implementation demonstrates a high standard of defensive programming for local utility tools. The scripts implement path and file validation via a shared helper module that enforces a 200MB size limit and rejects symbolic links, preventing classes of arbitrary file read and symlink-following attacks. Additionally, the skill utilizes atomic write operations to ensure output files are written to a temporary location before being moved to their final destination, mitigating race conditions. XML security is also addressed; the SVG inspection tool in scripts/image_metadata.py includes proactive checks for internal DTD and entity declarations to prevent XML External Entity (XXE) attacks and implements a maximum element count to protect against XML expansion Denial of Service. Finally, raster image processing via Pillow is guarded by pixel limits to prevent decompression bomb attacks.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided data files such as CSV, PDF, SVG, and TIFF to generate visualizations. While these files are processed using libraries with established security controls, they represent an ingestion surface for indirect prompt injection if malicious instructions are embedded in file metadata or annotations. The skill mitigates this by focusing on metadata extraction and applying technical limits on file parsing, though the inherent risk of processing complex, attacker-controlled file formats is noted as a low-level factor.
  • Ingestion points: scripts/image_metadata.py (SVG, PDF, and raster metadata inspection) and scripts/figure_export.py (data processed by Matplotlib).
  • Boundary markers: Absent for raw data file content; instructions focus on technical metadata inspection rather than interpreting data strings.
  • Capability inventory: File read/write, local command execution via uv run on bundled scripts, and image processing.
  • Sanitization: Rejection of symlinks, XML entity/DTD filtering, and pixel limits for rasters.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:28 PM