generate-media

Warn

Audited by Socket on Feb 22, 2026

1 alert found:

Security
SecurityMEDIUM
SKILL.md

[Skill Scanner] Credential file access detected This skill implements the documented functionality and does not contain obfuscated or obviously malicious code. The primary security considerations are: (1) it requires and uses a Google API key and will send that key in API calls; (2) it uploads local reference images to the configured Gemini endpoint (which is necessary for multimodal generation but is a potential data-exfiltration surface); and (3) gemini_base_url is configurable, meaning a misconfiguration or malicious config could direct API key and uploaded images to an arbitrary endpoint. Overall the code is coherent with its stated purpose but carries moderate supply-chain/privacy risk because of third-party uploads and the configurable endpoint. Review deployment configuration carefully, restrict base_url to official endpoints, and audit any local images before running. LLM verification: No evidence of intentionally malicious or obfuscated behavior in the reviewed script. The code performs expected functionality (image generation, upload, local writes) and uses the google-genai SDK. Main security concerns are operational: reading API keys from disk, allowing an overrideable base_url which can direct API keys and uploaded images to arbitrary endpoints (credential and data-exfiltration vector), and unpinned dependencies. Treat the script as functional but medium-risk if misconfigu

Confidence: 80%Severity: 75%
Audit Metadata
Analyzed At
Feb 22, 2026, 04:08 PM
Package URL
pkg:socket/skills-sh/zhaihao118%2FMicro-Drama-Skills%2Fgenerate-media%2F@400b501a04026c756d2e7a0dde5c9cf922377023