baoyu-image-gen
Warn
Audited by Socket on Nov 2, 2026
1 alert found:
AnomalyAnomalyscripts/providers/openrouter.ts
LOWAnomalyLOW
scripts/providers/openrouter.ts
This module appears intended for legitimate image-generation orchestration, not for malware. However, it contains meaningful security risks in common deployment scenarios: it performs unrestricted local file reads based on CLI-provided reference image paths, and it may issue outbound fetch requests to arbitrary http/https URLs found in the OpenRouter response without host allowlisting. If attackers can influence reference image paths or the response contents/URLs, the risk can rise to local file disclosure and SSRF-like network access.
Confidence: 72%Severity: 62%
Audit Metadata