Back to skill

Security audit

图片素材搜索 Search Image

Security checks for vulnerabilities and agentic risk

Overview

This image-search skill clearly discloses its dLazy service integration, and its bundled files show no harmful behavior.

Expect a dLazy account, local key storage, and possible service charges. Share only intended search inputs or files, and keep API keys out of chat. The external CLI/API were not fully audited. Check command help because the example and listed search option differ.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command has a materially different apparent purpose from the declared image-search functionality. Nothing in the code connects this login operation to Pixabay or establishes it as a supporting implementation detail. The CLI's underlying authentication behavior 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
98% confidence
Finding

The supplied code contains no image search, Pixabay API request, or image metadata handling. Its only visible action is a login command for a different tool, with no demonstrated connection to the declared purpose. The command's internal authentication behavior is not shown.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The supplied chunk only sets dlazy authentication. It contains no Pixabay API request, keyword search, or image-result handling, and establishes no connection between dlazy authentication and the declared functionality. There is no evidence in this chunk of credential exfiltration or other additional behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied code performs only an authentication-setting operation. It contains no Pixabay request, keyword search, or image-result handling. Authentication could support an image-search implementation, but this chunk provides no evidence linking the dlazy command to that purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied chunk exposes a generic package-execution command rather than a Pixabay image-search operation. Nothing shown connects that CLI to keyword searches, image URLs, or metadata retrieval. The package's implementation is unavailable, so its downstream behavior cannot be established; the mismatch assessment is limited to the supplied command.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
82% confidence
Finding

The supplied chunk delegates execution to @dlazy/cli rather than showing a Pixabay query or image-result processing. Nothing establishes that this CLI invocation implements the declared image-search purpose. The package implementation and command are unavailable, so its downstream behavior cannot be determined from this 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 125)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`                                                               |