The skill is vulnerable to command injection via unsanitized prompt arguments and arbitrary file writes, risking system compromise and data corruption.
Claims to do
OpenAI Whisper API (curl): Transcribe an audio file via OpenAI’s `/v1/audio/transcriptions` endpoint.
Actually does
This skill executes a `transcribe.sh` script, which uses `curl` to send a user-provided audio file to OpenAI's `/v1/audio/transcriptions` endpoint. It requires an `OPENAI_API_KEY` for authentication and supports specifying the model, output format, language, and a prompt.
openclaw skills install steipete/openai-whisper-apiThe skill executes a local shell script (`transcribe.sh`) with user-controlled arguments, including a `--prompt` string. If the script does not properly sanitize these inputs before using them in shell commands, it could lead to arbitrary command injection.
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt "Speaker names: Peter, Daniel"The skill allows specifying an arbitrary output file path via the `--out` flag. This capability could be abused to write or overwrite files in sensitive system locations, potentially leading to data corruption or further compromise.
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt[](https://mondoo.com/ai-agent-security/skills/clawhub/steipete/openai-whisper-api)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/steipete/openai-whisper-api"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/steipete/openai-whisper-api.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/steipete/openai-whisper-api.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.