pdf

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF files, which is a potential surface for indirect prompt injection if the agent extracted and blindly followed instructions embedded within the PDF content.
  • Ingestion points: PDFs are ingested via pypdf, pdfplumber, and pdf2image across multiple scripts including extract_form_field_info.py and extract_form_structure.py.
  • Capability inventory: The skill has capabilities to write files (writer.write), save images (image.save), and execute shell commands (qpdf, pdftotext).
  • Boundary markers: The skill does not explicitly define boundary markers for data extracted from PDFs.
  • Sanitization: There is no specific sanitization of the text extracted from the PDF files before it is processed by the agent.
  • [COMMAND_EXECUTION]: The skill's instructions in SKILL.md and forms.md direct the agent to use various command-line utilities such as qpdf, pdftotext, pdftk, and magick (ImageMagick) to perform PDF and image manipulation tasks.
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py uses monkeypatching to modify the behavior of the pypdf library at runtime. Specifically, it overrides DictionaryObject.get_inherited to correctly handle certain PDF field attributes, which is a common technique for addressing library bugs or limitations.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 09:46 AM