Anti-Rug Pull is a real-time DeFi safety net that detects threats, freezes risky transactions, and protects MetaMask Card funds automatically.
Anti-Rug Pull is an automated, real-time security layer built specifically for MetaMask Card users to protect their on-chain assets from scams, exploits, and rug pulls. It functions like an immune system for DeFi, offering proactive protection before damage occurs.
This smart agent continuously monitors every transaction made using the MetaMask Card. It integrates Forta, Debank APIs, and custom risk heuristics to scan for malicious activity, such as suspicious proxy contracts, abnormal slippage, unauthorized token mints, or known exploit patterns.
Upon detecting a threat, it triggers an instant freeze using the MetaMask Delegation Toolkit (DTK) to block fund movements. Then, leveraging the LI.FI SDK and Circle CCTP v2, it bridges vulnerable funds (USDC) to a designated safe fallback chain or directly to the user’s Circle Wallet, optionally supporting insurance-ready flows.
The system also includes a user-friendly dashboard where users can customize risk thresholds, set fallback destinations, and monitor all security activity across chains in real-time.
It’s built with:
MetaMask SDK & DTK for wallet integration and authority management
Circle Wallets + USDC + CCTP v2 for secure fund handling
LI.FI SDK for seamless multi-chain bridging
React + Node + Solidity for full-stack implementation
Anti-Rug Pull solves DeFi’s biggest barrier—trust—by turning passive users into protected participants.