url_defanged / README.md
Gamortsey's picture
Update README.md
a36fa85 verified
|
Raw
History Blame Contribute Delete
959 Bytes
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 URL
    • 0 β†’ 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])