pdf-processing
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill identifies PDFs as a potential vector for indirect prompt injection, particularly through hidden text layers (OCR) or white-on-white text that may be ingested by LLMs.\n
- Ingestion points: The skill describes methods for ingesting external PDF files using libraries like
pypdfandpdfplumberinSKILL.md.\n - Boundary markers: The skill provides explicit warnings that PDFs should be treated as untrusted input and that users should verify extracted content.\n
- Capability inventory: The skill uses tools for text extraction, metadata reading, and file modification (merging/splitting).\n
- Sanitization: Detailed instructions are provided for genuine redaction (removing content-stream operators) and scrubbing metadata to prevent data exposure.\n- [COMMAND_EXECUTION]: The skill provides instructions for using various standard command-line utilities for PDF analysis and processing.\n
- Evidence: Shell commands for
pdftotext,qpdf,exiftool,pdfimages,ocrmypdf,pdffonts, andpdftoppmare included inSKILL.md.\n - Context: These are established, legitimate utilities used for document management on Linux, macOS, and Windows.
Audit Metadata