Back to skill

Security audit

Ai Marketing Videos

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for AI video generation, but its quick-start installer asks users to execute a mutable remote script directly in a shell.

Review this before installing. The skill itself is a straightforward inference.sh marketing-video helper, but do not run the one-line `curl | sh` installer unless you trust that distribution path. Prefer a separately downloaded, version-pinned CLI with checksum or signature verification, and avoid submitting confidential launches, unreleased product plans, customer data, or private media unless your organization permits sending that data to the external services involved.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:16
Finding

Unverified Remote Installer Executed Directly by a Shell

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 16
Vulnerability Type: Remote payload retrieval and execution
Risk Level: High

Vulnerable Code

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

Technical Analysis

The Quick Start command downloads mutable content from https://cli.inference.sh and pipes it directly into sh. The remote response is therefore executed before the user can inspect it or independently verify its integrity.

SKILL.md states that the installer selects a platform-specific binary and verifies its SHA-256 checksum. However, this does not establish the integrity of the installer itself, and the claim cannot be independently validated from the reviewed project. The installer URL and downloaded content are also not pinned to a reviewed version.

Installation of the CLI is relevant to the Skill's declared video-generation functionality, and the documentation claims that elevated permissions and background processes are not used. Nevertheless, direct execution of a mutable remote script exceeds the minimum safe installation mechanism because the same objective can be achieved by separately downloading, inspecting, and verifying a version-pinned artifact before execution.

Attack Path

  1. An attacker compromises the installer host, its deployment pipeline, or another trusted component involved in serving https://cli.inference.sh.
  2. The attacker replaces or modifies the remote installer response.
  3. A user or agent follows the documented Quick Start command.
  4. curl retrieves the attacker-controlled response.
  5. The shell executes the response immediately with the privileges of the invoking account.
  6. The payload may access or modify any resources available to that account before installation continues, fails, or displays expected output.

Impact Assessment

Successful exploitation permits arbitrary command execution with the privileges of the user running the command. Potential ...[truncated 481 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the curl | sh installation pattern.
  2. Provide a version-pinned download URL rather than a mutable installer endpoint.
  3. Download the artifact and checksum as separate files.
  4. Authenticate the checksum metadata, preferably using a signed release manifest from a separately protected trust channel.
  5. Verify the artifact locally before executing it, and abort on any mismatch.
  6. Display the exact artifact and version to be installed and require explicit user confirmation before execution.
  7. Prefer a reputable package manager or signed release mechanism with locked versions and provenance verification.
  8. If an installer script remains available, instruct users to save and inspect it before execution rather than piping it directly into a shell.
  9. Keep installation unprivileged and document the expected files, directories, network endpoints, and credential-storage behavior.

A safer documented flow would follow this pattern:

bash
curl -fSLo infsh "<version-pinned-download-url>"
curl -fSLo checksums.txt "<authenticated-version-pinned-checksum-url>"
sha256sum --check checksums.txt
chmod 0755 infsh
./infsh login

The real implementation should ensure that the checksum entry is scoped to the downloaded platform artifact and that the checksum metadata is cryptographically authenticated.

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)

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

curl -fsSL https://cli.inference.sh | sh pipes network-fetched content directly into a shell, which creates a classic remote code execution and supply-chain risk. Even with a later note about checksum verification, the one-line quick-start encourages immediate execution before any independent verification, making compromise of the host possible if the endpoint, transport, or distribution chain is tampered with.

Content

Scanner excerpt · SKILL.md (reported line 16)May include surrounding context.

Quick Start

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

# Generate a product promo video
infsh app run google/veo-3-1-fast --input '{

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list is very broad and includes common marketing/video phrases that are likely to match routine user requests. Overbroad activation can cause the skill to run unexpectedly, increasing the chance that user prompts and media instructions are routed to external tools or services without clear user intent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill prominently instructs users to generate scripts, prompts, audio, and media via external services, but it does not clearly warn that those inputs are sent off-platform for processing. This can lead users to disclose sensitive business plans, unreleased product details, or personal media under the mistaken assumption that processing is local or implicit.

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.

Static analysis

No suspicious patterns detected.