file-transfer-thru-local-workspace
文件传输技能存在网络暴露和认证绕过风险,服务监听在0.0.0.0且支持无认证模式,允许未授权文件操作和技能包下载
Why this conclusion was reached
2/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 lower-risk artifacts were extracted and still need context.
The report includes 3 attack-chain steps and 0 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · src/upload-server.js:510
Escalation · src/upload-server.js:250
Impact · src/upload-server.js:300
What drove the risk score up
upload-server.js:510 在0.0.0.0:15170监听,任何网络可达的客户端都可访问
install.sh和upload-server.js允许AUTH_VALUE为空,导致完全无认证访问
可访问workspace下所有技能目录,存在配置/密钥泄露风险
Most important evidence
服务暴露在公网监听
upload-server.js在0.0.0.0:15170监听端口,任何可网络可达的客户端均可访问上传/下载/删除API,存在未授权访问风险
src/upload-server.js:510 认证机制与文档不符
文档描述'智能认证适配',但代码允许AUTH_VALUE为空导致完全无认证,install.sh:46-48明确处理无认证场景
install.sh:46 技能包浏览可访问所有技能目录
getSkillsList()函数读取workspace下所有技能目录,可打包下载任意技能内容,可能导致其他技能的clawhub.json等敏感配置泄露
src/upload-server.js:68 使用grep解析JSON配置文件
install.sh使用grep/cut解析JSON而非jq等专用工具,可能因格式差异导致解析错误或意外值提取
install.sh:31 Declared capability vs actual capability
package.json permissions 声明与实际一致 upload-server.js:510 监听0.0.0.0而非localhost,暴露风险超出预期 install.sh:60使用nohup/env启动后台进程,uninstall.sh:23使用pkill Suspicious artifacts and egress
http://127.0.0.1:15170/ SKILL.md:228
Dependencies and supply chain
There are no structured dependency warnings.
File composition
src/upload-server.js SKILL.md install.sh