返回顶部
t

token-scan

Scan token contract security risk and return a structured summary including score, tax, holder concentration, and LP lock status. Supported chains are bsc, eth, solana, arbitrum, base, polygon, avax, tron, ton, plasma, and sui. Trigger when the user provides a chain and contract address and asks for token risk analysis, security review, high-risk item identification, tax interpretation, or holder distribution analysis.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
128
下载量
0
收藏
概述
安装方式
版本历史

token-scan

# Token Scan Use `{skillDir}/scripts/token_scan.py` to inspect one token contract with the CertiK token scan API. Use this skill when the user wants a token risk review for a specific chain and contract address. ## When to use this skill - Analyze token contract security risk - Review high-risk findings and alert severity - Interpret buy or sell tax fields - Check holder concentration and LP lock status ## Supported chains `bsc`, `eth`, `solana`, `arbitrum`, `base`, `polygon`, `avax`, `tron`, `ton`, `plasma`, `sui` If the user provides a chain outside this list, do not call the API. Tell the user the chain is not supported yet and list the supported chains. ## Workflow 1. Confirm the chain is supported. 2. Validate the address format when the chain format is obvious from the input. 3. Prefer the bundled Python script for execution. 4. If Python is unavailable, use the documented `curl` fallback. 5. If the result is still running, report that the scan is in progress instead of pretending the scan is complete. 6. Return the result in this order: - risk overview - alert list - additional token signals such as tax, holder concentration, and LP lock 7. Only include raw fields when the user explicitly asks for audit-level detail. ## Execution > Important: `--chain` only supports `bsc|eth|solana|arbitrum|base|polygon|avax|tron|ton|plasma|sui`. > If the user provides a chain outside this list, do not call the API. Reply that the chain is not supported yet and include the supported chain list so the user can switch. Prefer Python first: ```bash python3 scripts/token_scan.py --chain "bsc" --contract "0x..." ``` If Python is unavailable, use `curl`: ```bash curl -sG "https://open.api.certik.com/token-scan" \ -H "Accept: application/json, text/plain, */*" \ --data-urlencode "chain=bsc" \ --data-urlencode "address=0x..." ``` ## Output requirements 1. Risk overview must include `score`, `alert_count`, and the highest alert level. 2. Alert list must be sorted by `Critical -> Major -> Medium -> Minor` and show up to 8 items. 3. If `alert_count > 8`, explicitly say: `Total N alerts, showing the top 8 highest-priority items`. 4. Clarify that values like `skyknight_score.details.buy_tax` and `skyknight_score.details.sell_tax` are deduction factors, not the real tax percentage. 5. Prefer the real buy or sell tax value from `security_summary.*.extended_data.*` when it exists. ## Public API - Endpoint: `GET https://open.api.certik.com/token-scan` - Query parameters: - `chain` (required) - `address` (required) Example: ```bash curl -sG "https://open.api.certik.com/token-scan" \ -H "Accept: application/json, text/plain, */*" \ --data-urlencode "chain=eth" \ --data-urlencode "address=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984" ``` Supported chain formats: - `arbitrum`: EVM hex `0x...` with 42 chars - `avax`: EVM hex `0x...` with 42 chars - `base`: EVM hex `0x...` with 42 chars - `bsc`: EVM hex `0x...` with 42 chars - `eth`: EVM hex `0x...` with 42 chars - `plasma`: EVM hex `0x...` with 42 chars - `polygon`: EVM hex `0x...` with 42 chars - `solana`: Base58 public key - `sui`: Hex `0x...` with module path - `ton`: `EQ` or `UQ` prefix, 46-48 chars - `tron`: Base58check, starts with `T`, 34 chars ## Result notes - If `message` is `in progress`, the scan has not finished. - If `message` is `success`, the scan is complete and can be summarized. - If `message` is `error`, return the upstream error information. - `skyknight_score.details.buy_tax` and `skyknight_score.details.sell_tax` are deduction factors, not literal tax percentages. - Prefer actual tax values from: - `security_summary.buy_tax.extended_data.buy_tax` - `security_summary.sell_tax.extended_data.sell_tax`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 token-scan-1776297482 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 token-scan-1776297482 技能

通过命令行安装

skillhub install token-scan-1776297482

下载 Zip 包

⬇ 下载 token-scan v1.0.0

文件大小: 5.08 KB | 发布时间: 2026-4-17 16:22

v1.0.0 最新 2026-4-17 16:22
Initial release of token-scan skill.

- Provides structured security risk analysis for token contracts on 11 supported chains (bsc, eth, solana, arbitrum, base, polygon, avax, tron, ton, plasma, sui).
- Returns risk score, alert count, alert severity, token tax info, holder concentration, and LP lock status.
- Alerts are sorted by severity, with top 8 highest-priority items shown if more exist.
- Interprets real buy/sell tax when available and clarifies difference from deduction factors.
- Explains supported chain/address formats and enforces input validation.
- Reports scan status (in progress, success, or error) clearly to the user.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部