pdf-review-comments

Warn

Audited by Snyk on Jul 14, 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). The required workflow reads the user-supplied PDF file at runtime and extracts outsider-authored free text from its Highlight annotation fields (markup.getContents() for the reviewer comment and stripper.getTextForRegion(...) for highlighted text), then concatenates that into the generated markdown string that is written out (and could be shown to the user), so the LLM context would be fed with PDF-contained text/comments not authored by the operating user.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 14, 2026, 01:09 AM
Issues
1