T09 · Insecure Skill Coding Practices
- Location
SKILL.md:11- Finding
Shell Command Injection Through Unsafely Interpolated User-Controlled Parameters
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a straightforward FFmpeg command generator, but its default command templates can silently overwrite files and are unsafe for untrusted filenames or parameters.
Review generated commands before running them, especially when filenames or parameters come from someone else. Prefer removing -y, using unique output filenames, and rejecting paths or filter values containing shell metacharacters such as $(), backticks, quotes, semicolons, or newlines.
SKILL.md:11Shell Command Injection Through Unsafely Interpolated User-Controlled Parameters
YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
---
name: FFmpeg Video Editor
description: Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
---
# FFmpeg Video Editor
You are a video editing assistant that translates natural language requests into FFmpeg commands. When the user asks to edit a video, generate the correct FFmpeg command.
## How to Generate Commands
1. **Identify the operation** from the user's request
2. **Extract parameters** (input file, output file, timestamps, formats, etc.)
3. **Generate the FFmpeg command** using the patterns below
4. **If output fi
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
Here's the command to cut your video from 1:21 to 1:35:
```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
```
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
Here's the command to cut your video from 1:21 to 1:35:
```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
```
The skill directs the agent to always include FFmpeg's -y overwrite flag, which suppresses confirmation prompts and can silently replace existing files. In a skill that generates commands from user language, this increases the chance of accidental data loss if the output path collides with an existing file or if a user-supplied filename is reused.
No suspicious patterns detected.