metadata
license: apache-2.0
language:
- en
tags:
- cybersecurity
- AI
pretty_name: url_defanged
size_categories:
- 1K<n<10K
π‘οΈ Phishing vs Legitimate URLs Dataset
This dataset contains phishing-like and legitimate URLs designed for training and fine-tuning machine learning models (e.g., BERT) to detect phishing attempts.
All phishing samples are defanged (e.g., hxxps://example[.]com) to ensure safety when browsing the dataset.
π Dataset Structure
The dataset includes the following columns:
url_defanged (string) β The URL in a safe format (
hxxps://,[.]instead of.)label (int) β
1β Phishing-like URL0β Legitimate URL
π Usage
You can load the dataset directly with the π€ Datasets library:
from datasets import load_dataset
# Load mixed dataset
dataset = load_dataset("Gamortsey/url_defanged", split="train")
print(dataset[0])