Back to skill

Security audit

音频素材搜索 Search Audio

Security checks for vulnerabilities and agentic risk

Overview

The skill provides music search through dLazy with clearly disclosed login, local credential storage, and installation requirements.

Searches use dLazy and may consume credits. Login saves an organization API key locally; an environment-variable alternative is available. Review the pinned CLI before installing and check command help because the example conflicts with the documented query option.

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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code only runs an authentication-setting command. It contains no search request, keyword handling, or track-result processing. Although authentication can support a search tool, this chunk provides no connection between the dlazy credential configuration and the declared Pixabay Music functionality.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs authentication configuration, not the declared audio-search function. Although authentication can support a search implementation, this chunk contains only an authentication-setting command and no demonstrated connection to Pixabay Music or search functionality.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied code only invokes dlazy login; it contains no Pixabay search, keyword processing, or track metadata handling. Nothing in the supplied chunk establishes this login operation as a supporting step for the declared music-search purpose. The command's underlying implementation and any credential handling are not shown.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied command performs a login operation, not the declared audio-search function. No connection to Pixabay, keyword handling, or track-result output is shown. The command's underlying authentication behavior cannot be determined from this snippet.

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 123)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.