latex-paper-en

Pass

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.run in scripts/compile.py and scripts/check_format.py to invoke TeX engines (like latexmk, pdflatex, and xelatex) and the chktex linter. These commands are constructed as lists (avoiding shell interpolation) and are used exclusively for document processing. The skill includes a specific mitigation for LaTeX's shell-escape feature, requiring user confirmation and an explicit --trusted-source flag before enabling it.
  • [DATA_EXPOSURE]: File operations are centralized in scripts/tex_loader.py, which implements a path-containment check (_checked_path). This function verifies that all entry points and included files reside within the paper's project root using absolute path comparison, effectively preventing Local File Inclusion (LFI) or path-traversal attacks.
  • [EXTERNAL_DOWNLOADS]: The scripts/online_bib_verify.py script performs network requests to well-known scholarly APIs (api.crossref.org and api.semanticscholar.org) to validate bibliography metadata. These operations are restricted to non-sensitive bibliographic data and utilize standard Python library functions (urllib.request).
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted manuscripts. To mitigate prompt injection from document text, the SKILL.md contains explicit instructions to the AI agent to ignore instructions embedded within processed .tex or .bib files, such as commands to reveal prompts or execute unrelated code.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 12, 2026, 07:50 PM