A Python-based phishing URL detection environment is established in Ubuntu, with VirtualBox available for laboratory isolation and Kali Linux available for optional authorized URL-security inspection.
A publicly available labeled dataset is prepared to support the classification of phishing and legitimate URLs.
URL text is preprocessed and transformed into numerical features using TF-IDF feature engineering, with the vectorizer fitted on the training data to prevent test-data leakage.
A Random Forest classifier is trained to identify phishing-related patterns represented in the prepared dataset.
The trained model is evaluated using a held-out test set, with accuracy, precision, recall, F1-score, and a confusion matrix used where appropriate to measure classification performance.
Classification errors are examined to identify false positives, false negatives, and potential limitations in the dataset or learned patterns.
Random Forest feature importance is analyzed to identify influential TF-IDF features and provide insight into the model's overall classification behavior.
Selected predictions are examined using the available feature information and, where implemented, a validated prediction-level explanation method.
The model's predictions and explanations are checked against the available labels, feature representations, and evaluation results to ensure that conclusions are supported by evidence.
The final report documents the dataset-processing procedure, TF-IDF feature engineering, Random Forest classification, model evaluation, explainability analysis, classification errors, and limitations.
The complete explainable machine-learning workflow for phishing URL detection is demonstrated through dataset-based analysis, classification, feature interpretation, and result validation, without claiming that a predicted label independently confirms whether a URL or website is malicious.