Back to skill

Security audit

短视频生成-免费版

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly aligned with short-video generation, but it needs review because it tells agents to run mutable/global npm tooling and send creative inputs to external AI services with limited upfront scoping.

Review before installing. Run any setup in a non-admin, isolated project environment; prefer pinned local dependencies and a lockfile instead of global npm installs or unpinned npx. Do not submit confidential scripts, unreleased business material, personal data, or secrets to the image/TTS services unless you have approved that data sharing.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:417
Finding

Unpinned npm Installation and Implicit Package Retrieval

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 233, 417, and 428-433
Vulnerability Type: Unpinned and globally installed third-party dependencies
Risk Level: Medium

Vulnerable Code

At line 233, the documentation directs the user to invoke Remotion through npx:

bash
npx remotion --version

At line 417, Remotion is specified using only a minimum version constraint:

markdown
| Remotion | npm package | Required | `npm install remotion` | 4.0+ |

At lines 428-433, the installation procedure uses an unpinned global installation and subsequently invokes the package through npx:

bash
# Install Node.js and Remotion
npm install -g remotion
npm install
# ...
# Verify installation
node --version
npx remotion --version
ffmpeg -version

Technical Analysis

The installation instructions do not pin Remotion to an exact, reviewed version. No package.json, package lockfile, or dependency integrity metadata is included in the audited project. Consequently, dependency resolution is mutable and cannot be reproduced or independently verified from this artifact.

The command npm install -g remotion retrieves the package and its transitive dependencies from the configured npm registry. npm packages can execute lifecycle scripts during installation, allowing a compromised package or dependency to execute code under the privileges of the invoking user.

The npx remotion --version command introduces an additional retrieval risk. If an appropriate trusted local executable is unavailable, npx may download and execute a package from the configured registry. The effective executable may therefore differ from what was reviewed when the skill was published.

Global installation also expands the exposure beyond the project directory. Depending on npm configuration and the privileges used to run the command, the installed executable may become available to other projects or ...[truncated 1755 chars]

Remediation
View remediation

Remediation Suggestions

  1. Add a reviewed package.json and commit a lockfile containing resolved versions and integrity hashes.
  2. Pin Remotion and every direct dependency to an exact version rather than using a minimum version such as 4.0+.
  3. Replace npm install with npm ci so installation fails when dependency metadata differs from the committed lockfile.
  4. Remove npm install -g remotion; install Remotion locally within the project to limit scope and improve reproducibility.
  5. Invoke the reviewed local executable through a package script or an explicitly pinned command rather than allowing npx to retrieve an unspecified package.
  6. Where practical, use offline or allowlisted package installation after dependencies have been reviewed and cached.
  7. Audit package lifecycle scripts and transitive dependencies before release. Consider disabling lifecycle scripts during initial verification with npm ci --ignore-scripts, then explicitly run only required, reviewed setup steps.
  8. Run installation and rendering under a dedicated, non-administrative account or sandbox with minimal filesystem and network access.
  9. Add automated dependency scanning and lockfile integrity checks to the release process.
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 (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger condition is broad enough to match generic requests about video processing, audio editing, media conversion, or dubbing, including requests outside the documented limits of this free single-video tool. In an agent environment, overly broad activation can cause the skill to run in inappropriate contexts, leading to unnecessary command execution, external API usage, or handling of content the user did not intend to send through this workflow.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill instructs users to execute npx remotion without pinning a version, which can fetch whatever package version is current at execution time. This creates a supply-chain risk: a compromised upstream release or unexpected major-version change could lead to execution of unreviewed code in the user's environment.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

This second occurrence repeats the same unsafe pattern by using npx remotion without version pinning during installation/verification guidance. Because npx may download and run the latest package, users are exposed to supply-chain compromise or breaking changes outside the skill author's control.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill acknowledges that scripts and media prompts are sent to external AI services, but the warning appears deep in dependency/availability notes rather than as a prominent pre-execution disclosure. Users may unknowingly transmit sensitive or proprietary text prompts off-device, creating confidentiality and privacy risks, especially in a content-production workflow where drafts may contain unreleased marketing, personal data, or internal material.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.