Back to skill

Security audit

Web 开发 · CloudBase Web Development

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report a token guard that accepts any nonempty token, backend capabilities outside its stated frontend purpose, and incomplete analysis of one file.

Review the skill carefully before installing. Consider whether its backend examples fit your needs, avoid using the token guard as real authentication, and use an isolated test backend for any validation that creates data. The scan was partial, so it does not establish that the unanalyzed portion is safe.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied code's primary function is to start a backend service, not implement or validate a Web frontend. Although CORS and CloudBase hosting can support frontend integration, this chunk provides backend application hosting rather than frontend-side integration. No frontend behavior is shown.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The supplied code's primary function is server-side authentication gating, which is materially different from the declared frontend-focused purpose. Although it imports and injects CloudBase, it never uses that dependency. The comments describe intended session verification, but the implementation merely accepts a nonempty token and returns true; the comments do not establish actual verification behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The supplied code's primary purpose is backend service wiring, not frontend implementation or CloudBase Web SDK integration. It contains no frontend components, browser behavior, or frontend build and validation logic. The custom credential file and database access are commented out, so they are not active capabilities. No malicious behavior is evident, but the backend-specific purpose falls outside the declared frontend scope.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 47)May include surrounding context.

md
- General React / Vue / Vite guidance -> `frameworks.md`

The documented token-verification guard accepts any nonempty token without verifying it.

High
Category
Excessive Agency
Confidence
100% confidence
Finding

The guard returns true for any nonempty authorization value and assigns it to request.user without performing authentication. An attacker can submit an arbitrary token to access routes protected by this guard; comments suggesting future verification do not prevent this fail-open behavior, especially when agents copy the example into deployed applications.

Content

No source excerpt is available for this finding.

Database validation includes creating a record without a warning to use an isolated test backend.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The validation example includes creating a database record without requiring an isolated environment or authorization for persistent writes. A local frontend can still connect to a production backend, so following this workflow could contaminate live data or trigger downstream automation; the separate warning about production credentials does not fully address this risk.

Content

No source excerpt is available for this finding.

The fallback workflow requires a Chinese-language user-facing prompt without offering a language choice.

Low
Category
Output Handling
Confidence
94% confidence
Finding

The instruction to give the user “this prompt” mandates a Chinese-language setup message regardless of the user's preferred language. The skill provides neither language opt-in nor a documented reason this setup prompt must be in Chinese.

Content

No source excerpt is available for this finding.