tesseract-image-ocr
Warn
Audited by Snyk on Aug 8, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The runtime path
scripts/ocr.jsrunsworker.recognize(opts.image, ...)whereopts.imageis taken from user-provided CLI input (node scripts/ocr.js <image-path-or-url>), and if that input is an HTTPS URL or image containing text, the OCR result is ingested and emitted as free text at runtime.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata