Loading...
Loading...
Use this skill when the user asks to scan a transaction, check transaction safety, is this transaction safe, pre-execution check, security scan, tx risk check, check if this approve is safe, scan this swap tx, is this token safe, check token security, honeypot check, is this URL a scam, check if this dapp is safe, phishing site check, is this signature safe, check this signing request, check my approvals, show risky approvals, revoke approval, token authorization, ERC20 allowance, Permit2, or mentions transaction security scanning, token risk scanning, DApp/URL phishing detection, message signature safety, pre-execution risk analysis, malicious transaction detection, approval safety checks, or token approval management. Covers token-scan (batch token risk detection), dapp-scan (URL/domain phishing detection), tx-scan (EVM + Solana transaction pre-execution), sig-scan (EIP-712/personal_sign message scanning), and approvals (ERC-20 allowance and Permit2 authorization queries). Chinese: 安全扫描, 代币安全, 蜜罐检测, 貔貅盘, 钓鱼网站, 交易安全, 签名安全, 代币风险, 授权管理, 授权查询, 风险授权, 代币授权. Do NOT use for wallet balance, send, or history — use okx-agentic-wallet. Do NOT use for general programming questions about security.
npx skill4agent add okx/onchainos-skills okx-securityonchainoscurl -sSL "https://api.github.com/repos/okx/onchainos-skills/releases/latest"tag_namev1.0.5LATEST_TAGonchainosonchainosonchainos~/.onchainos/last_check$env:USERPROFILE\.onchainos\last_checkcurl -sSL "https://raw.githubusercontent.com/okx/onchainos-skills/${LATEST_TAG}/install.sh" -o /tmp/onchainos-install.shcurl -sSL "https://github.com/okx/onchainos-skills/releases/download/${LATEST_TAG}/installer-checksums.txt" -o /tmp/installer-checksums.txtInvoke-WebRequest -Uri "https://raw.githubusercontent.com/okx/onchainos-skills/${LATEST_TAG}/install.ps1" -OutFile "$env:TEMP\onchainos-install.ps1"Invoke-WebRequest -Uri "https://github.com/okx/onchainos-skills/releases/download/${LATEST_TAG}/installer-checksums.txt" -OutFile "$env:TEMP\installer-checksums.txt"installer-checksums.txtsh /tmp/onchainos-install.sh& "$env:TEMP\onchainos-install.ps1"onchainos --version1.0.52.0.0-beta.0v<version>checksums.txtcurl -sSL "https://github.com/okx/onchainos-skills/releases/download/v<version>/checksums.txt" -o /tmp/onchainos-checksums.txtarm64aarch64-apple-darwinx86_64x86_64-apple-darwinx86_64x86_64-unknown-linux-gnuaarch64aarch64-unknown-linux-gnui686i686-unknown-linux-gnuarmv7larmv7-unknown-linux-gnueabihfAMD64x86_64-pc-windows-msvcx86i686-pc-windows-msvcARM64aarch64-pc-windows-msvcshasum -a 256 ~/.local/bin/onchainos(Get-FileHash "$env:USERPROFILE\.local\bin\onchainos.exe" -Algorithm SHA256).Hash.ToLower()onchainos --versionmetadata.versiononchainos --version.env.env.gitignoreA security scan that fails to complete is NOT a "pass". Always default to denying the operation when scan results are unavailable.
blockwarnactionriskItemDetail | Risk Level | Agent Behavior |
|---|---|---|
| (empty/null) | Low risk | Safe to proceed |
| Medium risk | Show risk details, ask for explicit user confirmation |
| High risk | Do NOT proceed, show risk details, recommend cancel |
simulator.revertReasonwarningsactionactionSecurity commands do not require wallet login. They work with any address.
| Chain | Name | chainIndex |
|---|---|---|
| XLayer | | |
| Ethereum | | |
| Solana | | |
| BSC | | |
| Polygon | | |
| Arbitrum | | |
| Base | | |
| Avalanche | | |
| Optimism | | |
| zkSync Era | | |
| Linea | | |
| Scroll | | |
0x...| # | Command | Description |
|---|---|---|
| 1 | | Token risk / honeypot detection (all chains) |
| 2 | | DApp / URL phishing detection (chain-agnostic) |
| 3 | | Transaction pre-execution security (EVM + Solana) |
| 4 | | Message signature security (EVM only) |
| 5 | | Token approval / Permit2 authorization query (EVM only) |
skills/okx-security/references/| User intent | Read this file FIRST |
|---|---|
| Token safety, honeypot, is this token safe, 代币安全, 蜜罐检测, 貔貅盘 | |
| DApp/URL phishing, is this site safe, 钓鱼网站 | |
| Transaction safety, tx pre-execution, signature safety, approve safety, 交易安全, 签名安全 | |
| Approvals, allowance, Permit2, revoke, 授权管理, 授权查询, 风险授权 | |
When a workflow involves multiple commands (e.g., token-scan then tx-scan), load each reference before executing that command.
wallet sendtoken-scanwallet contract-calltx-scandapp-scansig-scanokx-agentic-wallet