Dataset Viewer
Auto-converted to Parquet Duplicate
url_length
int64
hyphen_count
int64
digit_count
int64
subdomain_count
int64
trusted_tld
int64
protocol_exists
int64
special_char_count
int64
entropy
float64
path_depth
int64
domain_length
int64
is_domain_ip
int64
has_at_symbol
int64
has_double_slash_redirect
int64
tld_length
int64
query_param_count
int64
path_length
int64
url
large_string
label
int64
source
large_string
canonical_url
large_string
first_seen
large_string
last_seen
large_string
collected_at
large_string
24
0
1
2
1
1
6
3.720176
0
17
0
0
0
3
0
0
http://cl4.g.aaplimg.com
0
tranco
cl4.g.aaplimg.com/
2026-08-03
2026-09-02
2026-08-03
23
1
0
0
1
1
5
3.969002
0
16
0
0
0
3
0
0
http://as-noorigmbh.com
1
phishing_database
as-noorigmbh.com/
2026-09-02
2026-09-02
2026-09-02
16
0
0
0
1
1
4
3.32782
0
9
0
0
0
3
0
0
http://jstor.org
0
tranco
jstor.org/
2026-08-04
2026-09-02
2026-08-04
15
0
2
0
0
1
4
3.373557
0
8
0
0
0
2
0
0
http://qoo10.jp
0
tranco
qoo10.jp/
2026-08-04
2026-09-02
2026-08-04
42
2
0
1
0
1
7
4.300072
0
35
0
0
0
2
0
0
http://www-bancodebogota-virtual.glitch.me
1
phishing_database
www-bancodebogota-virtual.glitch.me/
2026-09-02
2026-09-02
2026-09-02
22
0
0
0
1
1
4
3.845351
0
15
0
0
0
3
0
0
http://bandookwala.com
1
phishing_database
bandookwala.com/
2026-09-02
2026-09-02
2026-09-02
18
0
1
1
0
1
5
3.614369
0
11
0
0
0
4
0
0
http://b1.nel.goog
0
tranco
b1.nel.goog/
2026-08-04
2026-09-02
2026-08-04
24
2
0
0
1
1
6
3.772055
0
17
0
0
0
3
0
0
http://binge-o-pedia.net
1
phishing_database
binge-o-pedia.net/
2026-09-02
2026-09-02
2026-09-02
80
0
15
2
0
1
6
4.846762
0
73
0
0
0
2
0
0
http://bafybeiew6qp63rjrxq7stysrnyt237mlpt4irflr2uvyg22gv33xnd5vhy.ipfs.c4rex.co
1
phishing_database
bafybeiew6qp63rjrxq7stysrnyt237mlpt4irflr2uvyg22gv33xnd5vhy.ipfs.c4rex.co/
2026-09-02
2026-09-02
2026-09-02
21
0
0
0
1
1
4
3.689704
0
14
0
0
0
3
0
0
http://openoffice.org
0
tranco
openoffice.org/
2026-08-04
2026-09-02
2026-08-04
20
0
0
1
1
1
5
3.408695
0
13
0
0
0
3
0
0
http://www.txnhh.com
0
tranco
www.txnhh.com/
2026-08-04
2026-09-02
2026-08-04
28
0
0
1
0
1
5
3.923252
0
21
0
0
0
9
0
0
http://techgrounds.github.io
1
phishing_database
techgrounds.github.io/
2026-09-02
2026-09-02
2026-09-02
41
1
5
1
1
1
6
4.558652
0
34
0
0
0
3
0
0
http://oen3hy3bf08nc6uj.gt-industries.com
1
phishing_database
oen3hy3bf08nc6uj.gt-industries.com/
2026-09-02
2026-09-02
2026-09-02
39
1
0
2
0
1
7
3.941649
0
32
0
0
0
5
0
0
http://jaten-jaten.karanganyarkab.go.id
1
phishing_database
jaten-jaten.karanganyarkab.go.id/
2026-09-02
2026-09-02
2026-09-02
23
0
0
0
1
1
4
3.882045
0
16
0
0
0
3
0
0
http://nenadkovacic.com
1
phishing_database
nenadkovacic.com/
2026-09-02
2026-09-02
2026-09-02
17
0
0
0
0
1
4
3.454822
0
10
0
0
0
2
0
0
http://smotrim.ru
0
tranco
smotrim.ru/
2026-08-04
2026-09-02
2026-08-04
29
0
0
1
0
1
5
4.116265
0
22
0
0
0
11
0
0
http://aedsspljuk.duckdns.org
1
phishing_database
aedsspljuk.duckdns.org/
2026-09-02
2026-09-02
2026-09-02
22
1
0
0
0
1
5
3.879664
0
15
0
0
0
4
0
0
http://edgedns-tm.info
0
tranco
edgedns-tm.info/
2026-08-04
2026-09-02
2026-08-04
13
0
0
0
1
1
4
3.392747
0
6
0
0
0
3
0
0
http://dw.com
0
tranco
dw.com/
2026-08-04
2026-09-02
2026-08-04
17
0
0
0
1
1
4
3.690117
0
10
0
0
0
3
0
0
http://dlsite.com
0
tranco
dlsite.com/
2026-08-04
2026-09-02
2026-08-04
34
0
2
1
1
1
5
4.124084
0
27
0
0
0
3
0
0
http://pubgmobileevent66.jetos.com
1
phishing_database
pubgmobileevent66.jetos.com/
2026-09-02
2026-09-02
2026-09-02
24
0
0
1
0
1
5
3.886842
0
17
0
0
0
3
0
0
http://amazom.btuowk.icu
1
phishing_database
amazom.btuowk.icu/
2026-09-02
2026-09-02
2026-09-02
25
0
0
0
1
1
4
4.053661
0
18
0
0
0
3
0
0
http://barcosmagazine.com
1
phishing_database
barcosmagazine.com/
2026-09-02
2026-09-02
2026-09-02
20
0
0
1
0
1
5
3.584184
0
13
0
0
0
6
0
0
http://google.com.pa
0
tranco
google.com.pa/
2026-08-04
2026-09-02
2026-08-04
28
0
0
0
0
1
4
4.110577
0
21
0
0
0
6
0
0
http://adjectiveshubs.online
1
phishing_database
adjectiveshubs.online/
2026-09-02
2026-09-02
2026-09-02
27
0
3
1
0
1
5
4.106377
0
20
0
0
0
9
0
0
http://m365.cloud.microsoft
0
tranco
m365.cloud.microsoft/
2026-08-04
2026-09-02
2026-08-04
44
1
3
1
1
1
6
4.217859
0
37
0
0
0
3
0
0
http://nervate-circumstanc.000webhostapp.com
1
phishing_database
nervate-circumstanc.000webhostapp.com/
2026-09-02
2026-09-02
2026-09-02
13
0
0
0
0
1
4
2.815072
0
6
0
0
0
2
0
0
http://tvp.pl
0
tranco
tvp.pl/
2026-08-04
2026-09-02
2026-08-04
32
0
0
1
0
1
5
3.8125
0
25
0
0
0
11
0
0
http://presentencent.duckdns.org
1
phishing_database
presentencent.duckdns.org/
2026-09-02
2026-09-02
2026-09-02
40
0
0
1
0
1
5
3.825071
0
33
0
0
0
9
0
0
http://preboarddegenperceptive.pages.dev
1
phishing_database
preboarddegenperceptive.pages.dev/
2026-09-02
2026-09-02
2026-09-02
47
0
0
4
0
1
8
4.129191
0
40
0
0
0
18
0
0
http://config.edge.skype.com.trafficmanager.net
0
tranco
config.edge.skype.com.trafficmanager.net/
2026-08-04
2026-09-02
2026-08-04
14
0
0
0
1
1
4
2.835238
0
7
0
0
0
3
0
0
http://att.net
0
tranco
att.net/
2026-08-04
2026-09-02
2026-08-04
19
0
8
0
1
1
4
3.536887
0
12
0
0
0
3
0
0
http://57536577.com
1
phishing_database
57536577.com/
2026-09-02
2026-09-02
2026-09-02
15
0
0
0
1
1
4
3.506891
0
8
0
0
0
3
0
0
http://nber.org
0
tranco
nber.org/
2026-08-04
2026-09-02
2026-08-04
23
1
0
0
1
1
5
3.708132
0
16
0
0
0
3
0
0
http://apple-mapkit.com
0
tranco
apple-mapkit.com/
2026-08-04
2026-09-02
2026-08-04
13
0
0
0
0
1
4
3.180833
0
6
0
0
0
2
0
0
http://tue.nl
0
tranco
tue.nl/
2026-08-04
2026-09-02
2026-08-04
26
1
0
1
0
1
6
3.70044
0
19
0
0
0
3
0
0
http://paypal.next-gen.top
1
phishing_database
paypal.next-gen.top/
2026-09-02
2026-09-02
2026-09-02
34
2
0
1
1
1
7
4.241731
0
27
0
0
0
3
0
0
http://dkb-banking-de.etasarla.com
1
phishing_database
dkb-banking-de.etasarla.com/
2026-09-02
2026-09-02
2026-09-02
38
2
1
1
0
1
7
4.100305
0
31
0
0
0
10
0
0
http://openseapro-nft-gift6.vercel.app
1
phishing_database
openseapro-nft-gift6.vercel.app/
2026-09-02
2026-09-02
2026-09-02
21
0
0
0
1
1
4
4.011365
0
14
0
0
0
3
0
0
http://midjourney.com
0
tranco
midjourney.com/
2026-08-04
2026-09-02
2026-08-04
28
0
0
1
1
1
5
3.94076
0
21
0
0
0
3
0
0
http://demo.vishalrathod.com
1
phishing_database
demo.vishalrathod.com/
2026-09-02
2026-09-02
2026-09-02
21
0
0
0
1
1
4
3.784942
0
14
0
0
0
3
0
0
http://worldatlas.com
0
tranco
worldatlas.com/
2026-08-04
2026-09-02
2026-08-04
35
0
0
1
1
1
5
4.128724
0
28
0
0
0
3
0
0
http://kukuenilogg.mystrikingly.com
1
phishing_database
kukuenilogg.mystrikingly.com/
2026-09-02
2026-09-02
2026-09-02
20
0
0
0
1
1
4
3.684184
0
13
0
0
0
3
0
0
http://tubemogul.com
0
tranco
tubemogul.com/
2026-08-04
2026-09-02
2026-08-04
20
0
2
1
1
1
5
3.721928
0
13
0
0
0
3
0
0
http://cdn.33apk.com
0
tranco
cdn.33apk.com/
2026-08-04
2026-09-02
2026-08-04
22
0
0
0
1
1
4
3.606937
0
15
0
0
0
3
0
0
http://myportfolio.com
0
tranco
myportfolio.com/
2026-08-04
2026-09-02
2026-08-04
16
0
0
1
0
1
5
3.45282
0
9
0
0
0
6
0
0
http://tn.com.ar
0
tranco
tn.com.ar/
2026-08-04
2026-09-02
2026-08-04
32
1
3
1
0
1
6
4.25
0
25
0
0
0
11
0
0
http://news-group202.duckdns.org
1
phishing_database
news-group202.duckdns.org/
2026-09-02
2026-09-02
2026-09-02
20
0
0
0
0
1
4
3.684184
0
13
0
0
0
2
0
0
http://aliexpress.us
0
tranco
aliexpress.us/
2026-08-04
2026-09-02
2026-08-04
33
0
2
2
1
1
6
4.23364
0
26
0
0
0
3
0
0
http://mail.spinpubg13.dpubgx.com
1
phishing_database
mail.spinpubg13.dpubgx.com/
2026-09-02
2026-09-02
2026-09-02
52
1
18
2
1
1
7
4.622765
0
45
0
0
0
3
0
0
http://m.fb-manage15420910343listing.page1925653.com
1
phishing_database
m.fb-manage15420910343listing.page1925653.com/
2026-09-02
2026-09-02
2026-09-02
18
0
1
0
1
1
4
3.836592
0
11
0
0
0
3
0
0
http://easy4ip.com
0
tranco
easy4ip.com/
2026-08-04
2026-09-02
2026-08-04
26
0
0
1
0
1
5
3.873141
0
19
0
0
0
3
0
0
http://ka.maxxiprogram.xyz
1
phishing_database
ka.maxxiprogram.xyz/
2026-09-02
2026-09-02
2026-09-02
30
0
0
0
1
1
4
4.215061
0
23
0
0
0
3
0
0
http://workshopskingallery.com
1
phishing_database
workshopskingallery.com/
2026-09-02
2026-09-02
2026-09-02
20
0
0
0
1
1
4
3.521928
0
13
0
0
0
3
0
0
http://itemsatis.com
0
tranco
itemsatis.com/
2026-08-04
2026-09-02
2026-08-04
37
0
0
1
1
1
5
4.067165
0
30
0
0
0
3
0
0
http://gimenilozgoin.godaddysites.com
1
phishing_database
gimenilozgoin.godaddysites.com/
2026-09-02
2026-09-02
2026-09-02
23
0
0
0
1
1
4
3.93618
0
16
0
0
0
3
0
0
http://blogexotique.com
1
phishing_database
blogexotique.com/
2026-09-02
2026-09-02
2026-09-02
42
0
2
3
1
1
7
4.225185
0
35
0
0
0
3
0
0
http://myster07rk.wixsite.com.usrfiles.com
1
phishing_database
myster07rk.wixsite.com.usrfiles.com/
2026-09-02
2026-09-02
2026-09-02
29
0
0
1
0
1
5
4.211261
0
22
0
0
0
11
0
0
http://lunucgbaqv.duckdns.org
1
phishing_database
lunucgbaqv.duckdns.org/
2026-09-02
2026-09-02
2026-09-02
17
0
0
0
1
1
4
3.454822
0
10
0
0
0
3
0
0
http://lothar.com
0
tranco
lothar.com/
2026-08-04
2026-09-02
2026-08-04
22
1
0
0
0
1
5
3.697846
0
15
0
0
0
4
0
0
http://g-telegann.shop
1
phishing_database
g-telegann.shop/
2026-09-02
2026-09-02
2026-09-02
27
0
1
1
0
1
5
4.060262
0
20
0
0
0
11
0
0
http://kxuihn0b.square.site
1
phishing_database
kxuihn0b.square.site/
2026-09-02
2026-09-02
2026-09-02
22
1
0
0
0
1
5
3.788755
0
15
0
0
0
4
0
0
http://account-jp.buzz
1
phishing_database
account-jp.buzz/
2026-09-02
2026-09-02
2026-09-02
37
4
0
1
0
1
9
4.084868
0
30
0
0
0
10
0
0
http://console-s-ndax--sso.webflow.io
1
phishing_database
console-s-ndax--sso.webflow.io/
2026-09-02
2026-09-02
2026-09-02
29
0
0
1
0
1
5
4.004364
0
22
0
0
0
6
0
0
http://businessinsider.com.pl
0
tranco
businessinsider.com.pl/
2026-08-04
2026-09-02
2026-08-04
27
0
0
0
1
1
4
3.958229
0
20
0
0
0
3
0
0
http://coffeewithabagel.com
1
phishing_database
coffeewithabagel.com/
2026-09-02
2026-09-02
2026-09-02
20
0
0
0
1
1
4
3.684184
0
13
0
0
0
3
0
0
http://amazonaws.com
0
tranco
amazonaws.com/
2026-08-04
2026-09-02
2026-08-04
34
2
0
0
1
1
6
4.138502
0
27
0
0
0
3
0
0
http://parcel-delivery-support.com
1
phishing_database
parcel-delivery-support.com/
2026-09-02
2026-09-02
2026-09-02
22
0
0
0
1
1
4
3.697846
0
15
0
0
0
3
0
0
http://readthedocs.org
0
tranco
readthedocs.org/
2026-08-04
2026-09-02
2026-08-04
15
0
0
0
1
1
4
3.323231
0
8
0
0
0
3
0
0
http://gihc.net
0
tranco
gihc.net/
2026-08-04
2026-09-02
2026-08-04
23
0
0
0
1
1
4
3.849224
0
16
0
0
0
3
0
0
http://nidhigranite.com
1
phishing_database
nidhigranite.com/
2026-09-02
2026-09-02
2026-09-02
40
0
0
1
1
1
5
4.053056
0
33
0
0
0
3
0
0
http://fundingchoicesmessages.google.com
0
tranco
fundingchoicesmessages.google.com/
2026-08-04
2026-09-02
2026-08-04
17
0
0
0
1
1
4
3.734522
0
10
0
0
0
3
0
0
http://gjacky.com
0
tranco
gjacky.com/
2026-08-04
2026-09-02
2026-08-04
25
0
0
1
1
1
5
3.783465
0
18
0
0
0
3
0
0
http://app.postbeyond.com
1
phishing_database
app.postbeyond.com/
2026-09-02
2026-09-02
2026-09-02
40
0
0
3
1
1
7
3.977567
0
33
0
0
0
3
0
0
http://watsonc.events.data.microsoft.com
0
tranco
watsonc.events.data.microsoft.com/
2026-08-04
2026-09-02
2026-08-04
37
2
0
0
1
1
6
4.324186
0
30
0
0
0
3
0
0
http://hypesquad-registration-now.com
1
phishing_database
hypesquad-registration-now.com/
2026-09-02
2026-09-02
2026-09-02
34
1
2
2
0
1
7
4.020855
0
27
0
0
0
7
0
0
http://banco-p.provincia00.repl.co
1
phishing_database
banco-p.provincia00.repl.co/
2026-09-02
2026-09-02
2026-09-02
16
0
0
0
0
1
4
3.32782
0
9
0
0
0
2
0
0
http://hotjar.io
0
tranco
hotjar.io/
2026-08-04
2026-09-02
2026-08-04
15
0
0
0
0
1
4
3.240224
0
8
0
0
0
2
0
0
http://sslip.io
0
tranco
sslip.io/
2026-08-04
2026-09-02
2026-08-04
47
1
4
1
0
1
6
4.335776
0
40
0
0
0
11
0
0
http://hadiahgratisgarena2021-flash.duckdns.org
1
phishing_database
hadiahgratisgarena2021-flash.duckdns.org/
2026-09-02
2026-09-02
2026-09-02
39
2
6
1
0
1
7
4.301696
0
32
0
0
0
11
0
0
http://modest-yonath-531225.netlify.app
1
phishing_database
modest-yonath-531225.netlify.app/
2026-09-02
2026-09-02
2026-09-02
20
0
0
1
0
1
5
3.484184
0
13
0
0
0
6
0
0
http://google.com.ph
0
tranco
google.com.ph/
2026-08-04
2026-09-02
2026-08-04
18
0
0
0
1
1
4
3.308271
0
11
0
0
0
3
0
0
http://onenote.com
0
tranco
onenote.com/
2026-08-04
2026-09-02
2026-08-04
20
1
2
0
1
1
5
4.021928
0
13
0
0
0
3
0
0
http://awsdns-51.com
0
tranco
awsdns-51.com/
2026-08-04
2026-09-02
2026-08-04
42
0
0
1
1
1
5
3.980789
0
35
0
0
0
3
0
0
http://itustcpaitallogiup.godaddysites.com
1
phishing_database
itustcpaitallogiup.godaddysites.com/
2026-09-02
2026-09-02
2026-09-02
33
0
0
1
0
1
5
3.870004
0
26
0
0
0
5
0
0
http://appealaparkingticket.co.uk
1
phishing_database
appealaparkingticket.co.uk/
2026-09-02
2026-09-02
2026-09-02
34
2
8
0
1
1
6
4.337175
0
27
0
0
0
3
0
0
http://fb-marketplace-65458452.com
1
phishing_database
fb-marketplace-65458452.com/
2026-09-02
2026-09-02
2026-09-02
23
0
0
0
1
1
4
3.82791
0
16
0
0
0
3
0
0
http://elsevierpure.com
0
tranco
elsevierpure.com/
2026-08-03
2026-09-02
2026-08-03
22
0
0
0
1
1
4
3.754442
0
15
0
0
0
3
0
0
http://crashlytics.com
0
tranco
crashlytics.com/
2026-08-04
2026-09-02
2026-08-04
38
1
3
1
1
1
6
4.095969
0
31
0
0
0
3
0
0
http://heavy-vectors.000webhostapp.com
1
phishing_database
heavy-vectors.000webhostapp.com/
2026-09-02
2026-09-02
2026-09-02
25
0
0
1
0
1
5
3.843856
0
18
0
0
0
9
0
0
http://becuauth.myftp.biz
1
phishing_database
becuauth.myftp.biz/
2026-09-02
2026-09-02
2026-09-02
21
0
0
1
1
1
5
3.784942
0
14
0
0
0
3
0
0
http://edge.skype.com
0
tranco
edge.skype.com/
2026-08-04
2026-09-02
2026-08-04
19
0
0
1
1
1
5
3.471354
0
12
0
0
0
3
0
0
http://www.xbox.com
0
tranco
www.xbox.com/
2026-08-04
2026-09-02
2026-08-04
16
0
0
0
0
1
4
3.625
0
9
0
0
0
2
0
0
http://infura.io
0
tranco
infura.io/
2026-08-04
2026-09-02
2026-08-04
13
0
0
0
0
1
4
3.392747
0
6
0
0
0
6
0
0
http://web.id
0
tranco
web.id/
2026-08-04
2026-09-02
2026-08-04
29
1
6
1
0
1
6
4.043855
0
22
0
0
0
11
0
0
http://att-104383.square.site
1
phishing_database
att-104383.square.site/
2026-09-02
2026-09-02
2026-09-02
21
0
0
0
1
1
4
3.88018
0
14
0
0
0
3
0
0
http://crunchbase.com
0
tranco
crunchbase.com/
2026-08-04
2026-09-02
2026-08-04
25
0
0
2
0
1
6
3.973661
0
18
0
0
0
6
0
0
http://login.caixa.gov.br
0
tranco
login.caixa.gov.br/
2026-08-04
2026-09-02
2026-08-04
20
0
0
0
0
1
4
3.508695
0
13
0
0
0
2
0
0
http://proofpoint.us
0
tranco
proofpoint.us/
2026-08-04
2026-09-02
2026-08-04
54
2
0
3
0
1
9
4.357037
0
47
0
0
0
16
0
0
http://agoazicdxjdpfddl-dot-millinium.ey.r.appspot.com
1
phishing_database
agoazicdxjdpfddl-dot-millinium.ey.r.appspot.com/
2026-09-02
2026-09-02
2026-09-02
End of preview. Expand in Data Studio

