Why this conclusion was reached
2/4 dimensions flagged Block Declared vs actual capability 5 undeclared or violating capabilities were inferred.
Block Hidden execution and egress 1 high-risk artifacts or egress signals were extracted.
Pass Attack chain and severe findings There is no explicit malicious chain in the report.
Review Dependencies and supply chain hygiene 1 dependency or supply-chain issues need attention.
What drove the risk score up
设备指纹收集 +15
收集BIOS UUID、machine-id、MAC地址并发送至外部SaaS后端,用户未明确同意
硬编码外部IP +10
config.json:4 硬编码 54.160.24.241:8771,无DNS解析,所有数据流向此IP
Pillow无版本锁定 +8
card-tools.mjs:471 调用 Pillow 压缩图片,requirements.txt 不存在,依赖未声明
读取系统硬件标识 +6
api.mjs:63-92 通过 wmic/cat 命令读取 BIOS UUID,跨平台执行系统命令
读取本地配置文件 +3
读取 ~/.openclaw/openclaw.json 获取 gateway token 和渠道凭证
Most important evidence
Medium Sensitive Access
设备指纹收集并发送至外部服务器
api.mjs的getDeviceId()收集BIOS UUID、machine-id和MAC地址,拼接后作为device_id发送至SaaS后端。跨平台执行系统命令(wmic/cat)读取硬件标识。
lib-js/api.mjs:63 文档化设备ID收集用途;考虑使用随机设备ID替代硬件指纹;获取用户知情同意
Medium Supply Chain
Pillow依赖无版本锁定
card-tools.mjs调用Python Pillow库压缩webchat图片,但无requirements.txt声明依赖,无版本锁定,存在供应链风险。
lib-js/card-tools.mjs:471 创建requirements.txt声明Pillow版本;或使用已预装的系统库
Medium Doc Mismatch
SKILL.md声明能力与实际能力严重不符
SKILL.md仅描述Discord/webchat交互和推荐流程,未声明:文件系统写入(多个JSON文件)、网络外部通信(硬编码IP)、shell命令执行(BIOS UUID读取)、环境配置读取、cron任务管理、设备ID收集。
SKILL.md:1 补充完整的安全声明章节,包括:数据存储路径、网络通信目的、第三方依赖列表
Low Sensitive Access
读取本地OpenClaw配置文件
多处代码读取~/.openclaw/openclaw.json获取gateway token、渠道凭证(Discord/飞书token)等敏感信息。
lib-js/card-tools.mjs:39 确保读取的凭证仅用于本地gateway通信,不外传
Low Persistence
后台常驻进程管理
poll-loop.mjs通过spawn启动独立后台进程,用PID文件和锁文件维持单实例,可自动热更新。
lib-js/poll-loop.mjs:1 后台进程行为已文档化于SKILL.md第六节,但应在安全声明中明确
Declared capability vs actual capability
Filesystem Block
Declared NONE
→ Inferred WRITE
SKILL.md未声明但代码读写data/目录多个JSON文件 Network Block
Declared NONE
→ Inferred WRITE
SKILL.md未声明网络通信但代码调用外部SaaS API Shell Block
Declared NONE
→ Inferred READ
api.mjs:67-78 执行wmic/cat命令读取硬件ID Environment Block
Declared NONE
→ Inferred READ
多处读取~/.openclaw/openclaw.json Skill Invoke Block
Declared NONE
→ Inferred ADMIN
通过cron工具注册和管理轮询任务,操纵会话状态
Suspicious artifacts and egress
High IP Address
54.160.24.241 config.json:4
Medium External URL
https://docs.openclaw.ai/channels/discord README.md:15
Medium External URL
https://tiktok.com/@x/video/123 SKILL.md:24
Medium External URL
http://127.0.0.1:18789/tools/invoke SKILL.md:394
Medium External URL
http://127.0.0.1:18789 SKILL.md:570
Medium External URL
https://tiktok.com/... SKILL.md:601
Medium External URL
https://tiktok.com/@creator/video/123 SKILL.md:610
Medium External URL
https://shop.tiktok.com/product/456 SKILL.md:615
Medium External URL
http://54.160.24.241:8771 config.json:4
Medium External URL
https://discord.com/api/v10/applications/@me lib-js/register-discord.mjs:73
Medium External URL
https://discord.com/api/v10/users/@me/guilds lib-js/register-discord.mjs:86
Medium External URL
https://discord.com/api/v10/applications/$ lib-js/register-discord.mjs:103
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
| pillow | * | python system | No | 无版本锁定,通过execSync调用 |
File composition
18 files · 4245 lines JavaScript 12 files · 3349 linesMarkdown 4 files · 880 linesJSON 2 files · 16 lines
Files of concern · 8
config.json JSON · 11 lines
54.160.24.241 · http://54.160.24.241:8771
lib-js/card-tools.mjs JavaScript · 1086 lines
Pillow依赖无版本锁定 · 读取本地OpenClaw配置文件
SKILL.md Markdown · 664 lines
SKILL.md声明能力与实际能力严重不符 · https://tiktok.com/@x/video/123 · http://127.0.0.1:18789/tools/invoke · http://127.0.0.1:18789 · https://tiktok.com/... · https://tiktok.com/@creator/video/123 · https://shop.tiktok.com/product/456
lib-js/trigger.mjs JavaScript · 576 lines
https://docs.openclaw.ai/channels/discord\n\n
lib-js/poll-loop.mjs JavaScript · 275 lines
后台常驻进程管理
lib-js/api.mjs JavaScript · 266 lines
设备指纹收集并发送至外部服务器
lib-js/register-discord.mjs JavaScript · 138 lines
https://discord.com/api/v10/applications/@me · https://discord.com/api/v10/users/@me/guilds · https://discord.com/api/v10/applications/$
lib-js/register-feishu.mjs JavaScript · 98 lines
https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal · https://open.feishu.cn/open-apis/bot/v3/menu/create · https://open.feishu.cn/open-apis/application/v6/applications/
Other files · handle-button.mjs · poll-events.mjs · send-persona-card.mjs · SOUL.md
18 files · 155.2 KB · 4245 lines
JavaScript 12f · 3349LMarkdown 4f · 880LJSON 2f · 16L
├─
▾
📁
lib-js
│ ├─
📜
api.mjs
JavaScript
266L · 7.7 KB
│ ├─
📜
card-tools.mjs
JavaScript
1086L · 35.8 KB
│ ├─
📜
handle-button.mjs
JavaScript
403L · 14.7 KB
│ ├─
📜
poll-events.mjs
JavaScript
231L · 8.3 KB
│ ├─
📜
poll-loop.mjs
JavaScript
275L · 9.9 KB
│ ├─
📜
register-discord.mjs
JavaScript
138L · 3.7 KB
│ ├─
📜
register-feishu.mjs
JavaScript
98L · 3.0 KB
│ ├─
📜
send-persona-card.mjs
JavaScript
102L · 3.5 KB
│ ├─
📜
send-review-1-5.mjs
JavaScript
54L · 1.9 KB
│ ├─
📜
send-review-1.mjs
JavaScript
67L · 2.3 KB
│ ├─
📜
send-review-2.mjs
JavaScript
53L · 1.8 KB
│ └─
📜
trigger.mjs
JavaScript
576L · 22.3 KB
├─
📝
README.md
Markdown
66L · 1.7 KB
├─
📝
SKILL.md
Markdown
664L · 32.5 KB
├─
📝
SOUL.md
Markdown
91L · 3.2 KB
├─
📋
_meta.json
JSON
5L · 127 B
├─
🔑
config.json
⚠
JSON
11L · 277 B
└─
📝
skill-card.md
Markdown
59L · 2.5 KB
Security positives
代码结构清晰,无混淆、无base64payload、无隐藏恶意代码
未发现反向shell、C2通信、凭证外泄到非声明地址
subprocess调用范围明确(仅Discord注册、Pillow压缩),用途合理
未访问~/.ssh、~/.aws、.env等高度敏感路径
网络通信仅限于声明的SaaS后端IP,无其他外部地址
token存储本地文件而非内存,符合持久化登录需求
Discord token仅用于本地API调用,未外传