Back to skill

Security audit

租赁负债与使用权资产·承租人附注登记

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report that it fetches an external MCP catalog and sends an API credential to a configurable endpoint, behavior that does not match its stated lease-note analysis purpose.

Consider not installing until the network behavior and credential destination are independently understood and the documented offline claim is clarified. Also consider that the scanner reports a possible gap in checking registered amounts against source quotations. The assessment is partial, so it cannot establish that unreported behavior 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码没有读取年报、提取租赁数据、建立原句锚点或执行金额核算。其实际功能是下载 MCP 目录和发现远程工具,与声明的租赁附注登记功能存在实质差异。给定代码也未显示这些网络操作与租赁处理存在关联,因此不能视为已说明用途的普通实现细节。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

代码执行的是 MCP 服务目录获取和工具发现,没有读取年报、提取租赁数据、建立原句锚点或进行数值校验。所访问的资源及执行的操作与声明的租赁附注整理任务没有可见关联,因此属于实际行为与声明用途不符。代码将 API 密钥用于认证,但仅凭该片段不能认定存在密钥窃取。

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
92% confidence
Finding

The workflow sends CUE_API_KEY to $MCP_ENDPOINT without checking its scheme or destination, while directing the operator to obtain the endpoint from a remote catalog. A manipulated catalog or incorrectly configured endpoint could therefore receive the credential; the request otherwise only enumerates tools and does not transmit financial documents.

Content

Scanner excerpt · README.md (reported line 50)May include surrounding context.

配了 CUE_API_KEY 才需要这一步。先握手取目录,再按现场返回的地址确认工具:

bash
curl -sS https://cuecue.cn/api/mcp-catalog -o /tmp/mcp-catalog.json
curl -sS -X POST "$MCP_ENDPOINT" \
  -H "Authorization: Bearer $CUE_API_KEY" \
  -H 'Content-Type: application/json' \

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, file_write.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The documented zero-network guarantee contradicts the supplied network-enabled workflow.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

Line 77 explicitly states that the skill is offline and does not connect to the network. However, the supplied shell commands fetch a remote MCP catalog and send an authenticated request to an MCP endpoint; making this workflow conditional on credentials does not preserve the unconditional offline guarantee.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
92% confidence
Finding

The authenticated curl command attaches CUE_API_KEY to a variable endpoint without validating its origin or requiring HTTPS. Because the instructions defer endpoint selection to remote discovery, a substituted destination could capture the key, despite the legitimate purpose of listing retrieval tools.

Content

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

带凭据时的通道正路(先握手、按现场返回判,不写死工具清单):

bash
curl -sS https://cuecue.cn/api/mcp-catalog -o /tmp/mcp-catalog.json
curl -sS -X POST "$MCP_ENDPOINT" \
  -H "Authorization: Bearer $CUE_API_KEY" \
  -H 'Content-Type: application/json' \

Documentation claims downstream checks verify registered numbers against quotations, but neither check does so.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The docstring delegates agreement between registered numbers and quotations to LL-SPLIT and LL-ASSET, but those functions only reconcile registered amounts with each other. A report containing consistently falsified amounts and contradictory quotations can therefore pass, undermining the skill's financial-data traceability and creating false assurance about validation coverage.

Content

No source excerpt is available for this finding.