token-scan
by certik-ai
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.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/certik-ai/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
- Confirm the chain is supported.
- Validate the address format when the chain format is obvious from the input.
- Prefer the bundled Python script for execution.
- If Python is unavailable, use the documented
curlfallback. - If the result is still running, report that the scan is in progress instead of pretending the scan is complete.
- Return the result in this order:
- risk overview
- alert list
- additional token signals such as tax, holder concentration, and LP lock
- Only include raw fields when the user explicitly asks for audit-level detail.
Execution
Important:
--chainonly supportsbsc|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:
python3 scripts/token_scan.py --chain "bsc" --contract "0x..."
If Python is unavailable, use curl:
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
- Risk overview must include
score,alert_count, and the highest alert level. - Alert list must be sorted by
Critical -> Major -> Medium -> Minorand show up to 8 items. - If
alert_count > 8, explicitly say:Total N alerts, showing the top 8 highest-priority items. - Clarify that values like
skyknight_score.details.buy_taxandskyknight_score.details.sell_taxare deduction factors, not the real tax percentage. - 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:
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 hex0x...with 42 charsavax: EVM hex0x...with 42 charsbase: EVM hex0x...with 42 charsbsc: EVM hex0x...with 42 charseth: EVM hex0x...with 42 charsplasma: EVM hex0x...with 42 charspolygon: EVM hex0x...with 42 charssolana: Base58 public keysui: Hex0x...with module pathton:EQorUQprefix, 46-48 charstron: Base58check, starts withT, 34 chars
Result notes
- If
messageisin progress, the scan has not finished. - If
messageissuccess, the scan is complete and can be summarized. - If
messageiserror, return the upstream error information. skyknight_score.details.buy_taxandskyknight_score.details.sell_taxare deduction factors, not literal tax percentages.- Prefer actual tax values from:
security_summary.buy_tax.extended_data.buy_taxsecurity_summary.sell_tax.extended_data.sell_tax