pdf-generation
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION] (SAFE): The
scripts/generate_pdf.pyscript executes thepandocbinary usingsubprocess.runwith a list of arguments, which is a secure method that prevents shell injection. - [EXTERNAL_DOWNLOADS] (SAFE): The installation instructions direct the user to install well-known and trusted system dependencies via standard package managers like Homebrew and apt-get.
- [PROMPT_INJECTION] (LOW): The skill possesses a surface for indirect prompt injection because it processes untrusted markdown content and renders it using the XeLaTeX engine without sanitizing LaTeX-specific macros (e.g., \input). 1. Ingestion points: The
input_fileparameter inscripts/generate_pdf.pyandscripts/fix_markdown.py. 2. Boundary markers: No delimiters or warnings are used to distinguish between user content and instructions. 3. Capability inventory: Ability to executepandocwithxelatexwhich can read local files. 4. Sanitization: No escaping or validation is performed on the markdown content for LaTeX commands.
Audit Metadata