generate-image

Warn

Audited by Snyk on Aug 16, 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/generate_image.py, the required runtime workflow directly ingests the user-supplied prompt argument (and an optional --input image) into message_content and sends it to OpenRouter via requests.post(...) to /api/v1/chat/completions without selecting any specific trusted item first.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 16, 2026, 05:26 AM
Issues
1
Security Audit — snyk — generate-image