superCMO-skills
- Type
- MCP server
- Scanned
- Nov 22, 2026
- Version
- af81d4f75a96
- Files read
- 204
SuperCMO Skills is an MCP server and collection of marketing skills that let AI coding agents research ads, analyze brands and products, and generate images, videos, and voiceovers using vendor API keys or a managed SuperCMO account. Its biggest risk is that the job_status tool sends API keys and fetches responses using unvalidated URLs supplied by the caller, allowing prompt injection from scraped websites or ads to steal the user's WaveSpeed or fal.ai keys, read local JSON files, or probe internal network services.
What it can reach
- Secrets
- Reads vendor and SuperCMO API keys (WAVESPEED_API_KEY, FAL_KEY, ELEVENLABS_API_KEY, GEMINI_API_KEY, FIRECRAWL_API_KEY, SCRAPECREATORS_API_KEY, SUPERCMO_API_KEY) from ~/.supercmo/.env and process environment variables, and writes SUPERCMO_API_KEY to ~/.supercmo/.env during device login.
- Network
- Makes outbound HTTPS requests to configured model and scraping vendors (WaveSpeed, fal.ai, ElevenLabs, Google Gemini, Firecrawl, ScrapeCreators), to api.getsupercmo.ai for managed proxy calls, device login, and default-on usage telemetry, and to external URLs when downloading or analyzing media.
- Files
- Reads local files passed to generation, analysis, transcription, and video tools; writes generated media, research ledgers, temporary JSON responses, and user-specified video outputs to disk; manages scheduled events in ~/.supercmo/workspace/calendar.ics; and installs skills and MCP configs into host directories (~/.claude, ~/.codex, .cursor, etc.).
- Shell commands
- Runs local ffmpeg and ffprobe subprocesses for video stitching, captioning, and overlays, and the installer invokes uvx and host CLIs (claude, codex, code) to register the MCP server.
- Browser
- Opens the system default web browser to authorize the device when the user runs the optional npx login command.
Findings
-
HighAPI key theft, SSRF, and local JSON file read via unvalidated job_status URLs
scripts/supercmo_skills/client.py:228
The job_status MCP tool accepts arbitrary job-handle objects from the AI agent and passes handle['status_url'] and handle['response_url'] directly to supercmo_env._request along with the user's live WAVESPEED_API_KEY or FAL_KEY in the Authorization header. Because the skills routinely read untrusted product pages, competitor ads, and social comments, a prompt injection in that content can trick the agent into calling job_status with an attacker-controlled status_url to steal the user's API key. In addition, supercmo_env._request uses urllib.request.urlopen without the project's SSRF guard or scheme check, so a crafted status_url using http://127.0.0.1, cloud metadata IPs, or file:///path/to/file.json reads internal HTTP responses or local JSON credential files (such as ~/.docker/config.json or ~/.claude.json) and returns up to 500 characters in the error detail field, while handle['output_dir'] allows writing downloaded payloads to any directory.
Fix: Validate status_url and response_url before sending any request or Authorization header: require the https scheme, enforce an exact hostname allowlist per provider (api.wavespeed.ai for wavespeed, queue.fal.run for fal), verify resolved IPs with _resolve_public, and ignore or confine output_dir to the configured media output directory.
-
HighArbitrary file overwrite via unvalidated output paths in video editing tools
scripts/supercmo_skills/stitch.py:250
The video_stitch and video_overlay MCP tools accept an arbitrary output file path and move their rendered temporary MP4 file directly onto that path with shutil.move (and caption_video passes output to ffmpeg -y), without confining the destination to the media output directory or requiring a video file extension. Unlike direct ffmpeg output, shutil.move overwrites any target filename regardless of extension. If prompt injection tricks the agent into calling video_stitch with attacker-hosted MP4 clips (stream-copied via -c copy so embedded ASCII shell lines in MP4 metadata or mdat boxes remain intact) and setting output to a shell startup file such as ~/.bashrc or ~/.zshrc, opening a new terminal can execute embedded commands, or any important user file such as ~/.supercmo/.env can be clobbered.
Fix: Confine the output parameter in video_stitch, video_overlay, and caption_video to the workspace or SUPERCMO_OUTPUT_DIR, require a standard video extension (.mp4, .mov, .webm), and refuse to overwrite hidden dotfiles.
-
MediumUnsafe shell quoting and redirect-following in product image download instructions
skills/analyzing-products/references/url-extract.md:27
When analyzing an e-commerce URL, the skill instructs the host coding agent to run a bash curl command with the scraped IMAGE_URL wrapped in double quotes and with -L enabled. If a malicious product page exposes an image URL containing shell command substitution syntax (such as $() or backticks) and the agent substitutes it into the double-quoted template as written, bash will execute the embedded command. Furthermore, curl -sL without --proto '=http,https' follows redirects to file:// or internal network addresses, bypassing the SSRF protections enforced elsewhere in the Python MCP server.
Fix: Replace the raw bash curl snippet with an MCP tool or Python helper that uses supercmo_env.safe_download, or at minimum pass --proto '=http,https' --max-redirs 3 and quote the URL in strict single quotes without shell expansion.
-
LowAudio transcription tool uploads local files without verifying they are media
scripts/supercmo_skills/providers/elevenlabs.py:165
All other media tools in this server pass local file paths through client._sniff_media_mime so a prompt-injected agent cannot read non-media credential or text files from disk. The transcribe tool skips that check in BYOK mode and reads any local file path directly into a multipart upload sent to api.elevenlabs.io (while also acting as a file-existence oracle via its error message). Although ElevenLabs will fail to decode non-audio files rather than returning their text, sensitive files such as ~/.supercmo/.env or SSH keys can still be transmitted off the user's machine to a third-party API.
Fix: Verify local files in transcribe with client._sniff_media_mime before uploading them, and return only the basename on read errors to match _encode_refs.
-
InfoAnonymous usage telemetry is enabled by default
scripts/supercmo_skills/telemetry.py:33
The MCP server sends usage events (tool name, success/failure, duration, model slug, provider, OS/Python/package versions, and a random UUID stored in ~/.local/state/supercmo/install-id) to api.getsupercmo.ai in the background by default, even when using bring-your-own vendor keys. The code enforces a strict field allowlist that excludes prompts, file paths, URLs, and API keys, and the behavior and opt-out variables are documented in README.md and TELEMETRY.md, though users who install via plugin manifests rather than the npx installer are not shown a notice at install time.
Fix: Users who want zero network traffic to SuperCMO servers can set SUPERCMO_TELEMETRY=false or DO_NOT_TRACK=1 in ~/.supercmo/.env or their shell environment.
