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 Why this conclusion was reached
2/4 dimensions flagged3 undeclared or violating capabilities were inferred.
3 lower-risk artifacts were extracted and still need context.
The report includes 0 attack-chain steps and 2 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
There are no structured dependency warnings.
File composition
scripts/monitor.cjs SKILL.md