PROJECT_002 · Threat intelligence · Full-stack platform

ThreatCast PK crowdsourced threat intelligence

Pakistan's cyber threat command center: the community reports attacks, an Isolation Forest model flags coordinated campaigns for moderators, and verified events stream to a live map, analytics and real-time subscriber alerts.
haadi@portfolio: ~

haadi@portfolio:~$ mpv --no-audio --loop demo.mp4

haadi@portfolio: ~

haadi@portfolio:~$ cat project.yml

technologies
SignalR, Isolation Forest (ML), Azure App Service, Google OAuth, Email alerts
role
Frontend, backend and database; a teammate built the ML model
year
2026
status
Complete

How it wasbuilt

haadi@portfolio: ~

haadi@portfolio:~$ cat -n the-problem.txt

  1. There's no single, live place to see which Pakistani cities and sectors are being targeted, by what kind of attack, right now, incident information is scattered and unverified.
haadi@portfolio: ~

haadi@portfolio:~$ cat -n the-approach.txt

  1. Crowdsource the intelligence, but never publish it raw. Reports flow through machine-learning triage and human moderation before they reach the map, the analytics and anyone's inbox.
  • Public viewer (default): live threat map, analytics and forum.
  • Reporter (by request): submit attack reports and earn reputation points.
  • Admin (invite only): moderate reports, manage users and inject verified events.
haadi@portfolio: ~

haadi@portfolio:~$ cat -n implementation.txt

  1. A live threat map of Pakistan with 1H, 6H, 24H and 7D windows, colour-coded by attack type (DDoS, ransomware, phishing, malware), alongside a live feed and a sector-risk panel for banking, telecom, healthcare, education, government and energy.
  2. The analytics dashboard aggregates events today, the most-attacked city, the dominant attack type and the highest-risk sector, with attacks by city over seven days and a distribution by type.
  • Attack reports: type, target sector, city and a 1 to 5 severity scale
  • Alert subscriptions: attack types, cities, sectors and minimum severity, up to 3 per account, empty filter matches all, filters combine with AND
  • Delivery in-app over SignalR and by email, plus a threat forum with community rules

What itproved

haadi@portfolio: ~

haadi@portfolio:~$ cat -n security-details.txt

  1. Every submission lands in a moderation queue. An Isolation Forest model scores pending reports and raises an ML warning when several share suspicious network, geographic and threat-signature profiles, a likely coordinated campaign, so moderators review those first.
  2. Accounts are protected with email verification, new-login email alerts, Google sign-in, a password-strength meter and 'sign out of all sessions'; admins get user management and an audit log.
haadi@portfolio: ~

haadi@portfolio:~$ cat -n result.txt

Access roles, admin invite-only
3
Access roles, admin invite-only
Anomaly triage before publishing
ML
Anomaly triage before publishing
Map, analytics & SignalR alerts
Live
Map, analytics & SignalR alerts

Evidence fromthe lab

haadi@portfolio: ~

haadi@portfolio:~$ eog analytics.jpg

Threat analytics dashboard
fig.01Threat analytics: events today, top target city, dominant attack type, highest-risk sector.
haadi@portfolio: ~

haadi@portfolio:~$ eog moderation-ml.jpg

Admin moderation queue with ML warning
fig.02Moderation queue: the Isolation Forest model isolates a suspected coordinated campaign.
haadi@portfolio: ~

haadi@portfolio:~$ eog subscriptions.jpg

New alert subscription form with attack types, cities and sectors
fig.03Alert subscriptions: filter by attack type, city, sector and minimum severity.
haadi@portfolio: ~

haadi@portfolio:~$ eog notifications.jpg

Threat notifications feed connected to SignalR
fig.04Real-time notifications delivered over SignalR.
haadi@portfolio: ~

haadi@portfolio:~$ eog register-roles.jpg

Registration screen showing viewer, reporter and admin roles
fig.05Role-based access: public viewer, reporter (by request), admin (invite only).
haadi@portfolio: ~

haadi@portfolio:~$ eog forum.jpg

Threat forum thread with verified reporter badges
fig.06Threat forum with community rules and verified-reporter badges.

Stack &links

haadi@portfolio: ~

haadi@portfolio:~$ cat -n technologies-used.txt

signalrisolation forest (ml)azure app servicegoogle oauthemail alerts

Next project

Cerberus