PhishTrap

RACER IS OP

Catch phishing URLs before they catch you — 16 features, 19,954 URLs, balanced 50/50. Cross-verified from 496K phishing domains + Tranco top 10K. Automatically refreshed every 6 hours.

Priorities: Quality > Ease of Access > Quantity

Build pipeline (open source): github.com/instax-dutta/PhishTrap — see how every row is fetched, merged, deduplicated, validated and published.


Dataset Overview

PhishTrap is a curated phishing URL detection dataset built for reproducibility. Every URL is either a confirmed phishing domain (from PyFunceble-verified feeds) or a top-ranked legitimate domain (from Tranco). Features are extracted from URL structure alone — no third-party lookups, no page content.

Property Value
Total Samples 19,954
Phishing URLs 9,977 (50%)
Legitimate URLs 9,977 (50%)
Features 16
Train/Val/Test 70/15/15
Formats CSV, Parquet
License MIT

Features

Original 6 — URL Structure

Feature Description
url_length Total URL character count
hyphen_count Number of hyphens in URL
digit_count Number of digits in URL
subdomain_count Number of subdomains
trusted_tld 1 if TLD is .com/.org/.net/.edu/.gov
protocol_exists 1 if http/https present

Extended 10 — Deeper Signals

Feature Description
special_char_count Count of special characters (@, -, _, ., etc.)
entropy Shannon entropy of URL string
path_depth Number of path segments
domain_length Length of domain portion
is_domain_ip 1 if domain is an IP address
has_at_symbol 1 if @ present in URL
has_double_slash_redirect 1 if // appears after protocol
tld_length Length of top-level domain
query_param_count Number of query parameters
path_length Length of path portion

Data Sources

Phishing URLs

Source Domains Verification
Phishing.Database 496,576 PyFunceble-tested daily (MIT)
OpenPhish 300+ (latest feed) 15-min update cycle

Phishing domains appear in at least one verified source. Domains are deduplicated across sources.

Legitimate URLs

Source Domains Why
Tranco top 10K 10,000 Aggregates CrUX + Cloudflare + Umbrella + Majestic

Legitimate domains are filtered against the phishing set to remove any overlap.


Label

  • 0 = legitimate
  • 1 = phishing

Usage

With Hugging Face Datasets

from datasets import load_dataset

dataset = load_dataset("saidutta69/PhishTrap")
train = dataset["train"]
val = dataset["val"]
test = dataset["test"]

# Train a classifier
from sklearn.ensemble import RandomForestClassifier

X_train = train.select_columns([c for c in train.column_names if c not in ("url", "label", "source")])
y_train = train["label"]
X_test = test.select_columns([c for c in test.column_names if c not in ("url", "label", "source")])
y_test = test["label"]

clf = RandomForestClassifier(n_estimators=100, random_state=42)
clf.fit(X_train, y_train)
print(f"Accuracy: {clf.score(X_test, y_test):.4f}")

With Pandas

import pandas as pd

df = pd.read_csv("hf://datasets/saidutta69/PhishTrap/data/phishtrap_full.csv")
print(df.head())

Auto-Update Pipeline

PhishTrap is continuously refreshed by an automated pipeline. The dataset is rebuilt every 6 hours with fresh phishing URLs from live feeds. The full pipeline is open source at github.com/instax-dutta/PhishTrap.

Architecture

GitHub Actions (cron, every 6h)
  │
  ├─ 1. Fetch phishing URLs  ── OpenPhish (15-min feed) + Phishing.Database + PhishStats
  ├─ 2. Fetch legit domains  ── Tranco top 10K
  ├─ 3. Merge with existing   ── canonical dedup (scheme/port/trailing-slash agnostic)
  ├─ 4. Prune expired         ── phishing URLs unconfirmed > 60 days are dropped
  ├─ 5. Extract 16 features   ── same feature set across all versions
  ├─ 6. Rebalance 50/50       ── stratified sampling
  ├─ 7. Split 70/15/15        ── train/val/test
  └─ 8. Validate + upload     ── pre-upload gates + post-upload verification → Hugging Face

Quality guarantees

  • Freshness tracking — every row carries first_seen, last_seen, and collected_at timestamps; consumers can tell how current each URL is
  • Canonical deduphttp://evil.com, https://evil.com/, and http://evil.com:80 collapse into one row via the canonical_url column
  • New evidence wins — if a legitimate Tranco domain later appears in phishing feeds (e.g. it got compromised), the phishing label overrides it; label conflicts are logged
  • Expiry pruning — phishing URLs unconfirmed for more than 60 days are removed automatically; legitimate domains never expire (Tranco top-10K is stable by design)
  • Provenance preserved — the source column records every feed that reported a URL (e.g. openphish+phishing_database)
  • Source resilience — 3 retries with exponential backoff per fetch; an unreachable source is skipped, never fatal
  • Pre-upload validation — every split is checked for missing features, NaN/inf values, duplicates, and class balance before anything is uploaded
  • Post-upload verification — after pushing, the pipeline downloads the uploaded files and re-validates them
  • Build metadatadata/dataset_info.json records build ID, date, class/source distributions, and schema version
  • No partial state — the full data/ folder is replaced atomically per run

Running the pipeline

export HF_TOKEN=hf_xxx          # required, from HF account settings
python run_pipeline.py          # incremental refresh
python run_pipeline.py --force-full    # rebuild from scratch
python run_pipeline.py --max-samples 20000   # bigger dataset
python run_pipeline.py --dry-run       # fetch/merge/prune/rebalance, no upload

Manual trigger

The GitHub Actions workflow Refresh PhishTrap Dataset can also be triggered manually (workflow_dispatch) with optional force_full and max_samples inputs.


Why PhishTrap?

Most phishing datasets throw URLs at you and call it a day. PhishTrap is different:

  • Cross-verified sources — Every domain earns its place from reputable feeds
  • No data leakage — Separate train/val/test splits with no overlap
  • Clean features — 16 URL-based features, zero third-party API calls needed for inference
  • Reproducible — Methodology is fully documented; re-run the pipeline anytime

Citation

@misc{saidutta69_2026_phishtrap,
  author = {Sai Dutta Abhishek Dash},
  title = {PhishTrap: High-Quality Phishing URL Dataset},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/saidutta69/PhishTrap}}
}

Built with Phishing.Database, OpenPhish, and Tranco. MIT licensed.

Downloads last month
649

Models trained or fine-tuned on saidutta69/PhishTrap

Collection including saidutta69/PhishTrap