p-article-latex
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local system commands to process documents. The script
scripts/check_float_pages.pyusessubprocess.runto invoke thepdflatexcommand. Additionally, the instructions guide the agent to perform shell-based tasks using utilities likegs(Ghostscript) for PDF processing andsedfor inline text editing. - [DYNAMIC_EXECUTION]: The
scripts/check_float_pages.pyscript dynamically generates a modified LaTeX file (check.tex) in a temporary directory. It injects specific logging macros into the manuscript's source content before compiling it to extract page placement data for figures and tables. - [EXTERNAL_DOWNLOADS]: Reference materials in
references/journal-switch.mdrecommend downloading therevtexpackage or other templates from the Comprehensive TeX Archive Network (CTAN), an established and trusted repository for LaTeX-related software. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted LaTeX source files which could potentially contain malicious macros. This ingestion of external data constitutes a surface for indirect prompt injection.
- Ingestion points:
scripts/check_float_pages.pyandscripts/resample_figures.pyread content directly from user-provided .tex files. - Boundary markers: The skill does not use specific delimiters or warnings to prevent the agent from following instructions that might be embedded in the LaTeX source.
- Capability inventory: The skill has access to subprocess execution (via pdflatex), file system write permissions, and the ability to execute shell commands through the agent's environment.
- Sanitization: No sanitization or validation of the LaTeX source code is performed prior to processing.
Audit Metadata