image-ocr
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/validate_skill.pydownloads a sample image from the official Tesseract documentation repository on GitHub (raw.githubusercontent.com/tesseract-ocr/tessdoc) usingurllib.request. This is a legitimate diagnostic step from a well-known source. - [COMMAND_EXECUTION]: The skill executes the Tesseract binary as a subprocess via the
pytesseractlibrary. The command path is configurable in theocr_config.jsonfiles, which is a standard requirement for Tesseract wrappers. - [PROMPT_INJECTION]: The skill implements a regex-based parser to extract file paths from a natural language
requeststring. While this involves processing user input, it is scoped to file path identification for OCR. The skill also presents an indirect prompt injection surface (Category 8) because it extracts text from external images which could contain malicious instructions. Mandatory Evidence Chain: 1. Ingestion points:requestfield inocr_config.jsonand processed image content; 2. Boundary markers: Absent; 3. Capability inventory: Subprocess execution and local file access; 4. Sanitization: Regex for path extraction, but no sanitization for OCR output.
Audit Metadata