MetaGuard Snap is a MetaMask Snap application that provides enhanced transaction security analysis for MetaMask users.
- 🔍 Smart contract verification check
- 🛡️ Protection against potential phishing attacks
⚠️ High-risk transaction detection- 💡 Security recommendations
- 📊 Risk level and security score calculation
- React
- TypeScript
- MetaMask Snaps SDK
- Etherscan API
- GoPlus Security API
- Jest & React Testing Library
- Clone the repository:
git clone https://github.com/qvkare/metaguard-snap.git
cd metaguard-snap
- Install dependencies:
npm install
- Start development server:
npm start
- Run tests:
npm test
- Create production build:
npm run build
- Install the latest version of MetaMask
- Install MetaGuard Snap
- When attempting a transaction, MetaGuard will automatically perform security analysis
- Contract Verification: Checks if the smart contract's source code is verified on Etherscan
- Phishing Detection: Checks the address against known phishing attacks
- Risk Assessment: Calculates the risk level and score of the transaction
- Recommendations: Provides suggestions based on detected risks
- Fork this repository
- Create a new branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request
This project is licensed under the MIT License. See LICENSE file for details.