pdf

Pass

Audited by Gen Agent Trust Hub on Sep 30, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes content from untrusted external PDF files using libraries such as pypdf, pdfplumber, and pdf2image.
  • Ingestion points: External data enters the context via PdfReader in SKILL.md and through scripts like scripts/fill_fillable_fields.py and scripts/convert_pdf_to_images.py.
  • Boundary markers: There are no explicit delimiters or instructions provided to the agent to ignore potentially malicious instructions embedded within the PDF content.
  • Capability inventory: The skill includes capabilities for reading and writing files, and executing shell commands via subprocesses.
  • Sanitization: The skill does not perform sanitization or filtering on the text or metadata extracted from PDFs before processing it.
  • [COMMAND_EXECUTION]: The documentation in SKILL.md and reference.md provides multiple examples of shell command usage for PDF manipulation.
  • Evidence: Examples include the use of pdftotext, qpdf, pdftk, pdfimages, and pdftoppm. These tools are intended for legitimate PDF processing but demonstrate a capability for shell execution that could be exploited if combined with unsanitized inputs.
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py implements a runtime modification of a library method.
  • Evidence: The function monkeypatch_pydpf_method overrides pypdf.generic.DictionaryObject.get_inherited at runtime. While documented as a bug fix for pypdf version 5.7.0, this pattern involves dynamic execution and modification of the runtime environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 30, 2026, 09:31 AM