Back to skill

Security audit

工商数据查询 · 企业基本信息、股东、分支、投资与变更

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign with medium confidence: the scan found scope and registration-consent concerns, while its other reported signals were not treated as unexpected for this skill’s purpose.

The verdict is benign, but the evidence is incomplete: Skillspector marked its analysis partial because several local references could not be matched to bundled files. Before installing, consider whether you need the broader paid queries and review the registration and data-submission behavior, especially the consent step.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (6)

The skill directs paid bidding-history and business-partner queries beyond its declared company-registry scope.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest describes ten registry-related capabilities and routes broader company intelligence to a separate skill. However, these instructions also direct calls to get_company_profile, query_bids_advanced, and get_company_partners to retrieve bidding activity and customer/supplier relationships. These are separate capabilities rather than necessary implementation details of registry queries; requiring user requests and cost disclosure limits unexpected execution but does not resolve the manifest mismatch.

Content

No source excerpt is available for this finding.

The API guide expands the registry skill into paid bidding, contact, and commercial-relationship queries not declared in the manifest.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest scopes this skill to ten company-registration, qualification, certification, and rating capabilities. The optional bidding supplement additionally authorizes company profiles, bidding contacts, award records, and contract customers/suppliers, with separate charges; making these calls optional does not bring them within the declared registry scope.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/auto-register.md (reported line 136)May include surrounding context.

md
> ### ⚠️ 请求体必须用 JSON 序列化函数生成,不要手拼字符串
>
> 用 `json.dumps(payload)` / `requests.post(url, json=payload)` / `JSON.stringify(payload)`,
> 或 `curl -d @file`;**不要用字符串拼接,也不要用 Python 的 `str(dict)`**
> (后者产出单引号,服务端会报 `Expecting property name enclosed in double quotes`)。
>

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/auto-register.md (reported line 137)May include surrounding context.

md
> ### ⚠️ 请求体必须用 JSON 序列化函数生成,不要手拼字符串
>
> 用 `json.dumps(payload)` / `requests.post(url, json=payload)` / `JSON.stringify(payload)`,
> 或 `curl -d @file`;**不要用字符串拼接,也不要用 Python 的 `str(dict)`**
> (后者产出单引号,服务端会报 `Expecting property name enclosed in double quotes`)。
>
> 历史教训:曾有版本采集 `home_path`,Windows 的 `C:\Users\alice` 直接拼进 JSON 字符串时

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · references/auto-register.md (reported line 201)May include surrounding context.

text

注意事项:
- 目录不存在时先 `mkdir -p ~/.zlbx`
- 文件已存在时**合并而非覆盖**(保留用户可能的其他配置)
- `source: "auto"` 字段必须写入,**这是后续判断「是否输出自动登录链接」的关键依据**

The reference registration flow collects device features and submits registration without checking user consent.

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

The manifest requires user consent before first-time automatic registration, and lines L036–L042 explicitly prohibit device collection or registration requests before consent. However, get_api_key() proceeds directly from finding no configured key to collect_device_features() and the registration POST, without requesting or checking consent.

Content

No source excerpt is available for this finding.