image-2
Warn
Audited by Snyk on Aug 12, 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
scripts/imagegen.py, the runtime ingests outsider-authored free text via thegeneratecommand’s required--promptargument and sends it directly in the OpenAPI request body (client.generate_image(... prompt=prompt ...)), exposing it to prompt injection-style content.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata