← Lab /Security & privacy

DistilBERT reaches 99.78% accuracy for phishing URL detection

DistilBERT achieves 99.78% accuracy on heterogeneous phishing datasets

Security & privacy arXiv 18 May 2026 Measurement Prototype evidence

Published as “Explainable Machine Learning for Phishing Detection on Heterogeneous Datasets with MCP-Enabled Deployment”

Why it matters

The high accuracy of DistilBERT and CatBoost suggests they could be deployed in real-time phishing URL filters, but the limited feature set and synthetic data temper confidence for production use.

Summary

DistilBERT achieved the highest accuracy at 99.78%, outperforming all other models on the heterogeneous phishing datasets. The paper also reports CatBoost as the best ensemble model with 95.01% accuracy. Experiments span four datasets (UCI, OpenPhish, EvilGinx, GenAI) totaling about 20,000 URLs, using standard metrics and MCP-based robustness metrics. However, the authors note that linear models drop to around 92% on the tool-generated EvilGinx data, indicating variability across data sources. The evidence is based on reported accuracy numbers and detailed tables, but the datasets are synthetic or collected in controlled settings.

What they found 2

  1. DistilBERT achieved the highest accuracy among transformer models at 99.78%

    “DistilBERT got the highest accuracy at 99.78%”

  2. CatBoost achieved the highest accuracy among ensemble models at 95.01%

    “CatBoost achieved the highest accuracy at 95.01%”

Caveats 3

  • On EvilGinx, their performance drops (Logistic Regression 92.48%, ElasticNet 92.66%, SGDClassifier 91.94%)
  • The evaluation mainly uses URL-based and derived numerical features, while real-world phishing detection may also require email content, webpage screenshots, HTML structure, and network-flow data.
  • tool-generated and AI-generated datasets are created in controlled environments and may not fully represent all live phishing behaviors.

What’s new here 4

  • Evaluation across multiple heterogeneous phishing datasets, including tool-generated and AI-generated URLs.
  • Integration of explainable AI techniques (Information Gain, SHAP, LIME) to analyze feature importance for each model.
  • Implementation and assessment of a Model Context Protocol (MCP) enabled phishing detection server for real-time deployment.
  • Comparison of transformer-based models (BERT, DistilBERT) with classical and ensemble methods for phishing URL classification.