Vilim Pagon, Bruno Skendrovic, Ivan Kovačević, S. Groš
{"title":"JavaScript Library Version Detection","authors":"Vilim Pagon, Bruno Skendrovic, Ivan Kovačević, S. Groš","doi":"10.23919/MIPRO57284.2023.10159725","DOIUrl":null,"url":null,"abstract":"There are more than 1.6 billion websites today, and almost every one of them uses JavaScript libraries. Knowing that, it’s very important to show problems that occur as a result of not paying enough attention to security, such as using outdated versions of JavaScript libraries, insecure libraries, and so on. This paper proposes an algorithm for JavaScript library version detection. The algorithm detects version of JavaScript libraries based on differences between neighboring library versions. It’s designed in such a way that it can be run periodically and automatically on a server. The paper also presents results and efficiency of the algorithm on a smaller set of data collected from the Croatian Web space. The success of the algorithm in detecting the correct version is about 50%, and the range of probable versions is an additional 25%. From these results, i.e. the detected versions, we found that the JavaScript libraries used on the websites of the Croatian web space are not regularly updated. Limitations and also possible potential improvements to the algorithm are listed at the end of the paper.","PeriodicalId":177983,"journal":{"name":"2023 46th MIPRO ICT and Electronics Convention (MIPRO)","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 46th MIPRO ICT and Electronics Convention (MIPRO)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/MIPRO57284.2023.10159725","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
There are more than 1.6 billion websites today, and almost every one of them uses JavaScript libraries. Knowing that, it’s very important to show problems that occur as a result of not paying enough attention to security, such as using outdated versions of JavaScript libraries, insecure libraries, and so on. This paper proposes an algorithm for JavaScript library version detection. The algorithm detects version of JavaScript libraries based on differences between neighboring library versions. It’s designed in such a way that it can be run periodically and automatically on a server. The paper also presents results and efficiency of the algorithm on a smaller set of data collected from the Croatian Web space. The success of the algorithm in detecting the correct version is about 50%, and the range of probable versions is an additional 25%. From these results, i.e. the detected versions, we found that the JavaScript libraries used on the websites of the Croatian web space are not regularly updated. Limitations and also possible potential improvements to the algorithm are listed at the end of the paper.