baoyu-image-gen
Warn
Audited by Socket on Sep 27, 2026
1 alert found:
AnomalyAnomalyscripts/providers/google.ts
LOWAnomalyLOW
scripts/providers/google.ts
The code implements expected Google image-generation API calls. No clear malicious behavior is evident. The curl proxy path has a concrete shell-command injection and credential-exposure risk because environment-controlled strings are interpolated into execSync's shell command. The configurable API base URL can also redirect credential-bearing requests if misconfigured or controlled by an attacker.
Confidence: 98%Severity: 68%
Audit Metadata