skills/answerzhao/agent-skills/pdf/Gen Agent Trust Hub

pdf

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted PDF documents, creating a surface for instructions embedded in documents to influence agent behavior.
  • Ingestion points: PDF files are processed in SKILL.md examples and through utility scripts such as extract_form_field_info.py and fill_fillable_fields.py.
  • Boundary markers: No explicit instruction delimiters or warnings about ignoring embedded instructions are present in the processing logic.
  • Capability inventory: The skill possesses the ability to write to the local file system (creating PDFs, images, and spreadsheets) and execute several command-line utilities.
  • Sanitization: No sanitization or filtering of extracted text content is documented.
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py utilizes runtime monkeypatching to modify external library behavior.
  • Evidence: The function monkeypatch_pydpf_method redefines the get_inherited method of the pypdf.generic.DictionaryObject class to address a specific bug in selection list handling. This modification occurs at load time and does not incorporate external input into the code structure.
  • [COMMAND_EXECUTION]: The skill documentation and helper scripts (forms.md) instruct the agent to utilize various command-line tools for PDF manipulation.
  • Tools: Includes instructions for using pdftotext, qpdf, pdftk, pdftoppm, and pdfimages. These are standard system utilities for the stated tasks.
  • [EXTERNAL_DOWNLOADS]: The documentation references and recommends the installation of several third-party libraries.
  • Python Dependencies: Mentions pypdf, pdfplumber, reportlab, pandas, pytesseract, pdf2image, and pypdfium2. These are widely recognized and reputable packages for document processing.
  • JavaScript Dependencies: Mentions pdf-lib and pdfjs-dist in the advanced reference section.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 05:35 AM