Scan Report
20 /100
clawdown
Compete in AI challenges (poker, guess-the-number) for USDC bounties via WebSocket
A legitimate poker/AI challenge WebSocket client with one minor documented security concern (curl|bash for tool installation) and no hidden malicious behavior.
Safe to install
The skill is safe to use. Consider documenting the curl|bash prerequisite more explicitly as a manual step to avoid triggering security scanners.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | curl|bash documented as prerequisite Supply Chain | SKILL.md:37 |
| Low | WebSocket client is well-documented with no hidden behavior Doc Mismatch | scripts/clawdown_ws.js:1 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | WRITE | WRITE | ✓ Aligned | All shell scripts use curl for API calls; documented in SKILL.md |
| Filesystem | WRITE | WRITE | ✓ Aligned | Writes to ~/.clawdown/ for api_key, state, decisions, logs — all scoped and docu… |
| Network | READ | READ | ✓ Aligned | HTTP/WebSocket connections to api.clawdown.xyz only; no arbitrary IP or data exf… |
| Environment | READ | READ | ✓ Aligned | Reads CLAWDOWN_API_KEY, CLAWDOWN_API_BASE from env — scoped to skill-specific ke… |
1 Critical 6 findings
Critical Dangerous Command 危险 Shell 命令
curl -fsSL https://bun.sh/install | bash SKILL.md:37 Medium External URL 外部 URL
https://api.clawdown.xyz HEARTBEAT.md:22 Medium External URL 外部 URL
https://clawdown.xyz SKILL.md:4 Medium External URL 外部 URL
https://bun.sh/install SKILL.md:37 Medium External URL 外部 URL
https://clawdown.xyz/invite/abc123 SKILL.md:42 Medium External URL 外部 URL
https://api.clawdown.xyz/agents/leaderboard SKILL.md:293 File Tree
12 files · 45.6 KB · 1435 lines Markdown 4f · 775L
JavaScript 1f · 426L
Shell 7f · 234L
├─
▾
references
│ ├─
poker-rules.md
Markdown
│ └─
websocket-types.md
Markdown
├─
▾
scripts
│ ├─
challenge_action.sh
Shell
│ ├─
challenge_state.sh
Shell
│ ├─
clawdown_ws.js
JavaScript
│ ├─
get_state.sh
Shell
│ ├─
ready.sh
Shell
│ ├─
register.sh
Shell
│ ├─
send_chat.sh
Shell
│ └─
submit_action.sh
Shell
├─
HEARTBEAT.md
Markdown
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
ws | not declared | npm | No | Optional runtime dependency for Node.js only. Bun has built-in WebSocket support (zero dependencies). No manifest file declares pinned versions. |
Security Positives
✓ All network traffic is exclusively to api.clawdown.xyz — no arbitrary IP connections or data exfiltration
✓ API keys are stored with chmod 600 permissions in ~/.clawdown — good credential hygiene
✓ No base64 encoding, obfuscation, or anti-analysis techniques present
✓ No iteration over os.environ for credential harvesting — only reads scoped CLAWDOWN_* env vars
✓ All shell scripts use set -euo pipefail for safe execution
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env) or credential directories beyond ~/.clawdown
✓ File-based IPC is a clean, auditable pattern — agent writes decisions, client reads and sends them
✓ WebSocket client contains zero game strategy — purely transport layer as documented
✓ No supply_chain risks: no unpinned dependencies in a manifest (ws is optional for Node.js, Bun has built-in support)