T09 · Insecure Skill Coding Practices
- Location
SKILL.md:45- Finding
Shell Command Injection Through Unsafely Interpolated File Paths
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent news-video purpose, but its FFmpeg command pattern can expose users to unsafe local command execution if file paths are not tightly controlled.
Install only if you are comfortable with a skill that searches the web, sends text to a TTS tool, creates local media files, and invokes FFmpeg. Use trusted local file paths and output directories, and prefer an implementation that runs FFmpeg with a fixed argument array plus strict path and subtitle-filter escaping rather than pasting interpolated paths into a shell command.
SKILL.md:45Shell Command Injection Through Unsafely Interpolated File Paths
The skill description is broad enough that it could be invoked for loosely related requests about news, video creation, or summaries without clear boundaries. Over-broad activation increases the chance the agent performs external searches and file-generating actions unexpectedly, which can surprise users and expand exposure to untrusted content.
The skill instructs the agent to fetch external news, generate speech, and write media files via FFmpeg, but it does not warn users about data flow to external tools, untrusted search content, or filesystem side effects. In this context, the combination of web retrieval plus local file creation is more dangerous because untrusted text and file paths may be passed into downstream tooling without explicit user awareness or confirmation.
The example prompt is very generic and overlaps with ordinary requests for news summaries. This can cause accidental invocation of a skill that performs external search, synthesis, and media generation when the user may only want informational output, increasing the risk of unintended actions and processing of untrusted data.
No suspicious patterns detected.