Version 1.0.0 | Enterprise-ready email threat analysis platform
ScamShot is a comprehensive email security solution that analyzes emails for phishing, BEC (Business Email Compromise), crypto scams, and other security threats using advanced AI and threat intelligence.
- Email Analysis: Analyze emails from various formats (.eml, .txt, .msg)
- Threat Detection: Detect phishing, BEC, crypto scams, and more
- URL Analysis: Deep analysis of URLs with threat intelligence
- Header Authentication: SPF, DKIM, DMARC verification
- AI Integration: OpenAI-powered threat analysis and explanations
- Threat Intelligence: Integration with VirusTotal, AbuseIPDB, and more
- Dark Mode: Beautiful dark theme with persistent preferences
- Bulk Analysis: Analyze multiple emails simultaneously
- History & Search: Complete analysis history with search and filters
- Export Options: PDF, JSON, CSV export formats
- Collaboration: Share analyses and add comments
- Customizable Dashboard: Drag-and-drop widget customization
- PWA Support: Installable app with offline capability
- Full Accessibility: WCAG 2.1 AA compliant
- Keyboard Shortcuts: Power-user navigation
- SMTP Proxy: Pre-delivery email filtering
- Office Add-ins: Microsoft 365 and Google Workspace integration
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp env_example.txt .env
# Edit .env with your API keys (optional)
# Run server
python -m uvicorn api.app:app --reload --host 127.0.0.1 --port 8000- Web Interface: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Health Check: http://localhost:8000/health
- Quick Start Guide - Get started in 3 steps
- Testing Guide - Complete testing checklist
- Deployment Checklist - Production deployment guide
- API Keys Guide - API key configuration
- Complete Implementation Summary - Full feature list
- FastAPI: High-performance Python web framework
- Async Processing: Efficient email analysis
- RESTful API: Complete API for all features
- OpenAPI Docs: Auto-generated API documentation
- Pure HTML/CSS/JavaScript: No framework dependencies
- Progressive Web App: Installable, offline-capable
- Responsive Design: Works on all devices
- Accessible: WCAG 2.1 AA compliant
- SMTP Proxy: Pre-delivery filtering
- Microsoft 365: Outlook Add-in
- Google Workspace: Gmail Add-on
- OpenAI API Key: For AI-powered analysis and explanations
- VirusTotal API Key: For URL threat intelligence
- AbuseIPDB API Key: For IP reputation checks
See API_KEYS_AND_CONFIGURATION_GUIDE.md for detailed instructions.
POST /analyze- Analyze raw emailPOST /analyze_file- Analyze uploaded filePOST /analyze/batch- Bulk analysisPOST /analyze/pdf- Analyze and return PDF
GET /history- Get analysis historyGET /history/{id}- Get specific entryGET /history/stats- Get statistics
POST /export/json- Export as JSONPOST /export/csv- Export as CSV
GET /proxy/stats- Get proxy statisticsPOST /proxy/start- Start SMTP proxyPOST /proxy/stop- Stop SMTP proxy
GET /docs- Swagger UIGET /redoc- ReDocGET /openapi.json- OpenAPI schema
See /docs for complete API documentation.
# Run tests
pytest tests/
# Test specific features
pytest tests/test_phase1_features.py
pytest tests/test_phase2_features.py
pytest tests/test_phase3_features.pySee TESTING_GUIDE.md for comprehensive testing instructions.
# Using Gunicorn (recommended)
gunicorn api.app:app -w 4 -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000
# With Nginx reverse proxy
# See DEPLOYMENT_CHECKLIST.md for configurationSee DEPLOYMENT_CHECKLIST.md for complete deployment guide.
ScamShot/
βββ api/ # FastAPI application
β βββ app.py # Main API application
β βββ middleware.py # Middleware (rate limiting, security)
βββ scamshot/ # Core modules
β βββ core/ # Analysis engine, signals, integrations
βββ web/ # Web interface
β βββ static/ # CSS, JS, assets
β βββ templates/ # HTML templates
βββ office-addin/ # Microsoft 365 Add-in
βββ google-workspace/ # Google Workspace Add-on
βββ tests/ # Test suite
βββ requirements.txt # Python dependencies
- API Key Authentication
- Rate Limiting
- Input Validation
- Security Headers (XSS, CSRF protection)
- CORS Configuration
- SQL Injection Protection
- Real-Time Pre-Delivery Filtering: SMTP proxy for threat blocking
- AI Explainability: Understand why emails are flagged
- Collaborative Analysis: Share and comment on analyses
- Customizable Dashboard: Tailored to your workflow
- Multi-Platform: Web, Office 365, Gmail integrations
- Full Accessibility: Works for everyone
- PWA Support: Installable, offline-capable app
[Your License Here]
[Contributing Guidelines]
- Documentation: See
/docsfor API documentation - Issues: [Report issues here]
- Email: [Support email]
- β Dark Mode
- β Advanced Export
- β History & Search
- β Keyboard Shortcuts
- β OpenAPI Docs
- β Bulk Analysis
- β AI Summarization
- β Interactive Visualizations
- β Advanced Search & Filtering
- β Collaboration
- β Dashboard Customization
- β PWA Support
- β Accessibility
- β SMTP Proxy
- β Microsoft 365 Add-in
- β Google Workspace Add-on
Built with β€οΈ for email security
ScamShot v1.0.0 - Enterprise Email Security Platform