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.runinscripts/compile.pyandscripts/check_format.pyto invoke TeX engines (likelatexmk,pdflatex, andxelatex) and thechktexlinter. These commands are constructed as lists (avoiding shell interpolation) and are used exclusively for document processing. The skill includes a specific mitigation for LaTeX'sshell-escapefeature, requiring user confirmation and an explicit--trusted-sourceflag 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.pyscript performs network requests to well-known scholarly APIs (api.crossref.organdapi.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.mdcontains explicit instructions to the AI agent to ignore instructions embedded within processed.texor.bibfiles, such as commands to reveal prompts or execute unrelated code.
Audit Metadata