generate-image
Warn
Audited by Socket on Oct 7, 2026
1 alert found:
AnomalyAnomalylib/api.mjs
LOWAnomalyLOW
lib/api.mjs
The code appears to be a legitimate API client, with no evidence of malware or intentional obfuscation. Restrict request URLs to the expected Leonardo API origins before attaching credentials, and validate cache filenames to prevent path traversal.
Confidence: 98%Severity: 55%
Audit Metadata