Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Cross Funding Arb

v2.8.0

跨交易所资金费率套利策略。在费率低的交易所做多永续、费率高的交易所做空永续,Delta-neutral 赚取 funding spread。支持 Hyperliquid + Binance,自动扫描机会、稳定性验证、原子开仓、健康检查、自动切仓。适用于资金费率套利、Delta 中性、跨所套利场景。

0· 169·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
high confidence
Purpose & Capability
The declared purpose (cross-exchange funding-rate arbitrage) matches the required binaries (python3) and the main required env vars (HL_PRIVATE_KEY, BINANCE_API_KEY, BINANCE_SECRET_KEY). Dependencies (Hyperliquid SDK, eth-account, requests) are appropriate for signing and interacting with exchanges. However, the code also looks for daemon configs in the user's home (OpenClaw JSON and various .{zeroclaw}/config.toml files) to obtain notification tokens — this access is not declared in the skill metadata or requires.config_paths and is outside the stated core purpose.
!
Instruction Scope
SKILL.md instructs running the bundled Python script with expected env vars. The actual runtime code reads arbitrary user config files (~/.openclaw/openclaw.json and several ~/.{zeroclaw}/config.toml paths) to extract Discord/Telegram bot tokens and channel IDs if env vars are missing. That behavior is not documented in requires/config paths and expands the agent's read scope to other skills'/global daemon configs, which can expose credentials and is disproportionate to the stated trading task.
Install Mechanism
No install spec is provided (instruction-only with bundled Python file). README suggests pip install -r references/requirements.txt which is proportionate. There are no downloads from arbitrary URLs in the install; dependencies are standard Python packages.
!
Credentials
Required env vars (HL_PRIVATE_KEY, BINANCE_API_KEY, BINANCE_SECRET_KEY) are appropriate for trading. But the code will also search for and use Discord/Telegram tokens from other local daemon configs if the corresponding env vars are not set, effectively accessing additional secrets without explicit requirement or user consent. The skill's metadata lists optional notification env vars, but it fails to declare that it will read other files in the user's home to find them.
Persistence & Privilege
The skill does not request always:true and does not modify other skills' configurations. It writes state files to a state directory (configurable via STATE_DIR) and uses a file lock to prevent concurrent runs — expected for a cron-driven bot. The main concern is read access to other daemon config files (potentially containing credentials), not persistence or elevated platform privileges.
What to consider before installing
This skill appears to implement the advertised HL+Binance funding-rate arbitrage logic and needs your Hyperliquid private key plus Binance API key/secret — which is expected for a trading bot. However, before installing or running it, consider the following: - Credential exposure: The script will try to read ~/.openclaw/openclaw.json and several ~/.{zeroclaw}/config.toml files to find Discord/Telegram bot tokens if you did not set DISCORD_BOT_TOKEN / TELEGRAM_BOT_TOKEN in the environment. Those files can contain other channels/tokens for other tools; the skill does not declare or explain this fallback behavior. If you store tokens in those files, the skill may use them. - Minimize risk: Use an Agent Wallet or a Hyperliquid key with minimal permissions rather than your main hot wallet. For Binance, prefer an API key with only trading permissions needed and restrict IPs if possible. Do not supply credentials with withdrawal/transfer rights. - Opt-out the fallback: To avoid the skill reading daemon configs, set DISCORD_BOT_TOKEN, DISCORD_CHANNEL_ID, TELEGRAM_BOT_TOKEN, and TELEGRAM_CHAT_ID explicitly in the skill's .env, or run the skill in a dedicated account/user without those global daemon config files. - Audit & test: Review references/cross_funding.py yourself (it is included) to confirm notification endpoints and any other network calls. Test in testnet modes (HL_TESTNET, BINANCE_TESTNET) and run with very small budgets or simulated accounts first. - Operational safety: The README suggests pip installing dependencies; run that in an isolated virtualenv. Verify that state files are stored where you expect (STATE_DIR) and that logging/notifications go only to destinations you control. If you need help identifying what tokens/configs you have under ~/.openclaw or ~/.zeroclaw, or want guidance to run this safely in a sandbox, I can help with exact commands and checks.

Like a lobster shell, security has layers — review code before you run it.

latestvk97chy0f59ckv1zxr4hnptar2183z6mf

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

OSmacOS · Linux
Binspython3
EnvHL_PRIVATE_KEY, BINANCE_API_KEY, BINANCE_SECRET_KEY
Primary envHL_PRIVATE_KEY

Comments