generate-image

Warn

Audited by Socket on Oct 7, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Oct 7, 2026, 06:41 AM
Package URL
pkg:socket/skills-sh/psquared-development%2Fpsquared-skills%2Fgenerate-image%2F@1ce4f19b1873ba1ff1b83d5d2b097a65e62e5a78f6aca50b9eb160240826b3cf