Smart token approval management for EOA and Safe Wallets
- Users approve unlimited spending to unknown contracts
- Safe Wallets (multi-sig) have no easy way to audit/revoke approvals
- Rug pulls exploit unlimited approvals (e.g., $600M Ronin hack)
- No tool unifies EOA + Safe approval management
A security dashboard that:
- Scans all ERC20/ERC721 approvals for any wallet
- Risk scores each approval (trusted/unknown/scam)
- Batch revokes risky approvals
- Safe-native — creates multi-sig tx proposals for Safe wallets
- ✅ Connect MetaMask / Safe Wallet
- ✅ Fetch ERC20 token approvals
- ✅ Risk levels: 🟢 Safe / 🟡 Unknown / 🔴 Risky
- ✅ Revoke approval (single)
- Safe Wallet SDK integration
- Create batch revoke as Safe transaction
- Multi-chain support (ETH, Arbitrum, Base, Polygon)
| Layer | Tech |
|---|---|
| Backend | Python + FastAPI + web3.py |
| Frontend | React + ethers.js + Vite |
| Safe Integration | @safe-global/protocol-kit |
# Backend
cd src && pip install fastapi uvicorn web3 && python main.py
# Frontend
cd frontend && npm install && npm run dev- GitHub: https://github.com/dpk-jr/safe-approval-guard
- Safe Apps: https://app.safe.global
MIT