PhishGuard is a comprehensive phishing email detection solution designed to enhance email security by employing two distinct models. The first model focuses on detecting phishing URLs, while the second model checks for phishing content within the email body. By combining these approaches, PhishGuard provides a robust defense against phishing attacks in a single, unified solution.
-
URL-based Phishing Detection: PhishGuard scans emails for existing URLs, extracts features from them, and leverages a Random Forest model to predict whether the URLs are phishing or benign.
-
Content-based Phishing Detection: In cases where no URLs are found, PhishGuard directly analyzes the email content using a TF-IDF and SVM pipeline to identify phishing attempts.
-
Unified Solution: PhishGuard streamlines the phishing detection process by seamlessly integrating both URL and content-based models, ensuring a comprehensive defense against phishing threats.
-
Web Platform: You can use the application through our website phish-guard.streamlit.app
-
Clone the PhishGuard repository:
git clone https://github.com/karandomguy/PhishGuard.git cd PhishGuard
-
Install the required dependencies:
pip install -r requirements.txt
- First, add this chrome extension Copy as Markdown

-
Select the content of your email and right-click
-
Select "Copy selection as Markdown"

- Run the PhishGuard application, paste the content and hit the "Submit" button.
-
URL-based Phishing Detection Model:
- Algorithm: Random Forest
- Features: Extracted from URLs found in the email
-
Content-based Phishing Detection Model:
-
Algorithm: TF-IDF and SVM pipeline
-
Features: Analyzes the content of the email
-
We welcome contributions to enhance the capabilities and efficiency of PhishGuard. To contribute, please follow these steps:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
PhishGuard is licensed under the MIT License - see the LICENSE file for details.
- Reasearch papers implemented
Feel free to reach out for any questions or concerns. Happy phishing detection!
Note: This readme assumes you have Python and Git installed on your system. Adjust installation commands based on your environment.