Back to skill

Security audit

Vidu Video Generation Provider

Security checks for vulnerabilities and agentic risk

Overview

The plugin is a coherent Vidu video generator, but it needs Review because it downloads a provider-supplied video URL without clear destination or size controls.

Install only if you are comfortable sending prompts and uploaded images/videos to Vidu. Prefer use in an environment where provider-directed downloads cannot reach internal services, and ask the publisher to validate generated-video URLs, block private-network destinations and redirects, cap download size, and document data handling clearly.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
video-generation-provider.ts:127
Finding

Server-Side Request Forgery Through an Unvalidated Generated-Video URL

Content
View full analysis
{ const response = await fetchWithTimeout( params.url, { method: "GET" }, params.timeoutMs ?? DEFAULT_TIMEOUT_MS, params.fetchFn, ); await assertOkOrThrowHttpError(response, "Vidu generated video download failed"); const mimeType = normalizeOptionalString(response.headers.get("content-type")) ?? "video/mp4"; const arrayBuffer = await response.arrayBuffer(); return { buffer: Buffer.from(arrayBuffer), mimeType, fileName: `video-1.${mimeType.includes("webm") ? "webm" : "mp4"}`, }; } ``` The remotely supplied URL reaches this function here: ```ts const videoUrl = normalizeOptionalString(completed.creations?.[0]?.url); if (!videoUrl) { throw new Error("Vidu video generation completed without a video URL"); } const video = await downloadViduVideo({ url: videoUrl, timeoutMs: req.timeoutMs, fetchFn, }); ``` ### Technical Analysis The generated-video URL comes from `completed.creations[0].url`, which is controlled by the remote API response. The plugin passes this URL directly to `fetchWithTimeout` without validating its protocol, hostname, resolved IP address, port, or redirect chain. Creation requests use `resolveProviderHttpRequestConfig` and explicitly set `allowPrivateNetwork: false`. The generated-video download does not apply the same dispatcher policy or private-network restriction. Consequently, the protection covering the initial Vidu API request is not visibly applied to this secondary request. If the API response can be manipulated—for example, through compromise of the provider, a malicious configured endpoint, or another u ...[truncated 1870 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill documentation describes a third-party video generation provider but does not clearly warn users that their prompts and uploaded media will be transmitted to Vidu's external API endpoints. This can lead to unintended disclosure of sensitive text, images, or reference assets, especially because the plugin explicitly supports image, reference, and start/end frame uploads and multiple remote endpoints.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

The generateVideo flow transmits req.prompt plus image/video inputs to Vidu via HTTP requests and also downloads generated media from returned URLs. This file contains no confirmation prompt, user-facing log, or comment/docstring warning that user content is sent to a third-party service.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

This manifest file falls under the vague-trigger category, and it declares the skill enabled by default without any accompanying description of when it should or should not activate. Because the manifest provides no explicit trigger phrases, context limits, or exclusion conditions, the activation scope is underspecified and may allow unintended invocation behavior in host systems that rely on manifest metadata.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
91% confidence
Finding

The manifest uses a caret range for the openclaw devDependency, which allows newer compatible releases to be installed without review. This weakens build reproducibility and can unexpectedly pull in a vulnerable or compromised release, especially notable here because separate advisories exist for this package.

Content

Scanner excerpt · package.json (reported line 8)May include surrounding context.

json
"type": "module",
  "license": "MIT-0",
  "devDependencies": {
    "openclaw": "^2026.4.15",
    "typescript": "^5.8.0",
    "vitest": "^3.1.0"
  },

Unverifiable Dependency: openclaw has 16 known advisory(ies) (CVE-2026-53846 (OpenClaw: Workspace .env npm_execpath could influence bundled runtime dependency); CVE-2026-32064 (OpenClaw's andbox browser noVNC observer lacked VNC authentication); CVE-2026-32006 (OpenClaw has a BlueBubbles group allowlist mismatch via DM pairing-store fallbac) +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
87% confidence
Finding

The package references openclaw with a non-exact version while public advisories exist for that dependency. Without exact pinning and a lockfile, it is not possible to verify whether the resolved version includes fixes or remains affected, leaving consumers unable to assess exposure reliably.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
84% confidence
Finding

The typescript devDependency is specified with a caret range, so installs may resolve to different versions over time. While this is primarily a supply-chain hygiene issue rather than an immediate exploit, it reduces reproducibility and may introduce unreviewed changes into the development toolchain.

Content

Scanner excerpt · package.json (reported line 9)May include surrounding context.

json
"license": "MIT-0",
  "devDependencies": {
    "openclaw": "^2026.4.15",
    "typescript": "^5.8.0",
    "vitest": "^3.1.0"
  },
  "openclaw": {

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
89% confidence
Finding

The vitest devDependency is unpinned, allowing semver-compatible updates to be installed automatically. Because test frameworks can execute project code and may expose local services or files during development, pulling an unintended version can increase supply-chain and local-environment risk.

Content

Scanner excerpt · package.json (reported line 10)May include surrounding context.

json
"devDependencies": {
    "openclaw": "^2026.4.15",
    "typescript": "^5.8.0",
    "vitest": "^3.1.0"
  },
  "openclaw": {
    "extensions": [

Unverifiable Dependency: vitest has 3 known advisory(ies) (CVE-2026-47429 (When Vitest UI server is listening, arbitrary file can be read and executed); CVE-2026-84373 (Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock); CVE-2025-24964 (Vitest allows Remote Code Execution when accessing a malicious website while Vit)), but the manifest does not pin a version, so it is unknown whether the installed release is affected

Low
Category
Supply Chain
Confidence
85% confidence
Finding

Vitest has known advisories, and the manifest does not fix the dependency to a verifiable exact release. That makes the actual security posture of the development environment uncertain and can expose maintainers to vulnerable test tooling if an affected version is resolved.

Content

No source excerpt is available for this finding.