cite-check

Warn

Audited by Snyk on Jun 22, 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 free text can enter the LLM context via the operating user’s drafts: cite-extract.ts reads markdown files from --drafts (user-selected files) and buildGroupPrompt() embeds the extracted claim/bodyContext/footnoteContext into the Gemini prompt in cite-check.tsqueryCitationFileSearch()/batch/generateContent.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 22, 2026, 06:29 AM
Issues
1
Security Audit — snyk — cite-check