Back to skill

Security audit

脚本转视频 Script to Video

Security checks for vulnerabilities and agentic risk

Overview

The skill coherently uses dLazy’s hosted video service and clearly discloses authentication, project discovery, file uploads, and saved credentials.

Use scripts and reference files you are comfortable uploading to dLazy, select the intended project, and account for generation credits. The CLI stores an organization API key locally unless you supply it through the environment; revoke it when no longer needed.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk only enumerates organization projects. It contains no script processing or video-generation steps, and no context establishes project enumeration as a supporting step in the declared workflow.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk performs project discovery rather than script-to-video processing. Nothing in the chunk connects organization-wide project enumeration to the declared workflow, so it exposes an undeclared resource-access capability rather than a demonstrated supporting implementation detail.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Authentication could support a video-generation workflow, but the supplied chunk contains only credential setup and no demonstrated connection to scene breakdown, shot generation, video assembly, or validation. Its actual purpose therefore differs materially from the declared purpose. The chunk does not establish credential theft or other malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The supplied code only invokes a login command and does not implement the declared video-production workflow. Authentication could be a supporting prerequisite, but the supplied content provides no connection between this login and that workflow. No credential theft, data transfer, or other behavior beyond invoking login can be established from this command alone.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Authentication could support a larger video-generation workflow, but the supplied chunk contains only a login command and establishes no connection to that workflow. As supplied, its primary behavior is account login, materially different from the declared purpose.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · SKILL-cn.md (reported line 115)May include surrounding context.

md
## 错误处理

| Code | 错误类型                         | 示例信息                                                                                                                 |
| ---- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| 401  | 未授权 (API Key缺失或无效)       | `ok: false, code: "unauthorized", message: "API key is missing or invalid"`                                                              |
| 501  | 缺少必填参数                     | `error: required option '--prompt <prompt>' not specified`                                                               |

Static analysis

No suspicious patterns detected.