- Never commit secrets to git.
- Keep all credentials in local
.envonly. - Treat
HL_WALLET_PRIVATE_KEYas the highest-risk secret. - Default to safe mode for first run:
MODE=dry-runKILL_SWITCH=trueHL_REAL_EXECUTION=false
.envskills/openclaw-hyperliquid-copytrade/logs/*skills/openclaw-hyperliquid-copytrade/state.jsonskills/openclaw-hyperliquid-copytrade/runtime-status.jsonskills/openclaw-hyperliquid-copytrade/services-pids.jsonskills/openclaw-hyperliquid-copytrade/tg-offset.jsonskills/openclaw-hyperliquid-copytrade/wallet-analytics.json
Run preflight scanner:
python3 skills/openclaw-hyperliquid-copytrade/scripts/security_preflight.pyIf any finding appears, fix it before publish.
- Rotate Telegram bot token immediately.
- Rotate Hyperliquid private key immediately.
- Invalidate shared bearer secrets (
LIVE_EXECUTOR_BEARER) if used. - Rewrite git history if needed before public release.
- Re-run preflight scanner and confirm clean result.