JSLibD: Reliable and Heuristic Detection of Third-party Libraries in Miniapps
Open Access
- 26 November 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 11-16
Abstract
Miniapps have become an indispensable part of people's lives. Meanwhile, the utilization of third-party libraries greatly streamlines, expedites, and enhances the development of miniapps. However, ensuring the security of these third-party libraries presents a challenge, as they may harbor security vulnerabilities, such as plaintext transmission. In this paper, we propose JSLibD, an automated extraction method for third-party libraries in miniapps. Unlike conventional extraction methods that heavily rely on prior knowledge, JSLibD introduces a heuristic prediction approach, comprising two integral components: a whitelist matching method to match the known libraries and a heuristic prediction method to extract the unknown libraries using function call relationships. The results demonstrate that JSLibD can efficiently match known libraries, and accurately predict unknown libraries, achieving an impressive precision rate of 85.9% and a high recall rate of 97.2%.Keywords
Funding Information
- National Key R&D Program of China (2022YFB2703500)
- CCF-AFSG Research Fund
- China Postdoctoral Science Foundation (2020M683507, 2019TQ0251, 2020M673439)
- National Natural Science Foundation of China (62232014, 62272377, 62293501, 62293502, 72241433, 61721002, 62032010, 62002280)
- Young Talent Fund of Association for Science and Technology in Shaanxi, China
This publication has 20 references indexed in Scilit:
- Static analysis of android apps: A systematic literature reviewInformation and Software Technology, 2017
- TriggerScope: Towards Detecting Logic Bombs in Android Applications2016
- LibRadar2016
- WuKong: a scalable and accurate two-phase approach to Android app clone detection2015
- Efficient Privilege De-Escalation for Ad Libraries in Mobile Apps2015
- IccTA: Detecting Inter-Component Privacy Leaks in Android Apps2015
- FlowDroidACM SIGPLAN Notices, 2014
- Achieving accuracy and scalability simultaneously in detecting application clones on Android markets2014
- AdDetect: Automated detection of Android ad libraries using semantic analysis2014
- Unsafe exposure analysis of mobile in-app advertisements2012