baoyu-image-gen

Warn

Audited by Socket on Nov 2, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Nov 2, 2026, 09:46 AM
Package URL
pkg:socket/skills-sh/jimliu%2Fbaoyu-skills%2Fbaoyu-image-gen%2F@c6c3b20068788197624ccee9b1506fe1a650aa68c9366f8d8619c75aed73df24