← 返回
未分类 中文

Anti Rug

Web3 token security scanner with expert cross-validation engine. Detects honeypots, rug pulls, and contract risks across Ethereum, BSC, Polygon, and other EV...
Web3代币安全扫描工具,配备专家交叉验证引擎。能检测以太坊、BSC、Polygon等区块链上的蜜罐、跑路盘及合约风险。
deanpeng-dotcom deanpeng-dotcom 来源
未分类 clawhub v3.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 356
下载
💾 0
安装
1
版本
#latest

概述

Web3 Token Security Scanner (Anti-Rug)

Maintainer: Antalpha AI Team

A professional-grade token contract security analyzer featuring scenario-based classification and cross-validation engine.

Overview

This tool performs comprehensive security analysis of token contracts with:

  • Scenario Classification: Automatically categorizes tokens (A: Pegged Assets, B: Eco Tokens, C: Meme Coins)
  • Cross-Validation Engine: Analyzes relationships between indicators (neutralized/amplified/contextual)
  • Dynamic Risk Scoring: Weighted scoring system adapted to token type
  • Fatal Finding Detection: One-strike rules for critical vulnerabilities

Supported Chains

  • Ethereum (chain_id: 1)
  • BNB Smart Chain (chain_id: 56)
  • Polygon (chain_id: 137)
  • Arbitrum One (chain_id: 42161)
  • Base (chain_id: 8453)
  • Optimism (chain_id: 10)
  • Avalanche C-Chain (chain_id: 43114)
  • Solana (chain_id: solana)

Installation

git clone https://github.com/ZorroShao/anti-rug.git
cd anti-rug
pip install -r requirements.txt

Usage

python scripts/check_token.py --chain_id 56 --contract_address 0x...

Scenario Classification

Scenario A: Pegged/Stable Assets

Examples: USDT, USDC, WETH, WBNB

  • Mintable: ✅ Expected for peg maintenance
  • Owner: ✅ Institution custody is normal
  • Blacklist: ✅ Compliance requirement

Scenario B: Ecosystem Tokens

Examples: UNI, AAVE, established DeFi

  • Proxy: ✅ Acceptable for upgradeability
  • Treasury: ✅ Protocol-owned liquidity expected

Scenario C: Meme/Unknown Tokens

  • All permissions: ⚠️ Treated as potential rug tools
  • Strictest evaluation applied

Risk Severity Levels

ScoreLevelAction
----------------------
0-24Low✅ Base security passed
25-49Low-Medium🟡 Minor concerns
50-74Medium🟡 Caution required
75-100High🔴 Dangerous
FatalCritical🛑 Do not buy

Architecture

config.py           # Centralized configuration
exceptions.py       # Custom exception classes
validators/         # Cross-validation rules (modular)
  cv_mint_ownership.py
  cv_concentration.py
  cv_proxy.py
  cv_tax_scenario.py
tests/              # Unit tests
scripts/
  check_token.py    # Main entry point

License

MIT License - See LICENSE file

版本历史

共 1 个版本

  • v3.1.0 当前
    2026-05-07 10:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,014
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,063
data-analysis

Smart Money

deanpeng-dotcom
智能资金追踪技能。用户提及智能资金、鲸鱼追踪、聪明钱、资金追踪、链上信号或鲸鱼买入时激活。
★ 0 📥 614