scientific-schematics
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/compile_tikz.pyuses thesubprocess.runfunction to execute external system binaries, specificallypdflatexfor compiling TikZ diagrams andconvert(ImageMagick) for generating PNG images from PDF outputs. It also invokes platform-specific commands (open,xdg-open,start) to preview generated diagrams. - [INDIRECT_PROMPT_INJECTION]: The skill represents a vulnerability surface for indirect prompt injection. It ingests user-provided text (such as node labels, descriptions, and component values) and interpolates this data into Python scripts or LaTeX files. These files are subsequently executed or compiled without explicit sanitization or the use of boundary markers, which could allow malicious instructions embedded in diagram requirements to be processed by the LaTeX compiler or Python interpreter. Evidence found in
SKILL.md(instructions) andscripts/compile_tikz.py(execution capability). - [EXTERNAL_DOWNLOADS]: The documentation in
SKILL.mdprovides instructions for installing well-known scientific and imaging libraries, includinggraphviz,pygraphviz,pydot,schemdraw,networkx,matplotlib,pytesseract, andpdf2image. It also requires system-level tools such aspdflatexand ImageMagick. - [PRIVILEGE_ESCALATION]: Documentation within
SKILL.mdincludes instructions for installing thegraphvizsystem binary on Linux distributions usingsudo apt-get install, which is a standard procedure for installing required packages but involves elevated privileges.
Audit Metadata