Back to skill

Security audit

Batch Video Creator Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a simple text-only video workflow skill with no bundled executable code, but its install instructions should be treated with normal package-install caution.

Before installing, prefer a pinned or trusted ClawHub CLI source if available, and run the install from a normal non-admin account. The skill itself is text-only, but its promised video workflow may still involve processing user-provided media through whatever tools or services the user's agent chooses to use.

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
README.md:5
Finding
Unpinned Package Execution Through npx<![CDATA[ ## Vulnerability Details **File Location**: `README.md`, lines 5–8 **Vulnerability Type**: Unpinned third-party package execution **Risk Level**: Medium ### Vulnerable Code ```bash ## Install ```bash npx clawhub install batch-video-creator ``` ``` ### Technical Analysis The installation instructions invoke the `clawhub` package through `npx` without specifying a fixed version, package integrity hash, or trusted registry. If the package is not already available locally, `npx` can retrieve its current version from the configured package registry and execute it. Because package resolution is mutable, the code executed by this command may differ from the code that was reviewed. A compromised package release, registry account, package source, or dependency could therefore introduce attacker-controlled code. Package lifecycle scripts and the invoked CLI run with the privileges of the user executing the installation command. No evidence indicates that the current package is malicious; the risk arises from the unsafe, unpinned installation procedure. ### Attack Path 1. An attacker compromises the `clawhub` package, one of its transitive dependencies, its publisher account, or the package source selected by the user's registry configuration. 2. The attacker publishes a malicious version or modifies a dependency resolved by the latest package release. 3. A user follows the documented command: `npx clawhub install batch-video-creator`. 4. `npx` downloads the mutable package version and any dependencies that are not already present locally. 5. Malicious lifecycle scripts or CLI code execute under the invoking user's account. 6. The malicious code can access data and perform actions permitted to that user, potentially including modifying project files, reading user-accessible credentials, or executing additional processes. ### Impact Assessment Successful exploitation can result in arbitrary code execution with the privileges of the user running the ...[truncated 297 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Pin the CLI to a specifically reviewed version, for example: ```bash npx --yes clawhub@&lt;reviewed-version&gt; install batch-video-creator ``` 2. Commit and verify a lockfile where practical, and use a package manager mode that enforces locked dependency resolution. 3. Document the expected package registry and prevent fallback to untrusted or user-controlled registries. 4. Verify package provenance and integrity through registry signatures, checksums, or an internal artifact repository. 5. Review the pinned package and its complete dependency tree, including lifecycle scripts, before recommending execution. 6. In higher-assurance environments, require users to install a preapproved CLI binary or package from an organization-controlled registry rather than downloading and executing mutable content through `npx`. 7. Run installation with a nonprivileged account and within a sandbox or isolated build environment to limit the impact of a compromised dependency. ]]>
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 (2)

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding
The README instructs users to execute `npx clawhub install batch-video-creator` without pinning a specific version, which allows whatever version of the `clawhub` package is current at execution time to run on the user's machine. Because `npx` fetches and executes remote package code, a compromised, typosquatted, or maliciously updated package could lead to arbitrary code execution during installation.

Natural-Language Policy Violations

Low
Confidence
92% confidence
Finding
The manifest description includes Chinese text alongside English, but the file does not explain whether the skill may respond in Chinese or how language selection works. Under the policy, forcing or implying a language/locale without user opt-in can be a natural-language policy issue.

Static analysis

No suspicious patterns detected.