arXiv · 2305.19760
You Can Run But You Can't Hide: Runtime Protection Against Malicious Package Updates For Node.js
Abstract
Maliciously prepared software packages are an extensively leveraged weapon for software supply chain attacks. The detection of malicious packages is undoubtedly of high priority and many academic and commercial approaches have been developed. In the inevitable case of an attack, one needs resilience against malicious code. To this end, we present a runtime protection for Node.js that automatically limits a package's capabilities to an established minimum. The detection of required capabilities as well as their enforcement at runtime has been implemented and evaluated against known malicious attacks. Our approach was able to prevent 9/10 historic attacks with a median install-time overhead of less than 0.6 seconds and a median runtime overhead of less than 0.2 seconds.
Explore related subjects
Keep this discovery
Marc Ohm, Timo Pohl, Felix Boes. 2023-05-31. You Can Run But You Can't Hide: Runtime Protection Against Malicious Package Updates For Node.js. https://doi.org/10.18420/sicherheit2024_015
Cite the original work for its findings. Save a collection to share your selection of sources.