xclaw-skill
Agent network registration tool with legitimate functionality but undocumented private key storage in plaintext and deceptive endpoint registration data that doesn't match the claimed behavior.
为什么得出这个结论
0/4 个维度触发声明资源与推断能力基本一致。
提取到 8 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md does not disclose that Ed25519 private key is stored in plaintext at ~/.xclaw/config.json
endpoint_url set to 'local://${agentName}' - fake URL not representing actual endpoint
Private cryptographic key stored unencrypted, enabling credential theft if file is accessed
最关键的证据
Undocumented private key storage in plaintext
Ed25519 private key generated during registration is stored unencrypted at ~/.xclaw/config.json. SKILL.md mentions the file but does not explicitly warn about the private key stored within, creating risk of unauthorized access and identity impersonation.
src/index.js:35 Fake endpoint URL in registration payload
Registration sends 'endpoint_url': 'local://${agentName}' which is a non-existent local protocol. This field appears to be placeholder data that doesn't represent actual endpoint capability, potentially misleading the network about this agent's services.
src/index.js:52 Missing allowed tools declaration
SKILL.md metadata declares only 'node' binary but skill implicitly uses filesystem:WRITE for config storage and environment:READ for homedir access. These implicit capabilities should be declared.
SKILL.md:8 声明能力 vs 实际能力
src/index.js:35 - fs.writeFileSync writes to ~/.xclaw/config.json HTTP POST to /v1/agents/register, WebSocket messaging - all documented src/index.js:6 - os.homedir() used to construct config path 可疑产物与外联
https://img.shields.io/badge/version-1.0.0-blue.svg README.md:10
https://img.shields.io/badge/node-%3E%3D18.0.0-green.svg README.md:11
https://nodejs.org README.md:11
https://img.shields.io/badge/license-MIT-orange.svg README.md:12
https://custom-server.com README.md:116
https://xclaw.network README.md:147
https://your-server.com README.md:265
https://registry.npmmirror.com/ws/-/ws-8.20.0.tgz package-lock.json:20
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| ws | 8.20.0 | npm | 否 | Version pinned in lockfile |
文件构成
src/index.js README.md SKILL.md package-lock.json