ETN Watchdog: AI Security Monitoring Bot for Electroneum

ETN Watchdog is a comprehensive security monitoring platform for the Electroneum blockchain. It uses advanced AI algorithms to detect suspicious transactions, wallet drainers, potential rug-pulls, and other security threats in real-time. It also does AI based smart contract analysis and wallet analysis for safer blockchain operations. Real time notifications using email and telegram bots.

Screenshot 2025-03-09 at 8 31 58 PM

Demo URL (frontend): https://etn-watchdog.vercel.app/ Backend server URL: https://etn-watchdog-production.up.railway.app/

Screenshot 2025-03-09 at 8 31 50 PM

Key Features

Core Security Features

  • Real-time Transaction Monitoring: Continuously monitors Electroneum blockchain transactions to detect suspicious patterns and potential threats
  • AI-Powered Analysis: Leverages advanced AI models to analyze contracts and transactions for security vulnerabilities
  • Rug-Pull Detection: Identifies potential rug-pull risks by analyzing token contract code, liquidity patterns, and ownership structures
  • Wallet Drainer Detection: Detects malicious contracts designed to drain user wallets through sophisticated techniques
  • Alert System: Sends real-time notifications through multiple channels when potential threats are detected

Advanced AI Security Tools

  • AI Smart Contract Analyzer: Deep analysis of smart contract code using AI to identify vulnerabilities, backdoors, and security risks
  • AI Address Analyzer: AI-powered analysis of wallet addresses to detect suspicious activity and potential security threats
  • AI Transaction Analysis: Real-time analysis of transactions to identify unusual patterns and potential scams
  • Security Scanner: Comprehensive wallet security analysis tool that checks for vulnerabilities, suspicious approvals, and risky interactions
  • Token Approvals Manager: View and manage all token spending permissions with risk indicators and one-click revocation
  • Phishing Detection: Identifies potential phishing attempts targeting your wallet

User Experience

  • Modern Dashboard: Intuitive dashboard providing a comprehensive overview of your security status
  • Customizable Notifications: Configure how and when you want to be alerted about security events
  • Multi-channel Alerts: Receive notifications via email, browser, mobile app, or Telegram
  • Responsive Design: Seamless experience across desktop, tablet, and mobile devices
  • Electroneum Block Explorer Integration: Direct links to the Electroneum block explorer for transactions, addresses, and contracts Deployed Contracts

Screenshot 2025-03-09 at 1 43 59 PM

Dashboard Sections

Main Dashboard

Screenshot 2025-03-09 at 8 58 01 PM

The main dashboard provides an at-a-glance view of your security status, including:

  • Security score and risk assessment
  • Recent alerts and notifications
  • Transaction monitoring statistics
  • Network security status
  • Data source selector (Mock/Testnet/Mainnet)

AI Smart Contract Analyzer

Screenshot 2025-03-09 at 8 58 22 PM

The AI-powered smart contract analyzer provides:

  • Deep security analysis of smart contract code
  • Vulnerability detection with severity ratings
  • Detailed explanations of security issues
  • Specific recommendations for fixing vulnerabilities
  • Risk scoring and overall security assessment
  • Sample contracts for testing and learning

AI analyzer results

Screenshot 2025-03-09 at 8 59 03 PM

Wallet Drainers

The wallet drainers section displays:

  • List of known wallet drainer contracts
  • Risk level and threat assessment
  • Number of victims and total value stolen
  • Detailed analysis of each drainer's techniques
  • Direct links to block explorer for verification

Security Scanner

Screenshot 2025-03-09 at 10 11 07 PM

The security scanner allows you to:

  • Scan any wallet address for vulnerabilities using AI
  • Identify high-risk token approvals
  • Detect interactions with suspicious contracts
  • Analyze transaction patterns for suspicious activity
  • Receive personalized security recommendations

Token Approvals

Screenshot 2025-03-09 at 9 01 12 PM

The token approvals manager helps you:

  • View all token spending permissions granted by your wallet
  • Identify high-risk and unlimited approvals
  • Filter and search through approvals
  • Revoke unnecessary permissions with one click

Notification Settings

Screenshot 2025-03-09 at 9 01 21 PM

Customize your security alerts:

  • Configure multiple notification channels
  • Set alert thresholds for transaction amounts
  • Choose alert frequency and risk level sensitivity
  • Enable/disable specific types of security alerts

AI-Powered Security Features

Screenshot 2025-03-09 at 8 59 10 PM

ETN Watchdog leverages advanced AI models to provide cutting-edge security analysis:

Smart Contract Vulnerability Detection

