Back to skill

Security audit

快速视频生成 Seedance 2.0 Fast

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed dLazy video-generation wrapper, with ordinary cloud API, credential, and media-upload risks users should understand before use.

Install only if you are comfortable running the pinned dLazy npm CLI and sending prompts plus any selected image, video, or audio files to dLazy's hosted service. Prefer npx over a global install if you do not want a persistent binary, avoid passing sensitive local media, and rotate or revoke the dLazy API key if you suspect exposure.

Vulnerability Patterns
  • 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
  • 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)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:4
Finding
Execution of an Unreviewed Third-Party npm Package Without Integrity Verification<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:4,64-70` and mirrored in `SKILL-cn.md:4,64-70` **Vulnerability Type**: Unverified third-party package installation and execution **Risk Level**: Medium ### Vulnerable Code From `SKILL.md`: ```yaml metadata: {"clawdbot":{"emoji":"🤖","requires":{"bins":["npm","npx"]},"install":"npm install -g @dlazy/cli@1.2.3","installAlternative":"npx @dlazy/cli@1.2.3","homepage":"https://github.com/dlazy-ai/cli","source":"https://github.com/dlazy-ai/cli","author":"dlazyai","license":"see-repo","npm":"https://www.npmjs.com/package/@dlazy/cli","configLocation":"~/.dlazy/config.json","apiEndpoints":["api.dlazy.com","files.dlazy.com"]},"openclaw":{"systemPrompt":"When invoking this skill, use dlazy seedance-2.0-fast -h for help."}} ``` ```bash npx @dlazy/cli@1.2.3 <command> ``` ```text npm install -g @dlazy/cli@1.2.3 ``` The same installation and execution instructions appear in `SKILL-cn.md`. ### Technical Analysis The Skill delegates all executable behavior to the external npm package `@dlazy/cli@1.2.3`. The package implementation and its transitive dependencies are not included in the audited project, so their behavior cannot be verified from this artifact. Both documented installation methods can execute externally supplied code: - `npm install -g` can run npm lifecycle scripts and installs the package globally. - `npx` retrieves and executes the package from the configured npm registry. - Transitive dependencies may introduce additional executable code. - No package integrity digest, signature verification, vendored dependency set, or reproducible-build evidence is provided. Pinning the package to version `1.2.3` reduces unintended version drift, but it does not independently verify the integrity or provenance of the registry artifact. This creates a supply-chain trust boundary: compromise of the publisher account, package distribution infrastructure, or a transitive dependency could cause code to exec ...[truncated 1856 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. Vendor the executable CLI implementation and all required dependencies into a reviewable, version-controlled source tree. 2. Commit and enforce a lockfile containing registry-resolved integrity hashes for direct and transitive dependencies. 3. Verify package provenance using signed releases, npm provenance attestations, and reproducible-build checks before execution. 4. Prefer installation from a trusted internal registry or verified artifact repository rather than resolving executable code dynamically. 5. Disable npm lifecycle scripts where they are unnecessary: ```bash npm install --ignore-scripts ``` Confirm first that the package does not legitimately require installation scripts. 6. Avoid global installation. Execute the CLI in an isolated environment or container with: - A non-privileged user. - A read-only filesystem where practical. - Access only to explicitly selected media files. - Restricted environment variables. - Network access limited to documented API endpoints. 7. Provide and verify a cryptographic digest for the exact package archive expected by the Skill. 8. Audit the package's transitive dependency graph and continuously monitor it for compromised, deprecated, or newly introduced packages. 9. Keep API credentials scoped to minimum privileges, store them using an operating-system credential manager where possible, and support immediate rotation following suspected compromise. 10. Update both `SKILL.md` and `SKILL-cn.md` so their installation guidance and security controls remain consistent. ]]>
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 (5)

Ae1

High
Category
analysis-evasion
Content
[English](./SKILL.md) · [中文](./SKILL-cn.md)
Confidence
100% confidence
Finding
Referenced artifact was not completely inspected

Intent-Code Divergence

Medium
Confidence
95% confidence
Finding
The manifest and surrounding documentation consistently describe this skill as generating videos, but the JSON output example shows an output object with `type: "image"`, `result.png`, and `mimeType: "image/png"`. This is an active documentation contradiction rather than a mere omission, because it depicts a different media type than the advertised operation.

Whitespace Padding

Medium
Category
Prompt Injection
Content
## 错误处理

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

Natural-Language Policy Violations

Medium
Confidence
92% confidence
Finding
The mandatory agent instructions are written as unconditional requirements directing the agent to respond in Chinese-language guidance to the user in specific error cases. The file does not offer a language/locale opt-in or indicate that the Chinese-only behavior is justified by a region-specific constraint, which creates a natural-language locale policy concern.

Whitespace Padding

Medium
Category
Prompt Injection
Content
## Error Handling

| Code | Error Type                         | Example Message                                                                                                          |
| ---- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| 401  | Unauthorized (No API Key)          | `ok: false, code: "unauthorized", message: "API key is missing or invalid"`                                                              |
| 501  | Missing required parameter         | `error: required option '--prompt <prompt>' not specified`                                                              |
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.

Static analysis

No suspicious patterns detected.