alterlab-scientific-schematics

Pass

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.run to execute local rendering and linting tools such as CairoSVG, LaTeX engines (pdflatex, tectonic, etc.), Graphviz (dot), and Mermaid CLI (mmdc). These calls are used to convert diagram code into PNG or PDF formats. The implementation uses list-based arguments which correctly mitigates shell injection vulnerabilities.- [EXTERNAL_DOWNLOADS]: The skill relies on several well-known Python packages including cairosvg, pillow, schemdraw, matplotlib, networkx, pymupdf, and requests. It also suggests the installation of system-level libraries like libcairo2 and rsvg-convert to support its rendering functionality.- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided text descriptions and technical data (like participant counts) to generate diagrams. This input is processed into diagram code or sent to an external AI model (Nano Banana 2 / Gemini) for generation. While this represents an attack surface for indirect prompt injection, the risks are limited by the specialized nature of the output (scientific diagrams) and the use of safe command execution patterns for rendering.- [CREDENTIALS_SAFE]: The skill supports an optional AI backend using OPENROUTER_API_KEY. It provides standard mechanisms for managing this secret via environment variables or .env files. There are no hardcoded credentials or patterns suggesting exfiltration of sensitive information.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 7, 2026, 08:40 AM