Cross Funding Arb
Analysis
This is a coherent but high-impact autonomous crypto-futures trading bot that can use real exchange secrets, run on a schedule, and place or close trades without per-trade confirmation.
Findings (8)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
Step 4: Atomic Execution ... 两所设杠杆 ... 先下 HL 单 ... 再下 Binance 单 ... Binance 失败 → 自动回滚 HL 腿
The skill explicitly performs high-impact exchange actions: setting leverage, placing futures orders, and rolling back/closing positions.
openclaw cron add ... --cron "*/5 * * * *" ... --system-event "cd $SKILL_DIR && ... python3 cross_funding.py tick"
The deployment instructions set up recurring autonomous execution every five minutes for a financial trading workflow.
原子开仓:先 HL 后 Binance,失败自动回滚,无单腿裸露风险
The wording claims no single-leg exposure, but the described design is sequential and relies on rollback after a later leg fails, so residual execution and market risk still exists.
hyperliquid-python-sdk>=0.21.0 eth-account>=0.13.7 python-dotenv>=1.0.0 requests>=2.31.0
The dependencies are lower-bound version ranges rather than pinned exact versions or hashes.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
`HL_PRIVATE_KEY` | ✅ | Hyperliquid 私钥(主账户或 Agent Wallet) ... `BINANCE_API_KEY` | ✅ ... `BINANCE_SECRET_KEY` | ✅
The required credentials are real exchange signing/API secrets with trading authority; this is purpose-aligned but highly sensitive.
oc_path = Path.home() / ".openclaw" / "openclaw.json" ... cfg_path = Path.home() / f".{instance}" / "config.toml" ... Discord bot token: env > first available daemon configThe code falls back to reading local OpenClaw/ZeroClaw daemon configuration files to obtain Discord/Telegram bot tokens, which is broader than simply using explicitly provided environment variables.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
`hourly_pulse` | 每小时(持仓中) ... 两所余额, 费率, Spread, PnL
The notification feature can send exchange balances, rates, spreads, and PnL to Discord or Telegram channels.
def state_dir() -> Path: ... return Path(d) if d else SCRIPT_DIR ... def save_state(name: str, data: dict) ... json.dumps(data, indent=2
The bot stores persistent JSON state in the skill directory or STATE_DIR, and the strategy documentation says it saves position and balance state.
