ocrmypdf-image

Pass

Audited by Gen Agent Trust Hub on Oct 6, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides numerous examples for executing the ocrmypdf command-line tool with various flags (e.g., --deskew, --rotate-pages, --clean). These are standard usage patterns for document processing.
  • [EXTERNAL_DOWNLOADS]: The documentation includes links to the official GitHub repositories for OCRmyPDF and unpaper. These are well-known open-source projects used for document optimization and OCR.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external PDF files, which represents an attack surface for indirect prompt injection. Malicious instructions could be embedded in the text or metadata of a PDF being processed.
  • Ingestion points: Commands like ocrmypdf --deskew input.pdf output.pdf ingest user-provided PDF files (found in SKILL.md).
  • Boundary markers: The instructions do not specify the use of delimiters or specific prompts to ignore embedded instructions in the processed files.
  • Capability inventory: The skill uses command-line execution of the ocrmypdf tool to transform files.
  • Sanitization: There is no mention of sanitizing or validating the content of the PDF files before processing.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 6, 2026, 06:32 PM