scientific-visualization
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill is a comprehensive toolkit for scientific visualization, emphasizing data integrity and accessibility. It implements several security-hardened patterns for handling file inputs and generating exports.
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data (images and scientific datasets) using tools like Matplotlib and Pillow, which presents a theoretical vulnerability surface. However, the skill includes significant mitigations:
- Ingestion points: The
scripts/image_metadata.pyscript reads and parses user-supplied image files (TIFF, PNG, SVG, PDF, EPS). - Boundary markers: The
SKILL.mdfile defines explicit guardrails for scientific behavior and integrity, though it does not use specific markers for input data content. - Capability inventory: The skill uses
Read,Write, andBashtools to extract metadata, render figures, and manage exports. - Sanitization: The
scripts/image_metadata.pyscript includes a regex-based pre-parser check that identifies and rejects SVG files containing<!ENTITYor<!DOCTYPEdeclarations, effectively mitigating XML External Entity (XXE) attacks. It also enforces amax_pixelslimit to protect against decompression bomb (Zip Bomb) attacks in raster images. - [COMMAND_EXECUTION]: The skill documentation provides examples of using
uv runto execute scripts with pinned dependencies (e.g.,matplotlib==3.11.1). This is a secure practice for managing reproducible and isolated execution environments. - [SAFE]: File system operations in
scripts/_common.pyandscripts/figure_export.pyfollow defensive programming practices: - Input Validation:
checked_input_filerejects symlinks and enforces strict file size limits (200MB default). - Atomic Writes:
atomic_write_bytesuses temporary files andos.replaceto prevent race conditions and partial file writes. - Deterministic JSON:
emit_jsonensures consistent, bounded reporting for the agent to consume.
Audit Metadata