Back to skill

Security audit

音频素材搜索 Search Audio

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a real dLazy audio-search skill, but its instructions mix in broader cloud-generation behavior and contradictory parameters that users should review before installing.

Install only if you trust the dLazy CLI and service. Treat this as a cloud tool: queries, parameters, and any local paths you allow the agent to pass may be sent to dLazy, and the CLI may store an API key locally. Use the documented search_audio --query workflow, avoid giving it local file paths or --save destinations unless you explicitly want that, and prefer an isolated npx/container-style run over a privileged global install.

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:3
Finding
Third-Party CLI Execution Without Artifact Integrity Verification## Vulnerability Details **File Location**: `SKILL.md:3-63`; equivalent instructions appear in `SKILL-cn.md:3-63` **Vulnerability Type**: T08: Insecure Dependencies **Risk Level**: Medium ### Vulnerable Code ```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 search_audio -h for help."}} ``` ```bash npx @dlazy/cli@1.2.3 <command> ``` ```bash npm install -g @dlazy/cli@1.2.3 ``` The Chinese-language document contains equivalent installation and execution directives: ```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 search_audio -h for help."}} ``` ```bash npx @dlazy/cli@1.2.3 <command> ``` ```bash npm install -g @dlazy/cli@1.2.3 ``` ### Technical Analysis The skill requires installation or direct execution of the npm-hosted `@dlazy/cli` package. Pinning the dependency to version `1.2.3` reduces exposure to unintended upgrades, but it does not authenticate the exact package artifact. The project does not provide an expected npm integrity hash, signed release verification, vendored source, a lockfile covering transit ...[truncated 2404 chars]
Remediation
## Remediation Suggestions 1. Publish and verify an expected npm integrity digest for the exact CLI artifact before execution. 2. Use signed releases or package provenance attestations and verify that the npm artifact corresponds to the reviewed source revision. 3. Vendor and audit the required CLI implementation where practical, rather than executing code fetched at invocation time. 4. Lock and review all transitive dependencies using a committed lockfile and automated dependency scanning. 5. Disable npm lifecycle scripts with `--ignore-scripts` where the package can operate without them; otherwise, explicitly audit every required lifecycle script. 6. Run the CLI in a sandbox or container with least-privilege filesystem and network access. 7. Avoid privileged global installation. Prefer an isolated, non-administrative environment with a controlled package cache. 8. Provide the CLI only the files required for the requested operation and avoid exposing unrelated secrets or environment variables. 9. Store the API key with restrictive permissions, use a narrowly scoped credential where supported, and rotate it immediately if package compromise is suspected. 10. Apply the same hardened installation instructions consistently to both `SKILL.md` and `SKILL-cn.md`.
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 (8)

Ae1

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

Description-Behavior Mismatch

Medium
Confidence
94% confidence
Finding
The skill is presented as a narrow Pixabay music search tool, but its documentation introduces broader SaaS behaviors such as uploading local media, async task handling, and saving remote assets locally. This mismatch can cause an agent or operator to grant broader data-flow and filesystem trust than intended, increasing the risk of unintended file exfiltration or local writes through a supposedly simple search skill.

Intent-Code Divergence

Medium
Confidence
96% confidence
Finding
The examples and error messages describe a different interface from the declared audio search tool, including prompt-based generation and image/video file handling. Such contradictions can mislead an agent into invoking incorrect commands or supplying unintended local files and prompts, which broadens the operational scope and can trigger unintended network uploads or other side effects.

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.

Description-Behavior Mismatch

Medium
Confidence
91% confidence
Finding
The documentation says this audio search skill may upload local files to remote storage and download result assets, even though the stated purpose is only to search Pixabay Music and return URLs/metadata. That mismatch can mislead an agent into sending unintended local files or permitting unnecessary data egress to a third-party service, expanding the skill’s effective privilege and privacy risk beyond user expectations.

Description-Behavior Mismatch

Medium
Confidence
94% confidence
Finding
The usage section describes dry-run, async task, save-to-path, and generated workflow behavior that resembles a generic generation client rather than a simple audio search interface. This inconsistency can cause agents to invoke broader CLI behaviors than intended, including local file writes or asynchronous remote processing, which increases the chance of unsafe actions and user confusion about what data leaves the system.

Intent-Code Divergence

Medium
Confidence
97% confidence
Finding
The example invocation and error text refer to a required `--prompt` parameter, directly contradicting the declared `--query` search interface. Agents that follow these instructions may send arbitrary prompt content to a hosted API or fail into fallback behaviors, creating an interface-confusion vulnerability where the documented action no longer matches the advertised least-privilege purpose of the skill.

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.