pdf

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process content from external, untrusted PDF files. Extracted text is provided to the agent without sanitization or explicit boundary markers, creating a surface for instructions embedded within documents to override agent behavior.
  • Ingestion points: SKILL.md (text extraction examples), scripts/extract_form_structure.py (word extraction), and scripts/extract_form_field_info.py (metadata extraction).
  • Boundary markers: Absent. The instructions do not direct the agent to treat extracted document content as data rather than instructions.
  • Capability inventory: The skill possesses the ability to write files (scripts/fill_fillable_fields.py, scripts/convert_pdf_to_images.py) and execute shell commands (pdftotext, qpdf, pdftk).
  • Sanitization: Absent. Text is extracted and stored/processed in its raw form.
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py implements a runtime monkeypatch of a third-party library method. While the implementation appears to be a legitimate fix for choice field handling, dynamic modification of library behavior at runtime is a notable execution pattern.
  • Evidence: The monkeypatch_pydpf_method function in scripts/fill_fillable_fields.py replaces pypdf.generic.DictionaryObject.get_inherited with a custom implementation.
  • [COMMAND_EXECUTION]: The skill provides instructions and examples for executing various command-line utilities to perform PDF operations, which relies on the agent's ability to spawn subprocesses.
  • Evidence: Examples for pdftotext, qpdf, pdftk in SKILL.md and magick (ImageMagick) in forms.md.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 10:38 AM