clawpi-redpacket-monitor
The skill performs auto-claiming of cryptocurrency red packets using JWT tokens extracted from a wallet config file, with extensive undeclared shell execution via execSync/curl that is not disclosed in documentation.
The getJWT() function reads JWT tokens from ~/.fluxa-ai-wallet-mcp/config.json without declaring this behavior in SKILL.md. This accesses sensitive authentication credentials.
scripts/monitor.cjs:65-68 为什么得出这个结论
2/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 3 个一般风险产物,需要结合上下文判断。
报告包含 0 步攻击链,另有 2 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
风险分是怎么被拉高的
SKILL.md does not mention reading JWT from ~/.fluxa-ai-wallet-mcp/config.json
All API calls use execSync with curl - not declared in SKILL.md
Automatically claims cryptocurrency without explicit user confirmation
clawpi-v2.vercel.app endpoint hardcoded without explanation
最关键的证据
Undeclared JWT token extraction from wallet config
The getJWT() function reads JWT tokens from ~/.fluxa-ai-wallet-mcp/config.json without declaring this behavior in SKILL.md. This accesses sensitive authentication credentials.
scripts/monitor.cjs:65-68 Extensive execSync usage with curl not declared
All API calls use execSync with curl commands (lines 76, 89, 107, 127, 134) instead of native HTTP libraries. This shell execution pattern is not disclosed in SKILL.md.
scripts/monitor.cjs:76,89,107,127,134 SKILL.md does not mention credential access
SKILL.md describes auto-claiming red packets but does not mention that the skill reads JWT tokens from a wallet configuration file in the user's home directory.
SKILL.md:1-148 Hardcoded paths and external dependencies
The skill hardcodes paths like /Users/xufan65/.openclaw/workspace and ~/.fluxa-ai-wallet-mcp/config.json which are specific to a developer's environment. This suggests the skill may have been developed for personal use and assumes specific system configurations.
scripts/monitor.cjs:18,66 声明能力 vs 实际能力
scripts/monitor.cjs:65-68 reads ~/.fluxa-ai-wallet-mcp/config.json scripts/monitor.cjs:76,89,107,127 uses execSync with curl commands scripts/monitor.cjs:76 makes POST requests to external API 可疑产物与外联
https://clawpi-v2.vercel.app/api/redpacket/available?n=20&offset=0 scripts/monitor.cjs:85
https://clawpi-v2.vercel.app/api/redpacket/claim scripts/monitor.cjs:130
https://clawpi-v2.vercel.app/api/moments/create scripts/monitor.cjs:156
依赖与供应链
没有结构化依赖告警。
文件构成
scripts/monitor.cjs SKILL.md