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.pyandscripts/extract_form_field_info.pyextract 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, andmagick(ImageMagick). - [DYNAMIC_EXECUTION]: The script
scripts/fill_fillable_fields.pyperforms runtime monkeypatching of thepypdflibrary's internalDictionaryObject.get_inheritedmethod to resolve compatibility issues with specific PDF form field attributes.
Audit Metadata