The AI Smart Contract Analyzer can detect various vulnerabilities including:

  • Reentrancy Vulnerabilities: Identifies functions vulnerable to reentrancy attacks
  • Access Control Issues: Detects improper access controls and authorization flaws
  • Integer Overflow/Underflow: Finds potential arithmetic vulnerabilities
  • Unchecked External Calls: Identifies unsafe external calls without proper error handling
  • Front-running Vulnerabilities: Detects transactions vulnerable to front-running
  • Logic Errors: Identifies logical flaws in contract code
  • Rug Pull Mechanisms: Detects backdoors and mechanisms that could enable rug pulls
  • Gas Optimization Issues: Identifies inefficient code that could lead to high gas costs

Address Analysis

Screenshot 2025-03-09 at 10 10 58 PM

The AI Address Analyzer examines wallet addresses for:

  • Suspicious Transaction Patterns: Identifies unusual transaction behavior
  • Connections to Known Malicious Addresses: Detects interactions with known scammers
  • Potential Wallet Drainer Behavior: Identifies patterns consistent with wallet drainers
  • Money Laundering Indicators: Detects patterns that may indicate money laundering
  • Risk Scoring: Provides a comprehensive risk score and security assessment

Transaction Analysis

The AI Transaction Analyzer monitors transactions for:

  • Unusual Transaction Amounts: Identifies transactions with suspicious values
  • Suspicious Contract Interactions: Detects interactions with potentially malicious contracts
  • Phishing Indicators: Identifies transactions that may be part of phishing attempts
  • Scam Patterns: Detects patterns consistent with known scams
  • Real-time Alerts: Provides immediate notifications for high-risk transactions

Architecture

  • Smart Contracts: Solidity contracts deployed on Electroneum blockchain for on-chain monitoring and analysis
  • Backend API: Node.js server with AI integration for transaction and contract analysis
  • Frontend: React-based dashboard built with Chakra UI for a modern, responsive interface
  • Database: MongoDB for storing historical data, analysis results, and user preferences
  • AI Integration: OpenAI API integration for advanced security analysis
  • Notification System: Multi-channel alert system for real-time security notifications
  • Block Explorer Integration: Direct integration with Electroneum block explorer

Using the AI Security Features

Smart Contract Analyzer

  1. Navigate to "AI Contract Analyzer" in the sidebar
  2. Enter a contract address or paste contract code
    • Use the "Load Sample" button to test with a sample contract
    • Use the "Load Vulnerable Sample" to see how vulnerabilities are detected
  3. Click "Analyze Contract"
  4. Review the detailed security analysis:
    • Overall risk score and risk level
    • List of vulnerabilities with severity ratings
    • Detailed descriptions and recommendations
    • Links to the contract on the block explorer

Address Analyzer

  1. Go to "Security Scanner" in the sidebar
  2. Use the "Address Analyzer" tab
  3. Enter an Electroneum address
  4. Click "Analyze"
  5. Review the security assessment:
    • Risk score and risk level
    • Suspicious activity findings
    • Recommended security actions
    • Links to the address on the block explorer

Transaction Monitoring

The system automatically monitors transactions for suspicious activity:

  1. Transactions are analyzed in real-time as they occur
  2. AI models assess each transaction for security risks
  3. Suspicious transactions trigger alerts
  4. Details are displayed in the dashboard and notifications

API Integration

ETN Watchdog provides a REST API for integration with other services:

  • Authentication: JWT-based authentication for secure API access
  • Endpoints: Comprehensive endpoints for accessing security data
  • Documentation: Detailed API documentation available at /api/docs
  • Rate Limiting: Fair usage policies to ensure service availability

Contract details

Network: electroneum_testnet (Chain RPC: https://rpc.ankr.com/electroneum_testnet) (Chain ID: 5201420) TransactionMonitor deployed to: https://testnet-blockexplorer.electroneum.com/address/0xda52b25ddB0e3B9CC393b0690Ac62245Ac772527 RugPullDetector deployed to: https://testnet-blockexplorer.electroneum.com/address/0x11B57FE348584f042E436c6Bf7c3c3deF171de49 WalletDrainerDetector deployed to: https://testnet-blockexplorer.electroneum.com/address/0x1294b86822ff4976BfE136cB06CF43eC7FCF2574 ETNWatchdogRegistry deployed to: https://testnet-blockexplorer.electroneum.com/address/0xA6E41fFD769491a42A6e5Ce453259b93983a22EF

Wallet Scanner Screenshots

Screenshot 2025-03-09 at 9 00 33 PM Screenshot 2025-03-09 at 9 00 43 PM Wallet security recommendations Screenshot 2025-03-09 at 9 00 55 PM

Built With

Share this project:

Updates