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
ocrmypdfcommand-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
OCRmyPDFandunpaper. 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.pdfingest user-provided PDF files (found inSKILL.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
ocrmypdftool to transform files. - Sanitization: There is no mention of sanitizing or validating the content of the PDF files before processing.
Audit Metadata