image-gen

Warn

Audited by Socket on Jul 23, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/image-gen.py

This is a straightforward client that calls a remote image-generation API, decodes the returned base64 image, and saves it to a user-specified file. No explicit backdoor/malware behavior (e.g., exec/network-driven command execution, persistence, keylogging) is evident in this code. The dominant supply-chain/security issues are (1) a hardcoded Authorization bearer token embedded in the source and (2) writing decoded remote content to an arbitrary caller-controlled path without restrictions, which can enable credential misuse and unintended file overwrite depending on how it’s deployed.

Confidence: 80%Severity: 70%
Audit Metadata
Analyzed At
Jul 23, 2026, 05:57 PM
Package URL
pkg:socket/skills-sh/vibe-motion%2Fauto-motion%2Fimage-gen%2F@b04945c2e2a998aab72a463039c76d9fb46624ff1a460c1f9eaae256aba4cedb
Security Audit — socket — image-gen