gemini-files-api
Warn
Audited by Snyk on Jul 15, 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). At runtime, the required workflow in
scripts/gemini-mm.mjsingests outsider-authored free text from CLI args (--prompt/--system) into the LLM request viacreateUserContent(parts)andsystemInstruction, and also reads user-supplied JSON config/schema files as text/JSON that can contain prompt-like instructions.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata