Back to skill

Security audit

矢量图生成 Recraft V4 Vector

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the scans found no issues in the completed AIG scan, while Skillspector flagged login and authentication behavior that does not clearly match the skill’s stated graphics-generation purpose.

The verdict is benign, but confidence is medium and the evidence is incomplete: Skillspector could not resolve several local references, and its findings raise questions about how login supports the advertised graphics task. Review the skill’s authentication and install details before proceeding, and only provide an API key if you trust the service and understand how it is used.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code only invokes a login command and does not implement the declared graphics-generation purpose. Authentication could support a larger service integration, but the provided chunk establishes no such connection. There is no evidence here of credential theft or other malicious behavior.

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 a login command and contains no text-to-vector or SVG-generation behavior. Although authentication could support a larger service workflow, no such connection is established in this chunk, whose sole operation is materially different from the declared purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The supplied chunk only configures CLI authentication; it does not accept a design prompt, invoke a vector-generation model, or produce SVG output. Authentication can be a supporting implementation detail, but the supplied code shows no connection to the declared generation workflow. There is no evidence of credential theft or exfiltration.

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