media-ocr-ai
Warn
Audited by Snyk on Jun 27, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). Outsider free text can enter the LLM context via the OCR outputs themselves: at runtime
scripts/ocr.pyreads user-supplied images (--in) and prints extracted text/JSON/TSV (cmd_extract,cmd_layout,cmd_table,cmd_handwriting), which the agent may then include in its LLM context; since the image content is not authored by the operating user, it is outsider-authored text.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata