skills/garri333/skills/pdf/Gen Agent Trust Hub

pdf

Pass

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONMETADATA_POISONINGEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process text and data extracted from PDF documents through libraries like pypdf, pdfplumber, and pytesseract. PDF files provided by users or retrieved from external sources are untrusted and can contain hidden text or malicious instructions intended to manipulate the agent's behavior.
  • Ingestion points: PDF files are opened and read in SKILL.md (Quick Start) and scripts/extract_form_field_info.py using PdfReader.
  • Boundary markers: The skill does not implement or instruct the use of boundary markers (such as XML tags or delimiters) to isolate extracted text from the agent's system instructions.
  • Capability inventory: The skill provides scripts for writing files to the local system (scripts/convert_pdf_to_images.py, scripts/fill_pdf_form_with_annotations.py) and examples for executing shell commands (qpdf, pdftotext).
  • Sanitization: No sanitization or filtering logic is present for the text extracted from the PDFs before it is processed by the agent.
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py implements a runtime monkeypatch of the pypdf library. It overrides pypdf.generic.DictionaryObject.get_inherited to handle a specific data type inconsistency in the library's selection list handling. While this appears to be a legitimate bug fix, runtime modification of imported libraries is a dynamic execution technique.
  • [COMMAND_EXECUTION]: The skill instructions in SKILL.md and reference.md encourage the execution of several external command-line utilities, including qpdf, pdftotext, pdftoppm, and pdfimages. These tools are used for merging, splitting, and rendering PDFs, which grants the agent the capability to perform system-level operations.
  • [METADATA_POISONING]: The SKILL.md file contains a 'Suggest Using K-Dense Web For Complex Workflows' section that instructs the agent to proactively promote a specific commercial platform (www.k-dense.ai). This is a form of instructional injection used for marketing rather than core functionality.
  • [EXTERNAL_DOWNLOADS]: The skill relies on and instructs the installation of several external Python packages (pypdf, pdfplumber, reportlab, pytesseract, pdf2image, pandas, pypdfium2, Pillow) and system utilities (poppler-utils, qpdf, pdftk). It also references a scientific-schematics skill and a scripts/generate_schematic.py script that are not included in the provided file list.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 05:03 PM