Dataset Open Access

All Your Script Are Belong to Us: Collecting and Analyzing JavaScript Code from 10K Sites for 9 Months

Dimitris Mitropoulos; Panos Louridas; Vitalis Salis; Diomidis Spinellis

We present a massive dataset (~2 TB) of client-side JavaScript code. Specifically, we have collected and stored on adaily basis JavaScript code from Alexa's Top 10000 web sites (~7.5 GB per day) for nine consecutive months. Our collection involved both inline scripts extracted from each web site's main page and external scripts linked from it. In order to aid researchers identify similar scripts and examine their popularity and evolution, we have produced hashes that represent the scripts' logical structure. Furthermore, we have analyzed the resulting dataset with well-established static analysis tools, generating additional metadata including reports with quality bugs and vulnerable libraries.

Files (61.3 GB)
Name Size
defects-jshint.json
md5:a342f46c1cd00d322d00db54995f096b
5.0 MB Download
defects-retire.json
md5:fb9aa18838570dcf633f81f5b4c54b37
358.6 MB Download
hashes.tar.gz
md5:0af19c80475a5397dbfe585f24d113c5
536.5 MB Download
js_evolution_data.tar.gz
md5:6e17d9020e0b4f0f41fd5007f9d3d2e3
60.4 GB Download
418
271
views
downloads
All versions This version
Views 418418
Downloads 271271
Data volume 8.4 TB8.4 TB
Unique views 354354
Unique downloads 133133

Share

Cite as