dig
Warn
Audited by Snyk on Jul 29, 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). In
dig.py, the required workflow reads outsider-authored free text at runtime by loading user-provided session.jsonlfiles fromPROJECT_DIRSand extractingusermessagetext/summaryfields (for line in fh: json.loads(line)thent == 'user'text collection andt == 'summary'), which can be attacker-controlled if an outsider can cause/submit poison into those session files.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata