A production-grade SaaS-style web platform for AI-powered phishing detection, security awareness training, and organizational risk analytics.
cybersentinel/
│
├── frontend/ # Next.js 14.2.1 + TypeScript
├── backend/ # FastAPI + Python
├── database/ # SQL Schema & Seeds
└── docs/ # Technical Documentation
- Node.js 18+
- Python 3.10+
- PostgreSQL (or SQLite for development)
cd frontend
npm install
npm run dev
# Runs on http://localhost:4000cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
# API available at http://localhost:8000- Awareness Score Statistics
- Weekly Threat Trends
- Risk Category Breakdown
- Real-time Detection Feed
- Email/URL phishing analysis
- AI-powered risk scoring
- Suspicious phrase highlighting
- Explainable AI results
- Phishing simulation challenges
- XP-based progression system
- Level tracking (Beginner → Expert)
- Adaptive difficulty algorithm
- Weakness category analysis
- Accuracy trends
- Risk breakdown visualization
- Improvement tracking
- User management
- Aggregate awareness metrics
- Threat frequency monitoring
- JWT-based authentication
- bcrypt password hashing
- Role-based access control (User/Admin)
- Privacy-preserving metadata storage
- Logistic Regression baseline model
- Feature extraction:
- Domain mismatch detection
- Urgency keyword analysis
- Suspicious link patterns
- Generic greeting detection
- Explainable AI with feature importance
| Action | XP Reward |
|---|---|
| Correct Answer | +10 XP |
| Incorrect Answer | 0 XP |
| Level Up | Every 100 XP |
- Beginner (0-99 XP)
- Aware (100-199 XP)
- Defender (200-299 XP)
- Expert (300+ XP)
- Next.js 14.2.1
- TypeScript 5+
- TailwindCSS 3.4.1
- Recharts
- Lucide React Icons
- FastAPI
- Python 3.10+
- SQLAlchemy
- Pydantic
- scikit-learn
NEXT_PUBLIC_API_URL=http://localhost:8000
DATABASE_URL=sqlite:///./cybersentinel.db
SECRET_KEY=your-secret-key-here
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
MIT License - Built for enterprise cybersecurity training and awareness.
CyberSentinel - Protecting organizations through intelligent security awareness.