Enterprise-grade cyber-forensics platform engineered to detect, analyze, and neutralize advanced digital fraud operations in real time.
Spectus moves beyond traditional rule-based detection systems and simple AI wrappers by leveraging a multi-engine ensemble intelligence architecture that combines machine learning, semantic retrieval, behavioral analytics, and large language models to identify sophisticated scams before financial damage occurs.
Spectus is a fully decoupled cyber-forensics platform consisting of:
- High-performance FastAPI backend
- Interactive forensic investigation dashboard
- AI-powered threat analysis pipeline
- Real-time scam intelligence and correlation engine
- Incident response and mitigation toolkit
The platform analyzes SMS messages, emails, call transcripts, URLs, UPI handles, and community threat reports to provide comprehensive scam intelligence.
Every incoming threat payload is evaluated through four independent intelligence engines functioning as a digital jury.
flowchart LR
A[Threat Input] --> B[ML Classifier]
A --> C[Semantic Search]
A --> D[LLM Analysis]
A --> E[Behavioral Fingerprinting]
B --> F[Final Verdict Engine]
C --> F
D --> F
E --> F
F --> G[Threat Intelligence Report]
A supervised model trained on linguistic risk boundaries and scam communication patterns.
Technology:
- Scikit-learn
- TF-IDF Vectorization
- Logistic Regression
Uses semantic embeddings to compare incoming content against official advisories and known scam reports.
Knowledge Sources:
- Ministry of Home Affairs (MHA)
- Reserve Bank of India (RBI)
- Securities and Exchange Board of India (SEBI)
- Law Enforcement Alerts
Technology:
- ChromaDB
- Sentence Transformers
- Vector Similarity Search
Powered by Llama 3.1 through Groq's LPU infrastructure for deep psychological and contextual analysis.
Detects:
- Artificial urgency
- Authority impersonation
- Social engineering tactics
- Emotional manipulation
- Cognitive bias exploitation
Deterministic pattern matching engine for identifying operational indicators frequently used by threat actors.
Examples:
- Brand impersonation formatting
- Leet-speak obfuscation
- Suspicious URL structures
- Credential harvesting patterns
A transparent forensic console displaying:
- Individual engine verdicts
- Confidence scores
- Weighted risk calculations
- Cross-model disagreements
- Final consensus verdict
Correlates multiple attack vectors into a unified threat graph.
Examples:
- Phishing SMS β Malicious URL β Fraudulent UPI Handle
- Email Campaign β Domain Infrastructure β Scam Network
Technology:
- NetworkX
- Graph-Based Relationship Mapping
Tracks structural evolution of scams over time.
Capabilities:
- Character-level comparisons
- Word-level mutation analysis
- Historical variant matching
- Threat lineage tracking
Technology:
- Python
difflib
Analyzes scammer intent and predicts probable next-stage actions.
Identifies:
- Authority Bias
- Scarcity Principle
- Fear Appeals
- Urgency Manipulation
- Reciprocity Exploitation
Detects newly registered and previously unseen phishing domains.
Integrations:
- VirusTotal API
- WHOIS XML API
Analysis Factors:
- Domain age
- Registrar patterns
- Infrastructure anomalies
- Reputation indicators
Rapid-response incident mitigation center.
Includes:
- Automated incident reports
- Evidence serialization
- Cybercrime complaint preparation
- National Cyber Helpline integration (1930)
- cybercrime.gov.in reporting assistance
Spectus/
βββ backend/
β βββ main.py
β βββ config.py
β βββ requirements.txt
β βββ .env
β βββ scamshield.db
β β
β βββ routers/
β β βββ analyze.py
β β βββ url.py
β β βββ upi.py
β β βββ community.py
β β βββ audio.py
β β βββ mutation.py
β β βββ nexus.py
β β
β βββ services/
β βββ database.py
β βββ behavioral.py
β βββ classifier.py
β βββ chromadb_service.py
β βββ groq_service.py
β βββ url_service.py
β βββ advanced_analysis.py
β
βββ frontend/
βββ index.html
| Component | Technology |
|---|---|
| Framework | FastAPI |
| Language | Python 3.10+ |
| ORM | SQLAlchemy |
| Database | SQLite3 |
| Validation | Pydantic |
| Component | Technology |
|---|---|
| ML Models | Scikit-learn (TF-IDF + Logistic Regression) |
| Embeddings | Sentence Transformers |
| Vector DB | ChromaDB |
| LLM Engine | Llama 3.1 |
| Inference Provider | Groq |
| Graph Analysis | NetworkX |
| Service | Purpose |
|---|---|
| VirusTotal API | URL Reputation Analysis |
| WHOIS XML API | Domain Intelligence |
| MHA Advisories | Scam Knowledge Base |
| RBI Alerts | Financial Fraud Intelligence |
| SEBI Notices | Investment Scam Detection |
| Component | Technology |
|---|---|
| UI Layer | HTML5 |
| Styling | Custom CSS |
| Visualization | Pure SVG (no external chart library) |
| Logic | Vanilla JavaScript |
| PDF Export | jsPDF |
Input
β
Preprocessing
β
4-Signal Ensemble Analysis
β
Threat Correlation Engine
β
Psychological Profiling
β
Mutation Detection
β
Threat Scoring
β
Forensics Report Generation
β
Emergency Response Recommendations
The backend is deployed as a web service on Render.
Live URL: https://spectus-t3r5.onrender.com
uvicorn main:app --host 0.0.0.0 --port 10000- Lazy model initialization (SentenceTransformer loads on first request, not at boot)
- CPU-optimized PyTorch for low memory footprint
- Environment variable masking
- Persistent ChromaDB scam pattern storage
- Automated dependency installation
The frontend is deployed for global edge delivery using Vercel.
Live URL: https://spectus-cyberforensics.vercel.app
- Static asset optimization
- CDN-backed distribution
- Low-latency delivery
- Decoupled architecture
- Backend API integration
Frontend (Vercel)
β
Direct API Communication
β
FastAPI Backend (Render)
Frontend
β
Reverse Proxy
β
API Gateway
β
FastAPI Services
β
External Intelligence APIs
Benefits:
- API key isolation
- Request inspection
- Rate limiting
- Enhanced observability
- Enterprise-grade security posture
- Banking Fraud Detection
- UPI Scam Investigation
- Phishing Email Analysis
- SMS Fraud Intelligence
- Deepfake Call Screening
- Threat Hunting
- Incident Response
- Digital Evidence Collection
- Cybercrime Reporting
- Real-time Telegram Scam Monitoring
- WhatsApp Intelligence Connector
- OCR-Based Screenshot Analysis
- Browser Extension Integration
- SIEM Platform Connectors
- Threat Actor Attribution Engine
- Enterprise SOC Dashboard
- Multi-Language Scam Detection
This project is intended for cybersecurity research, fraud prevention, digital forensics, and educational purposes.
Spectus assists in scam detection and cyber-forensics investigations. Threat assessments are generated using machine learning, heuristic analysis, and AI systems and should be reviewed alongside professional security practices and human verification when handling critical incidents.