The Phishing Detection Framework provides an easy-to-use Python library for detecting phishing attempts in URLs and email messages. It leverages state-of-the-art machine learning models from Hugging Face to ensure high accuracy and reliability.
- Dual Detection Modes: Supports both URL and email phishing detection.
- Pre-trained Models: Uses advanced models for performance:
- Batch Processing: Handle multiple inputs efficiently.
- Developer Friendly: Flexible API for seamless integration and customization.
- Open-Source: Built for developers by developers.
Install the library using pip:
pip install phishing-detection-py
For detailed installation steps and dependency management, visit the Installation Guide.
from phishing_detection_py import PhishingDetector
detector = PhishingDetector(model_type="url")
result = detector.predict("http://example-phishing-site.com")
print(result)
# Output: [{'input': 'http://example-phishing-site.com', 'label': 'phishing', 'confidence': 0.98}]
Comprehensive documentation for setup, API usage, and customization is available:
👉 Phishing Detection Framework Documentation
Highlights include:
We welcome contributions to improve the Phishing Detection Framework! Get started by reviewing our Contributing Guide.
- Fork the repository.
- Create a feature branch (
git checkout -b feature-name
). - Commit your changes (
git commit -m "Add new feature"
). - Push to the branch (
git push origin feature-name
). - Open a Pull Request.
This project is licensed under the Apache License 2.0. See the LICENSE file for more details.
- Hugging Face for providing pre-trained models and tools.
- Inspiration from the
cybersectony
andealvaradob
models.
Let's build a safer internet together! 🌐✨