Back to skill

Security audit

WeryAI Video Toolkits

Security checks for vulnerabilities and agentic risk

Overview

This WeryAI video-editing skill is mostly coherent, but it needs review because a configurable API host could receive your API key and any local media you upload.

Install only if you are comfortable sending selected videos, images, audio, and request details to WeryAI. Leave WERYAI_BASE_URL unset unless you control and trust the endpoint, use a limited or revocable WERYAI_API_KEY, and avoid passing sensitive local files unless you intend to upload them.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/video_toolkits.js:19
Finding

Unrestricted API Endpoint Override Can Disclose Credentials and Local Files

Content
View full analysis
controller.abort(), 60000); let res; try { res = await fetch(`${BASE_URL}${UPLOAD_API_PATH}`, { method: "POST", headers: { Authorization: `Bearer ${apiKey}` }, body: form, signal: controller.signal, }); } catch (error) { clearTimeout(timer); if (error?.name === "AbortError") throw new Error(`Upload timeout: ${source}`); throw error; } clearTimeout(timer); ``` ```js async function httpJson(method, url, body, apiKey) { const headers = { "Content-Type": "application/json", }; if (apiKey) headers.Authorization = `Bearer ${apiKey}`; const controller = new AbortController(); const timer = setTimeout(() => controller.abort(), 30000); try { const res = await fetch(url, { method, headers, body: body != null ? JSON.stringify(body) : undefined, signal: c ...[truncated 2980 chars]
Remediation
View remediation
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (45)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Generating new videos from text and images instead of editing existing videos is a fundamental purpose mismatch. Even if some polling exists, users are misled about the type of processing, data usage, and billing they are authorizing.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Dependencies:** `scripts/video_toolkits.js` at the skill package root (alongside `SKILL.md`), `WERYAI_API_KEY`, and Node.js 18+. No other skills are required.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/vendor/weryai-core/upload.js:147

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/video_toolkits.js:19