Back to skill

Security audit

文本生成 Claude Sonnet 5

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a benign verdict with medium confidence: the skill documents dLazy CLI login and package use alongside its Sonnet description, but no malicious behavior was established.

Before installing, consider whether you want to use the dLazy CLI and review its authentication and package instructions. The scan inspected both listed Markdown components, but some references could not be resolved and dependency inspection was not requested, so evidence about referenced resources and package internals is incomplete.

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 code performs a login operation rather than providing the described model capabilities. Nothing in the declaration identifies authentication through dlazy as its purpose or a supporting requirement. The chunk does not reveal the login mechanism or establish credential access or exfiltration.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs a login operation rather than implementing or invoking the described model capabilities. Authentication to dlazy is not disclosed or connected to the declared purpose. The code does not reveal how authentication works or what resources it accesses.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied code performs authentication setup rather than providing or invoking the described model capabilities. No surrounding implementation establishes this command as a supporting step for those capabilities. The snippet does not establish credential exfiltration or any specific storage or network 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 performs an authentication-configuration command; it does not invoke a model or process text, image, or video inputs. Although authentication could support a larger model integration, no such integration is present in this chunk, whose sole behavior materially differs from the declared purpose. The command alone does not establish how credentials are stored or whether they are transmitted.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code is an external CLI invocation template, not an implementation or clearly identified interface for the described Sonnet model. Nothing in the chunk establishes model access or text, image, and video processing. The package's internal behavior and the unspecified command cannot be determined from this snippet, so no additional capabilities or malicious behavior are inferred.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk is a generic CLI invocation rather than an implementation or documented interface for the advertised model capabilities. Nothing shown connects @dlazy/cli to Sonnet, reasoning, code generation, or multimodal inputs. The package's internal behavior and intended command are unknown, so no more specific capabilities or malicious actions can 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`                                                               |