Logo Logo
Hilfe
Hilfe
Switch Language to English

Froh, Fabian ORCID logoORCID: https://orcid.org/0009-0006-1398-1583; Gobbi, Matías F. ORCID logoORCID: https://orcid.org/0009-0003-8823-0029 und Kinder, Johannes ORCID logoORCID: https://orcid.org/0000-0002-8594-7839 (2023): Differential Static Analysis for Detecting Malicious Updates to Open Source Packages. CCS '23: ACM SIGSAC Conference on Computer and Communications Security, Copenhagen Denmark, 30 November 2023. Torres-Arias, Santiago; Melara, Marcela S; Simon, Laurent; Vasilakis, Nikos und Moriarty, Kathleen (Hrsg.): In: Proceedings of the 2023 Workshop on Software Supply Chain Offensive Research and Ecosystem Defenses, New York, NY, United States: Association for Computing Machinery. S. 41-49

Volltext auf 'Open Access LMU' nicht verfügbar.

Abstract

Modern software applications routinely integrate many third-party open source dependencies, with package managers delivering timely updates of the entire dependency tree. The downside is that malicious actors can inject malicious code into widely-used software packages, which is then distributed to potentially thousands of direct or indirect client applications. Such attacks on the software supply chain are no longer just theoretical curiosities, but a practical risk. To mitigate this risk, we propose a new approach using differential static analysis to flag malicious code modifications in package updates. We use specifications in the CodeQL query language to match suspicious behavior and compare results across package versions. Where we detect an anomalous change in behavior, we classify that package update as potentially malicious and requiring further analysis. We show that our approach successfully identifies all malicious versions on a dataset of packages with a history of malicious code; on a dataset of popular benign packages from the npm repository, we obtain on average 1.3% false alarms, demonstrating that our approach holds promise for practical deployment as a warning system on the open source software supply chain.

Dokument bearbeiten Dokument bearbeiten