Litcius/Paper detail

MalWuKong: Towards Fast, Accurate, and Multilingual Detection of Malicious Code Poisoning in OSS Supply Chains

Ningke Li, Shenao Wang, Mingxi Feng, Kailong Wang, Meizhen Wang, Haoyu Wang

202313 citationsDOI

Abstract

In the face of increased threats within software registries and management systems, we address the critical need for effective malicious code detection. In this paper, we propose an innovative approach that integrates source code slicing, inter-procedural analysis, and cross-file inter-procedural analysis, thereby enhancing the detection precision and reducing false positives. This approach has been encapsulated within a multi-analysis-based framework for automatic detection of malicious code in real-world software packages. In its application to major third-party software registries like PyPI and NPM, our framework has proven effective, identifying 130 malicious packages from a total of 169,640 monitored over a continuous period of five weeks. This work advances the current state-of-the-art solution to malicious code detection, demonstrating significant practical impact in strengthening the software supply chain defense.

Topics & Concepts

Computer scienceFalse positive paradoxSource codeSoftwareCode (set theory)Program slicingSlicingComputer securityStatic program analysisOperating systemEmbedded systemSoftware engineeringSoftware developmentProgramming languageArtificial intelligenceWorld Wide WebSet (abstract data type)Advanced Malware Detection TechniquesSoftware Engineering ResearchSoftware Testing and Debugging Techniques