Back to skill

Security audit

video-generator

Security checks for vulnerabilities and agentic risk

Overview

This video-generation skill is mostly coherent, but it uploads user media through a public plaintext HTTP URL path and uses unpinned dependencies, so users should review it before installing.

Install only if you are comfortable sending selected media and prompts to Deep Code Plus and having local uploads referenced through a public HTTP URL. Avoid private or sensitive images, audio, or video unless the publisher moves uploads to HTTPS/private signed URLs with cleanup, and consider installing dependencies in an isolated environment with pinned versions.

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 (2)

T08 · Insecure Dependencies

Warning
Location
scripts/requirements.txt:1
Finding

Unpinned Third-Party Dependencies Create a Supply-Chain Risk

Content
View full analysis
=7.13 requests>=2.32 ``` `SKILL.md:8`: ```text The dependency installation command is `python3 -m pip install -r scripts/requirements.txt`. ``` ### Technical Analysis Both dependencies use open-ended minimum-version constraints. Consequently, the documented installation command can resolve to any later version available from the configured Python package index. The installed code can therefore differ from the dependency code that was reviewed during this audit. Python packages may execute build-backend or installation logic, and their imported modules execute with the privileges of the process running this skill. If a future compatible release, transitive dependency, package-index account, or distribution artifact is compromised, a user following the documented installation process could install attacker-controlled code. The manifest also lacks integrity hashes or a lock file, so package artifacts are not cryptographically tied to reviewed versions. ### Attack Path 1. An attacker compromises a permitted future release of `qiniu`, `requests`, or one of their resolved dependencies. 2. The malicious release remains compatible with the open-ended `>=` constraint. 3. A user runs the documented `python3 -m pip install -r scripts/requirements.txt` command. 4. The package resolver downloads the compromised release rather than a previously reviewed version. 5. Malicious installation or runtime code executes when the package is installed or imported by `video_generator.py`. ### Impact Assessment Successful exploitation could execute arbitrary Python code with the privileges of the user performing installation or running the skill. This could expose local files and credentials accessi ...[truncated 368 chars]
Remediation
View remediation
requests== ``` 2. Generate a fully resolved lock file that also pins transitive dependencies. 3. Record SHA-256 hashes for all accepted distribution artifacts and install with pip's `--require-hashes` option. 4. Use an organization-controlled package mirror or allowlisted package source. 5. Review and update dependency pins through a controlled process with automated vulnerability and provenance checks. 6. Install dependencies in an isolated virtual environment under a non-privileged account. ]]>

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/video_generator.py:19
Finding

User Media Is Referenced Through Plaintext HTTP URLs

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill explicitly instructs reading local files and fetching HTTP(S) media, and executing a Python script that performs network calls, yet it declares no tool scope or allowed-tools restrictions. In a skill ecosystem, this over-broad undeclared capability increases the chance of unintended file access, SSRF-like URL fetching, or misuse by hosts that rely on manifest-declared permissions for sandboxing and user consent.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document explicitly requires overall_soundscape to use English sentences and non_diegetic_music to use English sentences. This forces a specific language choice as a general rule, which is a natural-language locale policy violation under the stated criteria because no user choice or justification is provided.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
94% confidence
Finding

The dependency specification qiniu>=7.13 is unpinned, so builds may resolve to different versions over time. This weakens reproducibility and can allow accidental adoption of a vulnerable or breaking upstream release through normal dependency resolution or supply-chain compromise.

Content

Scanner excerpt · scripts/requirements.txt (reported line 1)May include surrounding context.

text
qiniu>=7.13
requests>=2.32

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
98% confidence
Finding

The dependency specification requests>=2.32 is unpinned, which makes the installed version non-deterministic across environments and deployments. Because requests is a security-sensitive HTTP library with a history of advisories, leaving it floating increases the chance of pulling in an affected or unexpected release and makes vulnerability management harder.

Content

Scanner excerpt · scripts/requirements.txt (reported line 2)May include surrounding context.

text
qiniu>=7.13
requests>=2.32

Unverifiable Dependency: requests has 16 known advisory(ies) (CVE-2014-1830 (Exposure of Sensitive Information to an Unauthorized Actor in Requests); CVE-2024-47081 (Requests vulnerable to .netrc credentials leak via malicious URLs); CVE-2024-35195 (Requests `Session` object does not verify requests after making first request wi) +13 more), but the manifest does not pin a version, so it is unknown whether the installed release is affected

Low
Category
Supply Chain
Confidence
92% confidence
Finding

The manifest references requests without an exact version, while multiple known advisories exist for that package family. Without a pinned version, it is impossible to verify from this file alone whether deployments will use a safe patched release, creating uncertainty around exposure in a component that handles outbound HTTP and potentially credentials.

Content

No source excerpt is available for this finding.