analyzing-malicious-pdf-with-peepdf
Warn
Audited by Snyk on Jul 16, 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). The required workflow runs
peepdf/pdf-parser.pyon a user-supplied PDF and then ingests the extracted PDF object text (including embedded JavaScript/streams) into the agent’s runtime context viaresult.stdout/content_previewandprint(json.dumps(report...)), which is outsider-authored free text from the malicious PDF attachment.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata