Back to skill

Security audit

Video Enhancement

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to perform cloud video enhancement as advertised, but its install path and command-style runtime instructions leave avoidable local execution and data-handling risks.

Review before installing. Use this only for videos you are allowed to process and are comfortable sending to Verging/external storage, avoid sensitive local media, do not pass untrusted URLs or trim values, avoid running the installer with elevated privileges, and prefer a pinned or verified install source if available.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
skill.md:116
Finding

Command Injection Through Unvalidated User-Controlled Arguments

Content
View full analysis
30s): ```bash ffmpeg -i input.mp4 -ss -to -c:v libx264 -c:a aac /tmp/verging-video-enhancement/trimmed.mp4 ``` ``` ### Technical Analysis The Skill instructs an agent to parse user-supplied video URLs, file paths, start times, and end times and insert them into shell commands. It does not require strict numeric validation for `--start` or `--end`, canonical path validation, URL validation, or process execution through a shell-free argument array. The `` and `` substitutions are shown without quoting. If an implementation constructs a command string according to this documentation and invokes it through a shell, shell control characters in either value can terminate or alter the `ffmpeg` command. Although the URL placeholder is surrounded by double quotes, quoting alone is not a complete security boundary when a value can contain embedded quotation marks, command substitutions, or other shell-significant syntax. The local video path is likewise user-controlled but the documented flow does not define safe handling for it. The vulnerability is conditional on the agent or runtime implementing these documented commands by interpolating arguments into a shell command, which is the execution model implied by the examples. ### Attack Path 1. An attacker invokes the Skill and supplies a crafted value through `--start`, `--end`, `--video`, or a maliciously formed URL. 2. The Skill parses the value w ...[truncated 1073 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
skill.md:87
Finding

Predictable Shared Temporary Directory and Filenames

Content
View full analysis
" ``` ```markdown 2. **Download remote video** (if URL): `yt-dlp "URL" -o /tmp/verging-video-enhancement/input.mp4` 3. **Get duration** → `ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 video.mp4` 4. **Trim if needed** (--start/--end or duration > 30s): ```bash ffmpeg -i input.mp4 -ss -to -c:v libx264 -c:a aac /tmp/verging-video-enhancement/trimmed.mp4 ``` ``` ```markdown - **Temp directory:** `/tmp/verging-video-enhancement/` ``` ### Technical Analysis The Skill uses one globally predictable temporary directory and fixed filenames, including `input.mp4` and `trimmed.mp4`. It does not specify secure per-run directory creation, restrictive permissions, exclusive file creation, ownership checks, symbolic-link rejection, or concurrency controls. In a multi-user or concurrent environment, another process can anticipate these paths. A local attacker may create files or symbolic links before the Skill runs, while simultaneous Skill invocations may overwrite or consume one another's files. The later `curl -T` operation reads the predictable `trimmed.mp4` path and uploads its current contents to an externally supplied presigned storage URL. The Skill states that temporary files are cleaned after use, but its execution flow does not contain a cleanup command or guaranteed cleanup handler. ### Attack Path 1. A local attacker or competing process anticipates `/tmp/verging-video-enhancement/input.mp4` or `/tmp/verging-video-enhancement/trimmed.mp4`. 2. Before or during execution, it creates a conflicting file, replaces a file, or places a s ...[truncated 1015 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
README.md:4
Finding

Unpinned Third-Party Package Execution During Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README advertises support for YouTube/Bilibili URLs and API-based enhancement, but it does not clearly warn that remote videos may be downloaded locally and/or transmitted to the third-party Verging service for processing. This can lead users to unknowingly send copyrighted, private, or sensitive media to external infrastructure, creating privacy, legal, and data-handling risk.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The installation command uses npx skills without pinning an exact package version, so users may execute whatever version is current at install time. Because npx can fetch and run remote code, a compromised, malicious, or breaking upstream release could be executed on the user's machine during installation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill instructs the agent to download remote videos and upload processed media to verging.ai and a presigned external storage URL, but it does not require an explicit user-facing warning or confirmation about data leaving the local environment. This creates a real privacy and data-handling risk because users may provide sensitive local media or third-party URLs without understanding that content will be transmitted to external services and temporarily stored outside the system.

Content

No source excerpt is available for this finding.