← 全部工具

ridhinva/web3-defi-scanner

热度 65 更新于 开发与构建

Scanner: Web3/DeFi smart contract vulnerability scanner — reentrancy, oracle manipulation, flash loans, governance attacks in Python

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

Web3/DeFi Security Scanner

<p align="center" </p

---

🎯 Overview

Web3/DeFi smart contract vulnerability scanner for reentrancy, oracle manipulation, flash loans, governance attacks, and cross-chain bridge vulnerabilities.

| Check | Severity | Description | |-------|----------|-------------| | Reentrancy | 🔴 CRITICAL | Single/multi/cross-function reentrancy | | Oracle Manipulation | 🔴 CRITICAL | Price feed manipulation, TWAP bypass | | Flash Loan Attacks | 🔴 CRITICAL | Arbitrage, liquidation, governance | | Access Control Missing | 🟠 HIGH | Owner-only, role-based gaps | | Integer Overflow/Underflow | 🟠 HIGH | Solidity <0.8.0 | | Unchecked External Calls | 🟠 HIGH | send/transfer vs call | | Signature Replay | 🟡 MEDIUM | ECDSA malleability, EIP-1271 | | Cross-Chain Bridge Vulns | 🔴 CRITICAL | Validator compromise, message replay |

---

🚀 Quick Start

git clone https://github.com/ridhinva/web3-defi-scanner.git
cd web3-defi-scanner
pip install requests web3
python3 web3_defi_scanner.py --target 0xContractAddress --rpc https://eth-mainnet.g.alchemy.com/v2/KEY

---

⚖️ Disclaimer

For authorized security testing only. Do not scan contracts without permission.