Back to skill

Security audit

kling-4-prompting

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the findings are consistent with its video-generation purpose, while its install reference and handling of external media merit attention.

The verdict is benign, not risk-free. Before installing, consider that the install command is unpinned and the workflow sends prompts and reference media to external services. Avoid submitting private or sensitive media unless you are comfortable sharing it. The scan was partial because three local path-like references could not be resolved, so the evidence is incomplete.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The installation command executes an unversioned npm CLI and installs skill content from an unpinned repository reference. Although this is not an MCP server declaration as the finding suggests, mutable dependencies create a supply-chain risk: a compromised release or repository update could introduce code or agent instructions running with the user's privileges.

Content

No source excerpt is available for this finding.

The character-element example uses local photos without warning that they will be sent to an external service.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The example instructs the agent to create a Kling 4 element from two local character images, rather than merely listing an available tool. This requires submitting those images to the external generation service, but the README does not disclose that transfer or warn about using private or sensitive photos; listing the varg API and account requirement does not explain this privacy impact.

Content

No source excerpt is available for this finding.

The generation workflow sends reference media URLs and prompts to external services without a privacy warning.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The skill instructs the agent to submit frame URLs and prompts to Varg using a fal-backed generation route, and supports references containing people's photos and voices. Although the services are named, the skill never warns that these inputs are shared externally or advises against submitting sensitive media without authorization.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

kling_v4 routes by input: text only → text-to-video; one or two images → image-to-video, where image 1 is the start frame and image 2 the end frame. (Before api#239 reached production, a third image was silently dropped there too; now three or more go to reference-to-video.) For key frames as references, always pin the reference route by its key:

bash
curl -s -X POST https://api.varg.ai/v2/tools/video/call \
  -H "Authorization: Bearer $VARG_API_KEY" -H "Content-Type: application/json" -d '{
  "model": "fal:fal-ai/kling-video/v4/reference-to-video",
  "files": [{"url": "FRAME_1"}, {"url": "FRAME_2"}, {"url": "FRAME_3"}],

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

kling_v4 routes by input: text only → text-to-video; one or two images → image-to-video, where image 1 is the start frame and image 2 the end frame. (Before api#239 reached production, a third image was silently dropped there too; now three or more go to reference-to-video.) For key frames as references, always pin the reference route by its key:

bash
curl -s -X POST https://api.varg.ai/v2/tools/video/call \
  -H "Authorization: Bearer $VARG_API_KEY" -H "Content-Type: application/json" -d '{
  "model": "fal:fal-ai/kling-video/v4/reference-to-video",
  "files": [{"url": "FRAME_1"}, {"url": "FRAME_2"}, {"url": "FRAME_3"}],