Skill Trust Decision

xclawskill

SKILL.md 描述了网络通信、私钥存储和守护进程能力,但实际代码脚本完全缺失,形成文档-实现严重不符

Install decision first Source: ClawHub Scanned: 17 days ago
Files 2
Artifacts 2
Violations 0
Findings 5
Most direct threat evidence
01
用户通过 SKILL.md 理解该 skill 为合法 XClaw 网络代理工具 Entry · SKILL.md
02
Skill 写入 Ed25519 私钥到 /tmp/xclaw_state.json(全局可读) Escalation · SKILL.md
03
外部网络请求可能泄露 API 密钥和私钥签名到 xclaw.network(因无代码无法确认) Impact · SKILL.md

Why this conclusion was reached

1/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Review
Hidden execution and egress

2 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 3 attack-chain steps and 1 severe findings.

Review
Dependencies and supply chain hygiene

2 dependency or supply-chain issues need attention.

Attack Chain

01
用户通过 SKILL.md 理解该 skill 为合法 XClaw 网络代理工具

Entry · SKILL.md:1

02
Skill 写入 Ed25519 私钥到 /tmp/xclaw_state.json(全局可读)

Escalation · SKILL.md:69

03
外部网络请求可能泄露 API 密钥和私钥签名到 xclaw.network(因无代码无法确认)

Impact · SKILL.md:51

What drove the risk score up

文档-行为不符 +20

SKILL.md 声明调用 scripts/xclaw_skill.py,但 scripts/ 目录完全不存在

外部网络通信 +15

文档声明与 https://xclaw.network 通信,未提供代码验证通信内容

私钥存储在 /tmp +10

文档明确说明 Ed25519 私钥存储在 /tmp/xclaw_state.json,该路径全局可读

守护进程模式 +10

文档描述 daemon 模式持续运行,存在持久化风险

Most important evidence

High Doc Mismatch

文档引用不存在的核心脚本

SKILL.md 多次引用 scripts/xclaw_skill.py 作为执行入口,但整个 scripts/ 目录不存在。无法验证实际功能是否与文档描述一致。

SKILL.md:3
要求提供完整的脚本代码进行审计
Medium Credential Theft

私钥存储在全局可读路径

文档明确说明 Ed25519 私钥将写入 /tmp/xclaw_state.json。在多用户系统上该文件全局可读,私钥可能被其他用户窃取。

SKILL.md:84
使用更安全的存储位置或提供加密选项
Medium Data Exfil

外部网络通信无法验证

文档声明与 https://xclaw.network 通信,但没有代码验证传输内容。API 密钥和私钥签名可能发送到外部服务器。

SKILL.md:51
提供代码并验证无凭证外传行为
Medium Supply Chain

缺少依赖声明文件

SKILL.md 引用 requirements.txt 但该文件不存在,无法审计第三方依赖安全性。

SKILL.md:15
提供完整的 requirements.txt
Low Persistence

守护进程模式存在持久化风险

文档描述 daemon 模式可后台持续运行心跳,存在进程持久化风险。

SKILL.md:31
确认 daemon 行为符合用户预期,提供停止机制文档

Declared capability vs actual capability

Network Pass
Declared READ
Inferred READ
SKILL.md:51 — 与 xclaw.network API 通信
Filesystem Pass
Declared WRITE
Inferred WRITE
SKILL.md:69 — 读写 /tmp/xclaw_state.json
Shell Pass
Declared NONE
Inferred UNKNOWN
SKILL.md 声明 python3 脚本调用,但脚本不存在
Environment Pass
Declared NONE
Inferred NONE
SKILL.md 提到 XCLAW_BASE_URL 环境变量配置,但无代码验证

Suspicious artifacts and egress

Medium External URL
https://xclaw.network

SKILL.md:51

Medium External URL
https://xclaw.example.com

SKILL.md:54

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
cryptography * pip No 文档提及但无 requirements.txt,无法验证实际版本
websocket-client * pip No 文档提及但无 requirements.txt,无法验证实际版本

File composition

2 files · 276 lines
Markdown 2 files · 276 lines
Files of concern · 1
SKILL.md Markdown · 171 lines
文档引用不存在的核心脚本 · 私钥存储在全局可读路径 · 外部网络通信无法验证 · 缺少依赖声明文件 · 守护进程模式存在持久化风险 · https://xclaw.network · https://xclaw.example.com
Other files · api_endpoints.md

Security positives

文档结构完整,命令映射清晰
API 端点有详细参考文档 (references/api_endpoints.md)
明确说明了状态文件包含私钥(诚实披露)