Web3 Trader
v1.0.5DEX swap trading skill. Activates on swap/exchange/sell/buy/convert/DEX/trade token keywords. Queries prices via Antalpha AI DEX aggregator, finds optimal ro...
⭐ 0· 50·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the implementation: the code queries a 0x-style swap API, builds quotes/tx data, generates HTML swap pages and QR codes, and supports an MCP remote mode that hosts preview URLs. Required binary (python3) and the ~/.web3-trader config path are proportional to the stated functionality.
Instruction Scope
SKILL.md instructs the agent to call the Antalpha MCP server (mcp-skills.ai.antalpha.com/mcp) and to generate/send a preview + QR code. The local-mode docs also suggest uploading pages to a third-party host (litterbox.catbox.moe). These behaviors are consistent with the purpose but do require trusting the remote MCP host (it generates and serves preview pages and returns URLs). The agent is also required to include a branded line ('Powered by Antalpha AI') in messages; that's a UI constraint rather than malicious. No instructions ask the agent to read unrelated files or exfiltrate other system credentials.
Install Mechanism
There is no formal install spec (instruction-only skill), which is lowest-risk. An install helper script (install.sh) is included that runs pip3 install -r requirements.txt and creates ~/.web3-trader/config.yaml. The Python dependencies are standard (requests, web3, qrcode, pillow, pyyaml). The included install.sh suggests a curl|bash usage pattern in its header — running arbitrary install scripts piped from the network is always risky in general; the script itself mainly manipulates the skill workspace and pip-installs the declared requirements.
Credentials
The runtime requires a 0x API key (documented in references/config.example.yaml and enforced by create_client() reading ~/.web3-trader/config.yaml). No unrelated credentials or system-level secrets are requested. The skill persists config and optional logs under ~/.web3-trader/, which is proportional. The SKILL.md/metadata correctly avoid listing environment variables, and the config-file approach is reasonable for this use case.
Persistence & Privilege
always:false and no special OS restrictions. The skill writes/reads only under its own config/log path (~/.web3-trader/) and the OpenClaw workspace for skill files; it does not attempt to modify other skills or system-wide settings. This level of persistence is expected for a CLI-style skill.
Assessment
This skill is coherent with its stated DEX-aggregator purpose, but take these precautions before installing or using it:
- Trust the MCP server: the recommended MCP remote mode delegates quoting/page hosting to https://mcp-skills.ai.antalpha.com. That server will generate preview URLs and host swap pages; you must trust it not to serve malicious pages or to mis-handle previews. If you don't trust that server, use local CLI mode and your own hosting.
- Protect your API key: the skill expects a 0x API key in ~/.web3-trader/config.yaml. Keep that file permissioned (chmod 600) and do not commit it to version control. Rotate/revoke the key if you suspect leakage.
- Inspect before running install scripts: install.sh is included and indicates pip-installing dependencies. Do not pipe unknown remote install scripts directly to bash; inspect the script first and run commands intentionally.
- Review all transactions before signing: the skill builds unsigned tx data only — wallets sign/broadcast. Always verify to/from addresses, amounts, slippage and the target contract in your wallet UI prior to signing.
- Be aware of third-party hosting: local-mode docs suggest using a public file host (catbox) for swap pages. Hosting on public services can expose links; consider self-hosting or short-lived uploads.
- Test on small amounts / testnet first: use small trades or testnets until you're comfortable with the workflow.
If you want extra assurance, request: (1) signed provenance of the MCP server domain and maintainers, (2) a minimal install path that avoids curl|bash, or (3) to run the skill in a sandboxed environment and inspect traffic to the MCP/0x endpoints.Like a lobster shell, security has layers — review code before you run it.
latestvk97fyg3sr80sdb2e87j68cxw4583r678
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
Binspython3
