T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned and Inconsistent npm Package Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill's main video-message workflow is coherent, but its installer points to inconsistent global npm packages and it includes an overbroad temp-file deletion command.
Review the npm package identity before installing and prefer a pinned, verified package. Use this skill only when you intend generated audio/video content and configured avatar/background assets to be sent through Telegram, and replace the wildcard cleanup command with deletion of the exact output file for the current run.
SKILL.md:10Unpinned and Inconsistent npm Package Installation
The cleanup command uses a wildcard deletion in /tmp, which is risky because it may remove files beyond the exact artifact produced by the current run if naming collisions or symlink-related edge cases exist. In an agent context, broad shell cleanup patterns are dangerous because they normalize destructive file operations without strict binding to known-safe paths.
## Notes
- Config is read from TOOLS.md
- Clean up temp files after sending: `rm /tmp/video*.mp4`
- For regular video (not circular), omit `asVideoNote=true`
The trigger description is broad enough to activate on common requests involving video replies or converting TTS delivery format, which can cause the skill to run in situations the user did not clearly intend. In this skill, unintended activation matters because the workflow can generate media and send it externally via Telegram, increasing the chance of surprise actions and privacy-impacting behavior.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
| Platform | Command |
|----------|---------|
| **macOS** | `brew install ffmpeg` |
| **Linux** | `sudo apt-get install -y xvfb xauth ffmpeg` |
| **Windows** | Install ffmpeg and add to PATH |
| **Docker** | See Docker section below |
The skill instructs the agent to send generated media through Telegram but does not require explicit disclosure or confirmation that content will be transmitted to an external service. This creates a privacy and consent risk, especially if the generated video contains user-provided text, voice content, or avatar/media derived from local configuration.
No suspicious patterns detected.