pdf

Pass

Audited by Gen Agent Trust Hub on Jul 10, 2026

Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [PROMPT_INJECTION]: The skill is designed to extract text, labels, and metadata from user-provided PDF files, creating a surface for indirect prompt injection where malicious instructions inside a PDF could influence the agent.
  • Ingestion points: scripts/extract_form_structure.py and scripts/extract_form_field_info.py extract text directly from PDF documents into JSON structures.
  • Boundary markers: Absent; there are no instructions for the agent to use delimiters or ignore instructions found within extracted PDF text.
  • Capability inventory: The skill enables the agent to write files, perform OCR, and execute system commands via various PDF utilities.
  • Sanitization: No sanitization or filtering of the extracted text content is performed before it is presented to the agent.
  • [COMMAND_EXECUTION]: The skill documents and relies on several external command-line utilities for PDF processing, including qpdf, pdftotext, pdfimages, pdftk, and magick (ImageMagick).
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py performs runtime monkeypatching of the pypdf library's internal DictionaryObject.get_inherited method to resolve compatibility issues with specific PDF form field attributes.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 10, 2026, 04:32 PM