Skip to content

zkofficial5/ShieldNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShieldNet

ShieldNet

AI-powered cybersecurity dashboard for real-time phishing and malware URL detection.

Python FastAPI React TypeScript scikit-learn


Overview

ShieldNet uses a custom-trained Random Forest classifier (trained on 650k+ URLs, 94% accuracy) to detect malicious URLs in real time. It includes a React dashboard, Chrome extension, scan history, threat logs, and PDF report generation — all backed by a FastAPI + SQLite backend with Google OAuth.


Stack

Backend — Python, FastAPI, scikit-learn, SQLAlchemy, SQLite, NumPy, Pandas

Frontend — React 18, TypeScript, Vite, Tailwind CSS, ShadCN UI, Framer Motion, Recharts, TanStack Query

Extension — Chrome Extensions API (Manifest V3)


Getting Started

Backend

cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Add a .env file to backend/ — see .env.example.

uvicorn app.main:app --reload --port 8000

Train the model

cd backend/ml
# Add your dataset as malicious_phish.csv
python train_model.py

Frontend

cd frontend
npm install
npm run dev

Chrome Extension

Go to chrome://extensions → Enable Developer mode → Load unpacked → select extension/


Project Structure

ShieldNet/
├── frontend/        # React + Vite
├── backend/
│   ├── app/         # FastAPI routes, models, auth
│   └── ml/          # Training script + model
└── extension/       # Chrome extension

Built by Zoya Khan

About

AI-powered cybersecurity dashboard that detects malicious URLs in real time using a custom-trained Random Forest classifier. Built with FastAPI, React, and scikit-learn.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors