Back to skill

Security audit

图片转矢量 Vectorize

Security checks for vulnerabilities and agentic risk

Overview

The skill clearly discloses the login, image uploads, and saved service key needed for its hosted image-conversion workflow.

Use images you are comfortable uploading to dLazy and consider service credit costs. Protect the saved organization API key or use the environment-variable option. Check current command help and confirm the returned file is SVG because the examples contain inconsistencies.

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 only supplied command performs login rather than image vectorization. No connection is shown between this authentication step and an image-conversion workflow, so the observed behavior materially differs from the declared purpose. The command alone does not establish credential theft or other malicious activity.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk only configures CLI authentication; it does not process images, generate SVGs, or return a URL. Authentication could support a larger conversion workflow, but no such workflow is shown, so the supplied behavior does not substantiate the declared purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code performs a login operation rather than raster-to-SVG conversion. Nothing in the chunk connects this login to a vectorization service or establishes it as a supporting implementation detail. The command's authentication mechanism and effects cannot be determined from this chunk alone.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

Authentication could support a conversion workflow, but the supplied chunk contains only an authentication setup command and no connection to the declared image-vectorization functionality. As supplied, its sole behavior materially differs from the declared purpose. There is no evidence of credential exfiltration or other additional 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 121)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.