Back to skill

Security audit

音频生成 Audio Generate

Security checks for vulnerabilities and agentic risk

Overview

This audio-generation skill uses a disclosed cloud service, with ordinary installation, upload, cost, and API-key considerations.

Prompts and selected media are sent to dLazy, and generation can consume paid credits. Review its privacy terms, upload only intended files, and protect the saved API key. The pinned CLI is an external dependency that executes locally.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Only the qwen-tts step directly matches the declared audio/TTS purpose. The code also independently generates images, animates an image into video, and batch-upscales images; these are substantial undeclared capabilities rather than supporting audio implementation details. The supplied chunk uses fixed models and prompts and does not demonstrate automatic audio-model selection.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Although one pipeline includes TTS, the chunk also demonstrates independent visual-generation and image-processing workflows outside the declared audio/TTS purpose. These are substantive additional capabilities, not merely supporting implementation details. The claimed automatic selection of an audio/TTS model is not implemented in the supplied chunk.

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 139)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`                                                               |

The voice-search instructions require an English keyword without offering a language choice or documenting an English-only service constraint.

Low
Category
Output Handling
Confidence
90% confidence
Finding

The instruction “只给一个英文描述词检索” explicitly requires using a single English descriptor for voice searches. The explanation justifies limiting keyword count, but does not justify requiring English or offer user opt-in.

Content

No source excerpt is available for this finding.

Voice-search instructions mandate English descriptors without user opt-in or a documented language requirement.

Low
Category
Output Handling
Confidence
88% confidence
Finding

The instruction to search with “ONE short English descriptor” imposes a specific language on voice-search queries without offering a choice. Although the text explains why queries should be short, it does not explain why they must be in English.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.