pdf-to-html
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/verify_render.pyscript searches for and executes a local Google Chrome or Chromium binary usingsubprocess.runto perform headless rendering of the generated HTML, creating screenshots for visual verification. - [EXTERNAL_DOWNLOADS]: The skill utilizes the
uvpackage manager to fetch and run standard Python libraries includingpymupdf,Pillow, andnumpyat runtime. - [SAFE]: The HTML generation logic in
scripts/build_html.pycorrectly useshtml.escape()to sanitize text blocks and image metadata extracted from the source PDF, mitigating potential injection risks in the rendered HTML output. - [SAFE]: An assessment of the Indirect Prompt Injection (Category 8) attack surface was performed: 1. Ingestion points: External PDF content processed by
scripts/extract_pdf.py; 2. Boundary markers: No explicit delimiters are used for extracted PDF text; 3. Capability inventory: File system writes andsubprocess.runfor headless browser execution; 4. Sanitization: All extracted text is sanitized viahtml.escape()before being interpolated into the HTML structure. The potential risk is mitigated by the conversion to static HTML and proper escaping.
Audit Metadata