latex-compile-qa
Pass
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script uses
subprocess.runto invoke LaTeX compilation tools includinglatexmk,xelatex,bibtex, andpdfinfo. These commands are executed using argument lists to prevent shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The script checks for the presence of local LaTeX binaries using
shutil.whichbut does not perform any remote downloads or network requests at runtime.
Audit Metadata