latex-formatting
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/latex_checker.pyinvokesclean_latex.pyusingsubprocess.run()when the--fixflag is supplied. This execution is implemented safely by passing parameters as a structured list without enabling shell parsing, which prevents shell command injection through malicious file paths. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user data by reading external LaTeX documents.
- Ingestion points: Files are ingested via
load_tex()inscripts/latex_checker.pyand direct file reads inscripts/clean_latex.py. - Boundary markers: No delimiters or isolation techniques are applied to text snippets extracted from the document before they are printed.
- Capability inventory: The skill performs local file read/write operations and executes a local script via a safe subprocess call. No network access or dynamic language evaluation primitives are present.
- Sanitization: Text fragments from the input file (such as TODO comments or author fields) are displayed directly to stdout without sanitization, creating an indirect prompt injection surface if an untrusted document contains instructions intended to manipulate the agent's behavior.
Audit Metadata