generate-youtube-thumbnail

Warn

Audited by Socket on Aug 13, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/generate-batch.sh

The fragment is primarily a legitimate batch thumbnail-generation workflow, but it contains a major supply-chain security hazard: it uses eval to execute a curl PUT command with arguments derived from server-returned JSON headers. This creates a command-injection/shell-interpreter risk if the API response is attacker-influenced. Additionally, it downloads content from server-provided URLs directly to disk without visible validation/allowlisting. No explicit malware payload (backdoor/stealth exfiltration) is evident in the shown code, but the eval pattern and unvalidated remote URLs/headers warrant a security review and likely refactoring (remove eval, use curl argument arrays, validate URL scheme/host, and restrict redirects).

Confidence: 64%Severity: 68%
Audit Metadata
Analyzed At
Aug 13, 2026, 08:17 PM
Package URL
pkg:socket/skills-sh/novoads%2Fclaude-code-ads%2Fgenerate-youtube-thumbnail%2F@a322016ff6ce17605f0c822128f20dd0da59dfcfc9867bf4446f6b69a111df8a
Security Audit — socket — generate-youtube-thumbnail