PhishShield is a lightweight phishing-email detection tool that connects a Python backend with a Chrome extension to scan Gmail emails in real time. It analyzes email content using heuristic rules and shows a safety banner directly inside Gmail.
PhishShield/
│
├── Backend/
│ └── server.py
│
└── Extension/
├── content.js
├── manifest.json
└── styles.css
- The Chrome extension observes Gmail when an email is opened.
- It extracts the email subject and body.
- It sends the data to the Python backend at /scan.
- The backend analyzes the text and returns SAFE, SUSPICIOUS, or DANGEROUS.
- A colored banner is shown at the top of the email.
Install dependencies:
pip install -r requirements.txtStart the server:
python server.pyBackend runs on:
http://127.0.0.1:5000- Open Chrome and go to chrome://extensions/
- Enable Developer Mode
- Click Load Unpacked
- Select the Extension/ folder
- Real-time Gmail scanning
- Heuristic phishing detection
- Score-based risk evaluation
- Clean UI banners (safe, suspicious, dangerous)
- Lightweight and fast
- Python 3.x
- Flask
- flask-cors
- TextBlob
| Name | GitHub | ID |
|---|---|---|
| Sameer Manvi | sameermanvi | PES2UG25CS725 |
| Samruddhi | samruddhi49 | PES2UG25CS477 |
| Pratheek G N | LUCIFER27086 | PES2UG25EC097 |
| Rohith B | rohithbalasubramanya-dev | PES2UG25EC104 |



