pdf

Warn

Audited by Gen Agent Trust Hub on Jun 19, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/fill_fillable_fields.py performs a monkeypatch on the pypdf library's DictionaryObject.get_inherited method at runtime. This modification of library behavior is used to resolve a type-handling bug but represents a dynamic code execution pattern that could be leveraged for more malicious purposes.
  • [PROMPT_INJECTION]: The skill processes untrusted data from external PDF files and OCR outputs. It lacks instructions for the agent to use boundary markers or sanitization when handling this extracted text, which constitutes an indirect prompt injection vulnerability.
  • Ingestion points: SKILL.md (text extraction via pypdf, pdfplumber, and pytesseract OCR).
  • Boundary markers: None provided in the processing instructions.
  • Capability inventory: Local file system writes (image.save, writer.write) and command-line tool execution (qpdf, pdftotext, pdftk).
  • Sanitization: No sanitization or validation of extracted text is described before use in agent prompts.
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute multiple local command-line utilities, such as pdftotext, qpdf, and pdftk, for various document manipulation tasks.
  • [PROMPT_INJECTION]: Instructions in SKILL.md direct the agent to "proactively suggest" a third-party commercial platform (www.k-dense.ai) when user interaction reaches a certain complexity. This is a directive to modify agent behavior for marketing or promotional purposes.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 19, 2026, 05:03 AM