tikz-figure-engineering
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/render_tikz_figure.pyutility executes local LaTeX engines (pdflatex,xelatex,lualatex) and rasterizers (pdftocairo,magick) to generate PDF and PNG assets. These subprocess calls are implemented securely using argument lists, which prevents shell command injection. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process and audit TikZ/LaTeX source code, which represents a surface for indirect prompt injection if the source content contains adversarial instructions. The skill addresses this risk by providing the agent with strict 'Quality Gates' and a formal review ledger that forces the model to focus on structural and semantic properties (hierarchy, spacing, alignment) rather than following arbitrary text within the figure nodes.
- [SAFE]: The skill operates entirely locally using pre-installed system tools. It does not perform network requests, download external code, or utilize obfuscated logic. It follows best practices for secret management by not including hardcoded credentials and relies on standard LaTeX security defaults by not enabling potentially dangerous features like
-shell-escape.
Audit Metadata