Conference paper

You Can’t Touch This: Detecting Typosquatting Packages for Enhanced Malware Prevention in Software Supply Chains


Authors listTruong, MinhTien; Gruschka, Nils; Lo Iacono, Luigi

Appeared inNetwork and System Security

Editor listSong, H.H.

Publication year2025

Pages147-166

ISBN978-981-96-3530-6

eISBN978-981-96-3531-3

DOI Linkhttps://doi.org/10.1007/978-981-96-3531-3_8

Conference18th International Conference on Network and System Security (NSS)

Title of seriesLecture Notes in Computer Science

Number in series15564


Abstract

In recent years, typosquatting has become a significant threat to software supply chain systems, where malicious packages deceptively mimic legitimate ones. Attackers register these fraudulent packages with names strikingly similar to those of legitimate packages. As a result, developers can mistakenly download these malicious packages by mistyping the intended package name or selecting a package based on its convincing yet deceptive name.
In this paper, we assess the effectiveness of string-matching algorithms in identifying potential typosquatting candidates. We construct an open dataset comprising 394 typosquatting packages and evaluate the performance of these algorithms based on their ability to detect typosquatting packages. In addition, we introduce a novel string-matching algorithm, an extension of the Damerau-Levenshtein distance, demonstrating a notably higher true-positive rate than existing methods. Since our dataset contains features not previously considered, we also investigate how these new features affect the assignment accuracy of ML-based classifiers. Our results show an overall accuracy rate of 98.4% on our datasets and 96.0% and 93.5% accuracy on evaluating two other open datasets. These results provide valuable insights for researchers, package manager vendors, and developers to improve their understanding of malicious typosquatting packages and improve mediation strategies and technologies.




Citation Styles

Harvard Citation styleTruong, M., Gruschka, N. and Lo Iacono, L. (2025) You Can’t Touch This: Detecting Typosquatting Packages for Enhanced Malware Prevention in Software Supply Chains, in Song, H. (ed.) Network and System Security. Singapore: Springer. pp. 147-166. https://doi.org/10.1007/978-981-96-3531-3_8

APA Citation styleTruong, M., Gruschka, N., & Lo Iacono, L. (2025). You Can’t Touch This: Detecting Typosquatting Packages for Enhanced Malware Prevention in Software Supply Chains. In Song, H. (Ed.), Network and System Security. (pp. 147-166). Springer. https://doi.org/10.1007/978-981-96-3531-3_8


Last updated on 2025-05-08 at 09:59