paper-artifact-runtime
Pass
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script executes managed
xelatexandbibtexbinaries usingsubprocess.runto compile PDF documents. As documented inscripts/run.pywithin the_compile_commandsfunction, execution is restricted with the-no-shell-escapeflag and paranoid Kpathsea file access settings (openin_any=p,openout_any=p) to prevent macro-based attacks. The script also validates workspace boundaries and rejects symlinks to mitigate path traversal risks. - [PROMPT_INJECTION]: The skill processes untrusted LaTeX and bibliography content which presents an indirect prompt injection surface. The runtime implements defensive measures including comment stripping, validation of LaTeX commands in content expansions, and scanning for hidden text controls to mitigate the risk of malicious instructions influencing the output or agent. Evidence for these controls was found in the
_prepare_texand_length_expansion_fragmentfunctions inscripts/run.py.
Audit Metadata