Cyber Risk Intelligence Command Center β An enterprise-grade platform that analyzes public text and URLs to quantify phishing and social engineering risk, generate live attack simulations, and produce actionable mitigation plans.
Paste any public text (LinkedIn bio, social media post, news article) or a URL and the platform:
- Extracts entities β names, organizations, locations, dates using NLP
- Calculates a Risk Score (0β100) β calibrated across 5 risk vectors
- Generates Attack Simulations β real phishing emails, SMS, LinkedIn InMails, and voice scripts tailored to the extracted data
- Produces a Mitigation Plan β actionable security recommendations based on the specific risk vectors detected
- Shows Industry Context β sector-specific threat intelligence
| Layer | Technology |
|---|---|
| Backend API | Python, FastAPI, Uvicorn |
| NLP | spaCy (en_core_web_sm) |
| AI / LLM | OpenRouter API (Mistral-7B, LLaMA-3, Gemma via free tier) |
| Web Scraping | BeautifulSoup4 + Requests |
| PDF Generation | ReportLab |
| Frontend | Next.js 16, React, TypeScript |
| Styling | TailwindCSS, custom glassmorphism |
| Charts | Recharts (Radar, Area, Sparklines) |
- Python 3.10+
- Node.js 18+
- An OpenRouter account (free tier works)
git clone https://github.com/Suryaaa81/Cyber-Risk-Intelligence.git
cd Cyber-Risk-Intelligencecd backend
# Create and activate virtual environment
python -m venv venv
# Windows
.\venv\Scripts\activate
# macOS / Linux
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Download spaCy language model
python -m spacy download en_core_web_sm# Copy the example env file
copy .env.example .env # Windows
cp .env.example .env # macOS/LinuxOpen backend/.env and add your OpenRouter API key:
OPENROUTER_API_KEY=sk-or-v1-your-key-here
π‘ Get your free key at openrouter.ai. The platform works without a key too β it uses rule-based AI fallbacks automatically.
uvicorn main:app --reload
# API will run at http://127.0.0.1:8000cd frontend
npm install
npm run dev
# App will run at http://localhost:3000Paste this in the dashboard to see a full attack simulation:
Hi everyone! I'm Jennifer Walsh, new VP of Finance at Goldman Sachs in New York!
Currently staying at the Marriott Marquis while apartment hunting. My husband David
and kids are still in Austin, Texas β joining me after the school year ends.
Planning a family vacation to Dubai in August! Reach me at jennifer.walsh1982@gmail.com
The weather today is nice. I went for a walk in the park and enjoyed the sunshine.
Paste any public URL (Wikipedia, LinkedIn public profiles, news articles):
https://en.wikipedia.org/wiki/Tim_Cook
- Push your code to GitHub.
- Go to Vercel -> New Project.
- Import this repository.
- Environment Variables:
NEXT_PUBLIC_API_URL: Set this to your Backend URL (e.g.,https://your-backend.onrender.com).
- Click Deploy.
- Go to Render -> New Web Service.
- Connect your GitHub repository.
- Build Command:
pip install -r requirements.txt && python -m spacy download en_core_web_sm - Start Command:
uvicorn main:app --host 0.0.0.0 --port 8000 - Environment Variables:
OPENROUTER_API_KEY: Your OpenRouter API key.ALLOWED_ORIGINS: Set this to your Vercel URL (e.g.,https://your-app.vercel.app).
- Click Deploy.
Run locally or on a VPS using Docker:
docker-compose up --build- Backend will be on
port 8000 - Frontend will be on
port 3000
project_phishing/
βββ backend/
β βββ main.py # FastAPI app β all agents, endpoints, NLP
β βββ requirements.txt # Python dependencies
β βββ .env.example # Template for environment variables
β βββ .env # Your secrets (git-ignored)
β
βββ frontend/
βββ app/
β βββ page.tsx # Landing page
β βββ dashboard/
β β βββ page.tsx # Main command center dashboard
β βββ layout.tsx
β βββ globals.css
βββ package.json
βββ next.config.ts
| Method | Endpoint | Description |
|---|---|---|
POST |
/analyze |
Analyze raw text |
POST |
/analyze-url |
Analyze content from a URL |
POST |
/upload-csv |
Analyze data from a CSV file |
POST |
/upload-pdf |
Analyze text extracted from a PDF |
POST |
/generate-report |
Download a PDF risk report |
This tool is built for defensive security awareness, penetration testing demonstrations, and educational purposes only. All attack simulations are generated to help organizations understand and reduce their social engineering attack surface.
MIT License β free to use, modify, and distribute.