Back to skill

Security audit

Ai Video Generation

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherently about AI video generation, but its documentation asks users to run mutable remote installers and unpinned package commands that could execute unreviewed code.

Review before installing. Prefer a pinned, inspectable CLI installation path with independently published checksums or signatures, avoid running the pipe-to-shell command from a privileged shell, and do not submit sensitive prompts, media, private URLs, or account credentials unless you accept inference.sh and model-provider processing. Treat the optional related-skill npx commands as separate installations that need their own review, especially Twitter automation.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:17
Finding

Remote Installer Executed Directly Through a Shell Pipeline

Content
View full analysis
Remediation
View remediation
/infsh--" echo " infsh" | sha256sum --check - chmod 0755 infsh install -m 0755 infsh "$HOME/.local/bin/infsh" infsh login ``` The expected checksum must not be retrieved solely from the same mutable endpoint as the artifact during installation. ]]>

T08 · Insecure Dependencies

Warning
Location
SKILL.md:152
Finding

Unpinned Third-Party Skill and Package Retrieval

Content
View full analysis
Remediation
View remediation
add ... ``` 2. Pin each referenced Skill to an immutable commit hash or signed release rather than a mutable branch, tag, or Skill name. 3. Record and verify integrity hashes for retrieved packages and Skill artifacts. 4. Use package lockfiles where supported and enable deterministic, reproducible installation. 5. Review downloaded Skill content before enabling it or granting tools and credentials. 6. Prefer vendoring a reviewed dependency snapshot when licensing and update processes permit it. 7. Remove the `twitter-automation` recommendation unless social-media posting is explicitly required by the declared functionality. 8. Apply least privilege to every installed Skill: grant only the tools, files, credentials, and network destinations required for its specific task. 9. Establish an update process requiring security review before changing pinned versions or commit hashes. ]]>
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 (9)

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The documentation instructs users to execute a remote script directly with curl ... | sh, which is a classic unsafe pattern because it runs code fetched over the network without prior inspection. If the hosting endpoint, TLS trust chain, DNS, or upstream distribution is compromised, users could immediately execute attacker-controlled shell code.

Content

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

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

# Generate a video with Veo
infsh app run google/veo-3-1-fast --input '{"prompt": "drone shot flying over a forest"}'

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger list includes broad phrases such as 'video generation', 'generate video', and 'ai animation', which are likely to match many normal user requests. Overbroad activation can cause unintended invocation of a skill that sends prompts and media to external services, increasing privacy and misuse risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill does not clearly warn that prompts, images, audio, and video URLs are transmitted to third-party infrastructure for processing. Users may unknowingly disclose sensitive content, proprietary media, or internal URLs to external services, which is especially relevant for a media-generation workflow.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

The skill recommends running npx skills add ... without pinning an exact package version, which means users may retrieve whatever version is current at execution time. This creates a supply-chain risk because a compromised or malicious future package release could be executed unexpectedly.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

This npx skills add ... invocation is unpinned and therefore subject to version drift and package supply-chain compromise. Even if the current package is safe, later releases could introduce malicious code or breaking behavior that users execute automatically.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

Using npx skills without a pinned version causes the command to resolve dynamically at runtime, exposing users to malicious updates or dependency hijacking. In a skill-distribution context, this is a meaningful supply-chain weakness rather than a purely theoretical issue.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

Because this npx skills add ... example is not pinned, users may execute a different package state than the author tested. That undermines reproducibility and opens the door to executing malicious or compromised package content from the registry.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

An unpinned npx invocation is a real supply-chain risk because it delegates trust to the latest available package resolution. If an attacker compromises the package, namespace, or dependency chain, users following the documentation could execute attacker-controlled code.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
85% confidence
Finding

This command again relies on npx without an immutable version, making execution dependent on external package state at the time the user runs it. In documentation intended for broad use, repeated unpinned examples increase exposure to registry and dependency compromise.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.