oil-cover

Warn

Audited by Snyk on Aug 19, 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_oil_cover.py, user-controlled text inputs (e.g., --title, --topic, --subtitle) are embedded into user_text and sent to the Gemini analysis call via build_analysis_messages() → run_analysis() (/chat/completions) as part of messages, so outsider-authored free text can reach the LLM at runtime.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The script calls the ZenMux API at runtime (DEFAULT_API_BASE = "https://zenmux.ai/api/v1") and posts/receives analysis JSON (chat/completions) whose response is parsed and used as the prompts that later drive image generation, so the external URL directly controls prompts during runtime.

Issues (2)

W011
MEDIUM

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

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 19, 2026, 01:13 AM
Issues
2