ocr-document-processor

Pass

Audited by Gen Agent Trust Hub on Sep 16, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (images, scans, and PDFs) and returns the extracted text to the agent context, creating a surface for indirect prompt injection attacks.
  • Ingestion points: Data enters the system through the source argument in OCRProcessor (scripts/ocr_processor.py) and the filepath argument in BusinessCardScanner.scan (scripts/business_card_scanner.py) and ReceiptScanner.scan (scripts/receipt_scanner.py).
  • Boundary markers: The scripts do not implement explicit boundary markers or instructions to the agent to ignore embedded commands within the extracted text.
  • Capability inventory: The skill possesses the ability to read from and write to the local file system (using pathlib, json, csv, and cv2 modules).
  • Sanitization: Basic sanitization is performed in the export_html method of OCRProcessor, which escapes HTML special characters (< and >). Other export formats do not appear to perform content sanitization.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 16, 2026, 06:27 PM