Back to skill

Security audit

文生图 Seedream 5.0 Lite

Security checks for vulnerabilities and agentic risk

Overview

The skill’s image-generation commands, cloud uploads, and saved login are disclosed and fit its stated purpose.

Review the third-party CLI before installing. Prompts and selected images are uploaded to dLazy, generation can consume paid credits, and login saves a revocable API key locally. Invoke it for explicit image-generation requests.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The supplied chunk only invokes a login command; it contains no image-generation request, image input handling, or Seedream invocation. Authentication could support image generation, but this chunk provides no evidence connecting the login to the declared service or implementing the advertised functionality. The command alone does not establish credential theft or other malicious behavior.

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 131)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 standalone trigger “豆包” is ambiguous and is not limited to image-generation requests.

Low
Category
Trigger Abuse
Confidence
90% confidence
Finding

“豆包” can refer to the general-purpose Doubao assistant or to food, rather than specifically to Seedream image generation. Listing it as an independent trigger without requiring image-generation intent or providing exclusions could activate this skill for unrelated requests.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.