pdf

Pass

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [PROMPT_INJECTION]: The skill processes user-provided PDF documents, creating an attack surface for indirect prompt injection. Maliciously crafted PDFs could contain instructions intended to subvert the agent's logic when the text is extracted and processed.
  • Ingestion points: Document text and metadata are extracted using pdfplumber, pypdf, and pdftotext in SKILL.md and scripts like extract_form_structure.py.
  • Boundary markers: The instructions do not define delimiters or provide specific 'ignore' directives to separate extracted document content from system instructions.
  • Capability inventory: The skill allows for the execution of shell commands (qpdf, magick) and file system operations.
  • Sanitization: There is no evidence of sanitization or validation of extracted PDF content before it is passed to the agent.
  • [COMMAND_EXECUTION]: The skill relies on and instructs the agent to use several powerful command-line utilities, including qpdf, pdftotext, pdftk, and ImageMagick (magick). These tools provide a significant capability surface that could be abused if the agent is manipulated via malicious document content.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 12, 2026, 06:52 PM