document-reader
Warn
Audited by Snyk on Jun 25, 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.75). Outsider-authored free text can be ingested when the operating user supplies an external document path (e.g.,
--filepointing to a downloaded/forwarded file or an archive) and the script extracts/reads its contents intoresult['content'](including viaread_from_zip/read_from_tar/read_from_rar/read_from_7z), which is then printed/returned for downstream LLM context.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata