How aragalagovardhanreddy/phishing-url-detection works
The product is a phishing-URL detector: a user submits a URL through either the Streamlit interface or the documented prediction API; the Predictor extracts URL and live-page features, runs the trained model, applies safety overrides, and returns a label, confidence, and features. The README also documents the training dataset and model lifecycle, but the supplied source does not show training code. Edges reflect the README and sampled source; unsampled implementation details are not inferred.
Main entry points: predictor.py Prediction & Overrides · streamlit_app.py Streamlit UI · app.py Prediction API · feature_extractor.py Feature Extraction
Components 8
User Interfaces
- Streamlit UI
streamlit_app.py - Prediction API
app.py
URL Analysis
- Prediction & Overrides
predictor.py - Feature Extraction
feature_extractor.py
Model Assets
- Trained Pipeline
models/phishing_decision_tree_pipeline.pkl - Phishing Dataset
dataset/phishing_dataset.csv
Other components
- User
- Target Website
Connections 10
- User → Streamlit UI: submits URL
streamlit_app.py - User → Prediction API: sends request
app.py - Streamlit UI → Prediction & Overrides: requests prediction
streamlit_app.py - Prediction API → Prediction & Overrides: requests prediction
app.py - Prediction & Overrides → Feature Extraction: extracts features
predictor.py - Feature Extraction → Target Website: fetches page
feature_extractor.py - Prediction & Overrides → Trained Pipeline: loads and predicts
predictor.py - Phishing Dataset → Trained Pipeline: trains model
README.md - Prediction & Overrides → Streamlit UI: returns result
streamlit_app.py - Prediction & Overrides → Prediction API: returns result
app.py