pdf

Pass

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructions and scripts involve the execution of several standard command-line utilities for PDF manipulation and image processing. \n
  • Examples include pdftotext, qpdf, pdftk, and pdfimages from the poppler-utils package, as well as magick or convert from the ImageMagick suite.\n
  • These tools are used for their intended purposes: text extraction, page manipulation, and image conversion during the form-filling and validation workflows.\n- [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py performs a runtime monkeypatch on the pypdf library.\n
  • Specifically, it overrides DictionaryObject.get_inherited to correctly handle internal PDF field attributes that the base library may not process as needed for form filling.\n
  • This represents a targeted technical workaround rather than a dangerous dynamic execution pattern.\n- [INDIRECT_PROMPT_INJECTION]: As the skill is designed to ingest and extract text from external PDF files, it presents a potential surface for indirect prompt injection from untrusted document content.\n
  • Ingestion points: PDF files are read and processed across all scripts and instructions, including text extraction via pypdf, pdfplumber, and pdftotext.\n
  • Boundary markers: The skill documentation guides the agent on how to extract and interpret text but does not define explicit delimiters or instructions to ignore potential commands embedded within the PDF text.\n
  • Capability inventory: The skill possesses capabilities to write to the file system (writer.write), execute shell commands (qpdf, magick), and process images.\n
  • Sanitization: Extracted document content is processed without specific sanitization or filtering logic designed to mitigate adversarial instructions embedded in the source PDFs.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 24, 2026, 02:27 PM