Benign and Malicious JavaScript Dataset

Published: 27 March 2024| Version 2 | DOI: 10.17632/3drdhrxjm7.2
Dharmaraj Patil


The URLs are sourced from benchmarks containing both malicious and benign JavaScript. Benign URLs are sourced from the Alexa Top sites, while malicious URLs are obtained from the PhishTank database, which includes verified phishing pages. Malicious JavaScript samples are extracted from PhishTank and GeeksOnSecurity-GitHub. Additionally, samples of malicious JavaScript are collected from HynekPetrak/malware-jail. The dataset comprises 77 features extracted from both benign (taken from Alexa Top sites) and malicious samples (collected from PhishTank, GeeksOnSecurity-GitHub and HynekPetrak/malwarejail). It is in SVMlight (.svm) format and includes 4,500 benign JavaScript samples and 2,225 malicious JavaScript samples, totaling 6,725 samples. JavaScript Features used:



Network Security, Web Mining, Information Security