M3U8 Downloader
Analysis
The downloader matches its stated purpose, but its script uses an unsanitized output name in file paths and a recursive cleanup delete, which could write or delete outside the intended Downloads folder if invoked with a crafted name.
Findings (2)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
OUTPUT_NAME="${2:-video_$(date +%Y%m%d_%H%M%S)}"
WORK_DIR="$HOME/Downloads/m3u8_${OUTPUT_NAME}"
OUTPUT_FILE="$HOME/Downloads/${OUTPUT_NAME}.mp4"
...
rm -rf "$WORK_DIR"The optional output_name argument is inserted directly into filesystem paths without validation. A crafted value containing path traversal could move the output or cleanup target outside the intended Downloads directory, and the script later performs a recursive delete on that derived path.
## Prerequisites - `aria2c` (install: `brew install aria2`) - `ffmpeg` (install: `brew install ffmpeg`)
The skill relies on external command-line tools, but the registry metadata lists no required binaries and no install spec. The dependency need is disclosed in the skill text and is purpose-aligned, but users should know the installer metadata may not preflight these tools.
