Back to skill

Security audit

Social Video Content

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Remotion video guide, but its ready-to-run commands can fetch and execute an unpinned package from npm.

Install only if you are comfortable with a Remotion workflow, and prefer changing the commands to use a project-local, lockfile-managed Remotion dependency or an exact pinned package version before running render or preview commands.

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:153
Finding

Unpinned Third-Party CLI Execution Through npx

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:153-159, references/platforms.md:124-130, and references/platforms.md:143-149
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: Medium

Vulnerable Code

SKILL.md:153-159:

bash
npx remotion render src/index.ts ReelsVideo out/reels.mp4
npx remotion render src/index.ts FeedPost out/feed-post.mp4
npx remotion render src/index.ts YouTubeVideo out/youtube.mp4
bash
npx remotion preview src/index.ts

references/platforms.md:124-130:

bash
# Vertical (Reels, TikTok, YouTube Shorts)
npx remotion render src/index.ts ReelsVideo out/reels.mp4

# Square (Instagram feed, Facebook, LinkedIn)
npx remotion render src/index.ts FeedPost out/feed-post.mp4

# Landscape (YouTube, LinkedIn, Twitter/X)
npx remotion render src/index.ts YouTubeVideo out/youtube.mp4

references/platforms.md:143-149:

bash
npx remotion render src/index.ts ReelsVideo out/reels.mp4
npx remotion render src/index.ts FeedPost out/feed-post.mp4
npx remotion render src/index.ts YouTubeVideo out/youtube.mp4

Technical Analysis

The documented commands execute remotion through npx without specifying a package version, requiring a verified local installation, or establishing that dependency resolution is controlled by a committed lockfile. When a compatible local binary is unavailable, npx may resolve and download a package from the configured package registry and then execute its code.

Consequently, the code executed by these instructions is not fully represented by the audited project. Its effective behavior can change based on registry state, dependency resolution, local configuration, and the version available when the command is run. A compromised upstream package release, registry compromise, or unsafe registry configuration could therefore introduce arbitrary code into the rendering workflow.

This is a supp ...[truncated 1782 chars]

Remediation
View remediation

Remediation Suggestions

  1. Add Remotion to the project as an explicitly version-pinned dependency rather than relying on ad hoc registry resolution:

    bash
    npm install --save-exact remotion@<reviewed-version>
    
  2. Commit the generated lockfile and require integrity-preserving installation in automated or agent-controlled environments:

    bash
    npm ci
    
  3. Define package scripts that invoke the lockfile-resolved local binary:

    json
    {
      "scripts": {
        "render:reels": "remotion render src/index.ts ReelsVideo out/reels.mp4",
        "render:feed": "remotion render src/index.ts FeedPost out/feed-post.mp4",
        "render:youtube": "remotion render src/index.ts YouTubeVideo out/youtube.mp4",
        "preview": "remotion preview src/index.ts"
      }
    }
    
  4. If npx must remain in the documentation, require local-only resolution:

    bash
    npx --no-install remotion render src/index.ts ReelsVideo out/reels.mp4
    npx --no-install remotion preview src/index.ts
    
  5. Pin and review transitive dependencies, use a trusted registry, verify lockfile integrity in CI, and run dependency installation and rendering with minimal filesystem, credential, and network privileges.

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

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill instructs users to run npx remotion render ... without pinning a specific package version. npx may fetch the latest published package at execution time, which creates a supply-chain risk: a compromised upstream release or breaking change could cause 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
93% confidence
Finding

This command again relies on unpinned npx remotion, which can download and execute whatever version is current when the command is run. In a developer tool skill, that is a real supply-chain exposure because the command is meant to be copied and executed directly.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

Using npx remotion without an exact version allows non-deterministic code execution from the package registry. If the package or one of its install-time dependencies is hijacked, users following the skill could execute malicious code simply by rendering the video.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The preview command also uses unpinned npx remotion, so it shares the same risk of pulling a new or compromised package version at runtime. Because preview is a normal development workflow, users may execute it frequently and trust it implicitly, increasing exposure.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

This output-format guidance tells the agent to deliver commands using npx remotion render, reinforcing an unsafe pattern throughout the skill. Repetition increases the chance that users will copy the command verbatim and execute an unpinned package from the registry.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The preview instruction in the output requirements repeats the unpinned npx remotion pattern, creating the same supply-chain risk as the earlier commands. In this skill context, commands are presented as ready-to-run developer instructions, so the practical likelihood of execution is high.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.