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 intouser_textand sent to the Gemini analysis call viabuild_analysis_messages()→run_analysis()(/chat/completions) as part ofmessages, 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
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata