Back to skill

Security audit

文本生成 Kimi K3

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the scan found no AIG issues and the listed findings are considered unlikely or expected for the stated purpose, though the skillspector scan raises questions about undeclared CLI authentication and package use.

The verdict is benign with medium confidence, but the scan is partial: it did not resolve several references, including the external CLI package, so its behavior remains unverified. Before installing, consider whether you expect to configure dlazy authentication and use its CLI; the scanner did not establish how credentials are handled or verify the advertised model functions.

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
97% confidence
Finding

The supplied chunk performs a login operation rather than the described reasoning or multimodal tasks. Nothing in the description establishes this authentication step as supporting implementation. The command alone does not establish which service is accessed or whether credentials are read, stored, or transmitted.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Authentication can support an AI integration, but the supplied chunk consists entirely of credential setup for dlazy, with no demonstrated connection to Moonshot AI or implementation of the described capabilities. Its actual purpose is therefore materially different from the declared purpose. The chunk does not establish credential theft or exfiltration.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk only sets CLI authentication; it does not invoke a model or process text, images, or video. Authentication could support model access in a larger implementation, but no such implementation or connection is shown here. As supplied, the chunk has a materially different primary purpose. There is no evidence of credential exfiltration.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied chunk performs a login operation rather than the declared AI tasks. Authentication could be a supporting implementation detail if tied to the advertised service, but no such connection is established here. The command alone does not establish how credentials are handled or whether authentication succeeds.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The supplied chunk is a generic external CLI invocation, not an implementation or identifiable invocation of the described reasoning and multimodal model. Nothing shown establishes that this CLI is a supporting component of the declared functionality. The package's internal behavior and the intended command are unavailable, so no more specific capabilities or malicious behavior can be inferred.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The supplied chunk delegates execution to a third-party CLI but contains no model invocation, input handling, or other visible connection to Moonshot AI reasoning or multimodal understanding. This is a material gap between the declared purpose and the demonstrated behavior. The package's internal behavior is not supplied, so specific downstream actions or malicious intent cannot be established.

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