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.runto 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 includingcairosvg,pillow,schemdraw,matplotlib,networkx,pymupdf, andrequests. It also suggests the installation of system-level libraries likelibcairo2andrsvg-convertto 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 usingOPENROUTER_API_KEY. It provides standard mechanisms for managing this secret via environment variables or.envfiles. There are no hardcoded credentials or patterns suggesting exfiltration of sensitive information.
Audit Metadata