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.
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
8 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
1 dependency or supply-chain issues need attention.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| ws | 8.20.0 | npm | No | Version pinned in lockfile |
File composition
src/index.js README.md SKILL.md package-lock.json