Advanced security scanner powered by Machine Learning for detecting rug pulls and scams on Solana tokens (Pump.fun & DexScreener).
Our scanner uses a Machine Learning model trained on 559+ real Solana tokens to predict rug pulls with 83.04% accuracy.
- Training Dataset: 559 tokens (318 RUG, 241 SAFE)
- Model Type: Random Forest Classifier
- Accuracy: 83.04%
- Precision: 85.7%
- Features Analyzed: 61+ on-chain metrics per token
- Constantly Evolving: Model retrains automatically as new data is collected
✅ Real-World Training: Trained on actual rug pulls and successful tokens from Pump.fun ✅ 61+ Features: Analyzes holder distribution, price patterns, liquidity, creator history, and more ✅ Continuous Learning: Dataset grows daily through automated collection ✅ Dual-Model Approach: Random Forest + Gradient Boosting for maximum accuracy ✅ Confidence Scoring: Tells you how confident the AI is in its prediction
- Machine Learning model trained on 500+ tokens
- Predicts RUG/SAFE/SUCCESS with confidence score
- AI Score: 0-100 (higher = safer)
- Real-time prediction on every scan
- Serial rugger detection (15+ tokens = EXTREME warning)
- Rug percentage analysis (80%+ = confirmed scammer)
- All previous tokens tracked
- Automatic rug detection based on:
- Near-zero market cap
- Liquidity removal
- Bonding curve crashes
- Price dumps >90%
- Detects when top holders are selling
- Coordinated exit warnings (3+ holders selling)
- Exchange detection in top 10
- Top 3 concentration analysis
- Holder age tracking
- Pattern type detection:
- Fast pump slow dump
- Coordinated pumps
- Dead cat bounce
- Stairs pattern (bot trading)
- Pump/dump speed calculation
- Manipulation confidence score (0-100%)
- Confidence score: 0-100%
- Confidence levels: VERY LOW / LOW / MEDIUM / HIGH / VERY HIGH
- Factors affecting confidence:
- Token age
- Data completeness
- Analyzer availability
- Dynamic color-coded display (RED/ORANGE/GREEN)
- Fake Holders Detection - Sybil attacks and bot wallets
- Insider Trading Analysis - Snipers and coordinated buying
- Wash Trading Scanner - Fake volume detection
- Social Media Verification - Twitter, Telegram, Website checks
- Real-Time Blockchain Data - Live Solana RPC analysis
Beautiful terminal-style interface with:
- 🔴 Red Theme: Cybersecurity aesthetic
- 🤖 AI Prediction Banner: ML predictions displayed prominently
- 📊 Risk Scores: 0-100 comprehensive scoring
- 🚨 Red Flags: Detailed warnings and explanations
- 💡 Recommendations: Actionable advice
- 📈 Confidence Indicators: Know how reliable the analysis is
- ⚡ Real-Time Scanning: Instant results
Scan tokens directly from Discord or Telegram!
- Discord Bot: Slash commands with beautiful embeds
- Telegram Bot: Simple commands with formatted messages
- Real-Time Analysis: Powered by the same AI engine
- Easy Setup: Just add your bot token and run
📖 See README_BOTS.md for setup instructions
# Install bot dependencies
pip install discord.py python-telegram-bot
# Configure tokens in .env
DISCORD_BOT_TOKEN=your_token
TELEGRAM_BOT_TOKEN=your_token
# Run Discord bot
python discord_bot.py
# Run Telegram bot
python telegram_bot.py# Clone the repository
git clone https://github.com/Cooktrenches/Scan-Scam-AI-v1.git
cd "Scan-Scam-AI-v1"
# Install dependencies
pip install -r requirements.txt
# Start web server
python web_app.pyAccess at: http://localhost:5000
- Go to http://localhost:5000
- Paste a Solana token mint address
- Click "Scan Token"
- Get instant AI-powered analysis!
| Score | Level | Color | Description |
|---|---|---|---|
| 0-24 | LOW | 🟢 Green | Relatively safe, low risk signals |
| 25-49 | MEDIUM | 🟡 Yellow | Proceed with extreme caution |
| 50-74 | HIGH | 🔴 Red | Very dangerous, multiple red flags |
| 75-100 | EXTREME | ⛔ Dark Red | DO NOT BUY - Almost certain rug |
| Score | Prediction | Meaning |
|---|---|---|
| 0-30 | RUG | AI predicts this is a rug pull |
| 30-70 | SAFE | AI predicts moderate safety |
| 70-100 | SUCCESS | AI predicts high potential success |
| Score | Level | Color | Meaning |
|---|---|---|---|
| 0-30 | VERY LOW | 🔴 Red | Limited data, take with caution |
| 30-50 | LOW | 🔴 Red | Some missing data |
| 50-70 | MEDIUM | 🟡 Orange | Good data coverage |
| 70-85 | HIGH | 🟢 Green | Comprehensive analysis |
| 85-100 | VERY HIGH | 🟢 Green | Full data, very reliable |
Want to improve the AI yourself? You can retrain the model with new data:
cd ml_module
# Collect 500 tokens from DexScreener (auto-labeled)
python collect_from_dexscreener_simple.py 500
# Retrain the model
python train_with_my_data.pycd ml_module
# View current dataset
python show_features.py
# Train from existing CSV
python train_from_csv.pyThe model automatically:
- Extracts 61+ features per token
- Labels tokens as RUG/SAFE based on market behavior
- Trains Random Forest and Gradient Boosting models
- Saves the best performing model
- Updates the web scanner instantly
- Backend: Flask (Python)
- ML Framework: Scikit-learn
- Blockchain: Solana Web3.py + RPC
- APIs: Pump.fun, DexScreener, Helius
- Frontend: Vanilla JS + CSS (terminal theme)
- Data Collection: Automated scraping from DexScreener
- Feature Extraction: 61 metrics from blockchain + market data
- Auto-Labeling: Smart heuristics to label RUG vs SAFE
- Training: Dual models (Random Forest + Gradient Boosting)
- Evaluation: Cross-validation with precision/recall metrics
- Deployment: Automatic model updates without downtime
- Holder distribution patterns
- Top holder concentration
- Whale selling behavior
- Fresh wallet detection
- Sniper activity
- Wash trading indicators
- Price volatility patterns
- Liquidity metrics
- Volume analysis
- Creator token history
- Social media presence
- Blockchain metadata
- And much more...
✅ ML model trained on 559 tokens ✅ 83% accuracy ✅ Web interface ✅ Real-time scanning ✅ Advanced detection systems ✅ Confidence scoring
🔜 v1.1: Expand dataset to 1,000+ tokens 🔜 v1.2: Add historical price chart analysis 🔜 v1.3: Multi-chain support (Ethereum, BSC) 🔜 v1.4: API endpoints for developers 🔜 v1.5: Mobile app
Educational Purposes Only: This tool is designed for research and education.
Not Financial Advice: Never invest based solely on automated analysis.
No Guarantees: Even with 83% accuracy, the model can make mistakes.
DYOR: Always Do Your Own Research before investing.
Alpha Software: This is BETA software. Use at your own risk.
We welcome contributions! The model improves as the dataset grows.
- Report False Positives/Negatives: Help us improve accuracy
- Contribute Data: Run collection scripts and share labeled data
- Improve Detection: Add new features or detection methods
- Documentation: Help improve guides and tutorials
- GitHub: Cooktrenches
MIT License - See LICENSE for details.
- Solana Foundation for blockchain infrastructure
- Pump.fun for revolutionizing token launches
- DexScreener for market data API
- The entire Solana community
⚡ Built with AI, Trained by Real Data, Powered by the Community
Made with ❤️ for the Solana ecosystem
©SCAM AI 2025 - All Rights Reserved