Dataset Viewer
Auto-converted to Parquet Duplicate
url
stringlengths
2
7.83k
label
stringclasses
2 values
fold
int32
0
4
netti.nic.fi/~pantteri/nightdream.htm
benign
4
realgoodporn.com/sites/hornyforpleasure/index.html
malicious
3
safetyshoesfactory.com/products/SP026-Non-slip-composite-toe-puncture-resistant-fashion-sport-safety-shoes-to-work.html
benign
1
jimpattison.com/
benign
2
applianceprofessional.co.za/2020/02/19/what-you-need-to-know-about-all-assignment-help/
benign
4
ontos.org/home.htm
benign
4
ncrtl.msu.edu/
benign
2
motominer.com/Dealer/Mac-Churchill-Automall-Bedford-Texas-76021/367545ab-dadc-4814-960b-e1412a4e839b
benign
2
groups.yahoo.com/group/all_in_one/
benign
0
hotelsinsider.travelhero.com/index.cfm/id/17798/aid/1620/city/NewBern/index.html
benign
2
ballotpedia.org/wiki/index.php/Ellen_M._Corbett
benign
0
detroitlionspodcast.com/christopher/2017/12/13/ep-134-lions-look-bears-detroit-lions-podcast/
benign
1
dukeengage.duke.edu/blog/?yr=2019&prog=dukeengage-nyc-blog&cat=health-human-services&tag=impact
benign
4
bestworldtraveldestinations.com/pacific-northwest-victoria-british-columbia/
benign
3
dema-france.com/articles/ramasse-fruits-collecteur-de-fruits-bac-25-litres-4121.html
benign
4
saints.sqpn.com/sainte14.htm
benign
2
dinne.ru/recipes/pitstsa-s-tvorogom/
benign
4
gamepro.com/computer/pc/games/reviews/16246.shtml
benign
0
wiretrakusa.com/
benign
4
westciv.com/style_master/academy/browser_support/
benign
3
liendiguypeniel.com/tag/meditation/
benign
1
aahp.org
benign
4
reformiert-online.net/adressen/detail.php?id=13208&lg=eng
benign
3
motormaq.com/spannung-pur-am-kommenden-wochenende-bei-den-fia-wec-6-hours-of-nuerburgring/
benign
0
hfboards.com/showthread.php?t=982065&goto=newpost
benign
3
sanjuanweavers.com/
benign
3
dermoclinic.com/cartera-de-servicios-de-dermatologia-dermoclinic-doctor-vicente-aneri-mas-malaga/dermatologia-estetica-dermoclinic-clinica-dermatologia-doctor-aneri-mas-malaga
benign
3
studentbridge.com/campus-bubble
benign
1
giftassist.net
benign
1
digitalarchive.library.millsaps.edu/digital/collection/imagecoll/id/97/
benign
1
berbudeau-immobilier.com/vente-appartement-4-pieces-carpentras.html
benign
4
dstv-installer.co.za/dstv-installation-philippi/
benign
2
exhibits.lib.berkeley.edu/spotlight/queer/catalog?f%5Bexhibit_tags%5D%5B%5D=Community+Colleges&f%5Bexhibit_tags%5D%5B%5D=San+Francisco&f%5Bexhibit_tags%5D%5B%5D=GLBTHS&f%5Bexhibit_tags%5D%5B%5D=HIV%2FAIDS&per_page=20&view=gallery
benign
1
69-free-hardcore-sex-pictures.com/xman/alisons_hardcore_warnpage.htm
malicious
3
allmusic.com/artist/kate-anna-mcgarrigle-p104022
benign
1
sasugaacademy.com/blog/archive/2018/04
benign
3
business.libertymutualgroup.com/business-insurance
benign
3
russellco.com/
benign
2
worldcoins.org/
benign
2
gamespot.com/pc/sim/fa18hornet/
benign
0
opac.pim.hu/search;jsessionid=24718C563E4F2EF4810E8CB015C9743D?p_p_id=82&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&_82_struts_action=%2Flanguage%2Fview&_82_redirect=%2F&languageId=eu_ES
benign
2
interiortextiles.com
benign
3
castlehoward.co.uk/
benign
0
saomaibiotech.com/lien-he
benign
2
elsevier.com/homepage/sag/eco99/
benign
4
ww_heco.home.mindspring.com/heco_fix.html
benign
2
zbbsjnj.com
benign
4
homevideos.com/revnclas/blood_simple.htm
benign
1
digitalwavemusic.com/
benign
1
cebebuuqypujrnsvnwhvzrxeea-dot-gloff00403993445.uk.r.appspot.com/x
malicious
1
mtvtn.com/products/vintage-university-of-michigan-pink-panther-go-michigan-longsleeve-pocket-t-shirt-navy-large
benign
3
xs4all.nl/~wildcart/tbsbis/
benign
2
haberler.com/basbakan-davutoglu-engelli-kadinin-okudugu-siiri-7303677-haberi/
benign
3
24usoftware.com/
benign
0
vuha.xyz/%E6%98%9F%E5%90%8D%E7%BE%8E%E6%80%9C%E3%81%AB%E6%96%87%E6%98%A5%E7%A0%B2%EF%BC%81%E9%98%BF%E9%83%A8%E9%A1%95%E5%B5%90%E3%81%A8%E3%81%AE%E3%81%8A%E6%B3%8A%E3%82%8A%E3%83%87%E3%83%BC%E3%83%88%E3%82%92/
benign
4
postosmahle.com.br/wp-content/rbc/03dc075e529043fafb22217b9/
malicious
0
thenextweb.com/insider/2014/06/27/how-build-globally-successful-startup-small-country/gtm.start
benign
1
neweradebtsolutions.com
benign
2
counterpunch.org/wormer1011.html
benign
2
fredenfoods.com/
benign
3
prix-immobilier.sansvisavis.com/92/Puteaux-92800/Boulevard-Richard-Wallace/94/
benign
2
transitchicago.com/late-night-single-tracks-in-effect-on-red-and-purple-lines-next-week-due-to-track-maintenance/
benign
0
coolnaturewallpapers.com
benign
4
blog.tottokug.com/archive/category/Photos
benign
4
saiyanzfury.50g.com/
benign
1
toko.tipspetani.com/product/dijual-bibit-cangkok-mangga-madu-kualitas-super-cepat-berbuah-tg-05-m/
benign
1
cswep.org/edgeworth.html
benign
1
fitnessvmedvedkovo.ru/
benign
0
neszeszer.blog.hu/?utm_medium=doboz&utm_campaign=bloghu_cimlap&utm_source=lifenstyle
benign
4
mce.fmi.it/
benign
1
cs.xsnet.cn/
benign
0
shreenathinfotech.com/leu/?1
malicious
0
salzmoto.com/journal/wrench-log-unlinking-the-gls-brakes/
benign
1
military-quotes.com/information-minister.htm
benign
2
turn2sportswear.com
benign
0
aeosmsone.aeosssmaosn.zhaizhang.com.cn/ic6oXx7P3s/page1.php
malicious
3
avpdigital.com
benign
2
updat.atnbangla.tv/cs/myaccount/signin/?country.x=US&locale.x=en_US
malicious
1
detskie-skazki.com/gruzinskie-skazki/cvetok-ezhvana.html
benign
0
supportsecurity.duckdns.org/nabib/nabib/secure.php
malicious
2
en.wikipedia.org/wiki/nicolas_steno
benign
4
72tree.com/tag/tree-cutting/
benign
3
parkerlaw.com/
benign
1
amershamspiritualistcentre.co.uk/
benign
1
britroyals.com/royalfamily.htm
benign
4
sabia-que.com/sabe-de-onde-vem-os-ruivos/
benign
2
tankpenge.dk/facit-laan/
benign
2
mueblesrovira.com/colchoneria/almohadas-y-complementos/toper/toper-con-viscoelastica.html
benign
1
bbk.ac.uk/phil/
benign
3
vencoavendingmachines.com/
benign
3
fetus.ucsfmedicalcenter.org/
benign
2
darkmarkets.com/
benign
4
ryokusuien.com/2018/03/15/25%E5%91%A8%E5%B9%B4%E8%A8%98%E5%BF%B5%E3%82%AD%E3%83%A3%E3%83%B3%E3%83%9A%E3%83%BC%E3%83%B3/
benign
4
dmoz.org/socialcontract.html
benign
3
salehabad.com/product-category/home-appliances/kitchen/floral-and-carving/%D9%82%D8%A7%D8%B4%D9%82-%D8%A7%D8%B3%DA%A9%D9%88%D9%BE/
benign
0
sflvideos.submissionfight.com/?cbg_tz=300
benign
1
pauleensdancestudio.com/
benign
4
tvbrvt.sachweb.com/
benign
1
jonhuntsmanjr.com/category/politics/
benign
3
unisabana.edu.co/enlaces-rapidos/manual-de-onedrive/
benign
3
End of preview. Expand in Data Studio

Malicious URL Detection Benchmark Dataset

This 3-million-URL benchmark dataset was introduced in the paper "From Lab to Production: Malicious URL Detection on Real-World Data" (anonymous submission). It maintains a 9:1 benign-to-malicious ratio and uses site-aware 5-fold splitting, ensuring no site-identifier (second-level domain or IP address) appears in more than one fold.

The design enables robust evaluation of model generalization to unseen threats: by preventing overlap of site-identifiers between training and evaluation sets, models cannot rely on memorizing site-specific patterns and must instead learn structural and semantic features that generalize across sites.

Intended Use

  • Primary task: Malicious URL detection classification (benign vs. malicious URLs).
  • Evaluation: Use site-aware folds for train/validation/test to measure generalization to unseen threats.
  • Suitable for benchmarking string-based models in multi-layer detection pipelines.

Not intended for training production models deployed on single-distribution traffic (use your private data for that).

Dataset Details

  • Total samples: 3,000,000 URLs
    • Benign: 2,700,000
    • Malicious: 300,000 (9:1 ratio preserved in each fold)
  • Columns:
    • url: Raw URL string (string)
    • label: 'benign' (0) or 'malicious' (1) (string or int)
    • fold: Fold ID (0–4) for site-aware cross-validation (integer)
  • Key properties (as defined in the paper):
    • Diversity across structures, lengths, and sources.
    • Consistent folding (similar statistics per fold).
    • Site-aware: No site-identifier (SLD or IP) appears in more than one fold.
    • Balanced length distributions between classes.
  • Sources:
    • Benign: Long-lived URLs from Common Crawl (2021 & 2025) + cleaned public sources.
    • Malicious: Merged/cleaned from PhishTank, URLHaus, and existing datasets.

How to Load

from datasets import load_dataset

dataset = load_dataset("JPxxx/url-benchmark-dataset")

# Example: train on folds 1–4, test on fold 0
train_ds = dataset["train"].filter(lambda x: x["fold"] != 0)
test_ds  = dataset["train"].filter(lambda x: x["fold"] == 0)

The dataset is provided as a single split with a fold column to support flexible site-aware cross-validation.

Statistics (per fold)

  • ~600,000 samples per fold
  • Identical 9:1 class balance across folds
  • Comparable URL length distributions and other statistical properties

Limitations

  • Constructed from multiple public sources; minor distribution shifts may exist compared to any single real-world traffic stream.
  • Malicious samples primarily consist of phishing and malware-delivery URLs (reflecting availability in public sources).
  • Not suitable for direct training of production models.

Citation

If you use this dataset, please cite:

@article{lab2prod2026,
  title={From Lab to Production: Malicious URL Detection on Real-World Data},
  author={Anonymous},
  year={2026},
  note = {Submitted for publication}
}
Downloads last month
19

Collection including JPxxx/url-benchmark-dataset