Scan Report
52 /100
file-transfer-thru-local-workspace
Local file upload/download service with skill browser for OpenClaw
Skill provides legitimate file transfer functionality but exhibits undisclosed credential harvesting behavior and hardcoded path vulnerability that exposes sensitive configuration data.
Use with caution
Review and sanitize the credential extraction logic. Remove hardcoded paths. Document why openclaw.json is accessed and clarify skill download security implications.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| High | Undeclared credential file access Credential Theft | install.sh:44 |
| High | Hardcoded user path creates information disclosure Sensitive Access | src/upload-server.js:31 |
| Medium | Skill download exposes other skills' secrets Priv Escalation | src/upload-server.js:200 |
| Medium | Permissions mismatch between declared and actual Doc Mismatch | package.json:26 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE (workspace only) | READ + WRITE | ✗ Violation | install.sh:44-45 reads openclaw.json, upload-server.js:31 has hardcoded /home/ad… |
| Shell | NONE | WRITE | ✗ Violation | upload-server.js:200 uses spawn('zip') for skill packaging |
| Network | listen only | WRITE | ✗ Violation | Server binds to 0.0.0.0:15170 serving files to any client |
| Environment | NONE | READ | ✗ Violation | install.sh extracts HOME, reads openclaw.json, passes GATEWAY_AUTH_VALUE |
1 findings
Medium External URL 外部 URL
http://127.0.0.1:15170/ SKILL.md:228 File Tree
7 files · 62.1 KB · 1904 lines HTML 1f · 688L
JavaScript 1f · 511L
Markdown 1f · 389L
Shell 2f · 183L
JSON 2f · 133L
├─
▾
src
│ ├─
upload-server.js
JavaScript
│ └─
upload.html
HTML
├─
clawhub.json
JSON
├─
install.sh
Shell
├─
package.json
JSON
├─
SKILL.md
Markdown
└─
uninstall.sh
Shell
Security Positives
✓ Token authentication protects the upload/download endpoints
✓ Path traversal protection using path.basename()
✓ Independent uploads/ directory isolates user files
✓ Systemd service creation provides proper Linux integration
✓ CORS headers configured for browser security