An empirical study on the quality, reliability and security of Android native libraries

Modern mobile applications increasingly rely on native libraries, which act as a double-edged sword across the “QRS” spectrum: integrating them under appropriate scenarios elevates software Quality, deploying them without adequate testing leads to misuse that inherently diminishes app Reliability, and harboring vulnerable or malicious code precipitates Security risks. However, comprehensive research examining these “QRS” aspects in the context of native libraries remains fragmented. To bridge this gap, this paper presents an extensive empirical study on the “QRS” facets of native libraries in Android applications. First, we survey industry developers to gather their concerns regarding library usage, security implications, and testing practices. Second, we evaluate the testing behaviors of native libraries by assessing the triggerability of native functions. To facilitate deep semantic analysis, we propose a novel LLM-based approach that automatically identifies native functionalities at both the macroscopic library level (using naming metadata) and the fine-grained function level (leveraging cross-language call-stack contexts), substantially outperforming traditional name-only baselines. Finally, we conduct a large-scale investigation of real-world apps, both benign and malicious. This phase not only uncovers how native libraries are used in practice-comparing empirical data with developer concerns-but also dissects malicious apps to expose their hidden threat behaviors. Our insights and findings can guide application developers to prudently integrate libraries and maximize their benefits, enable library developers to tailor optimizations for specific usage scenarios, and help testers adopt cost-efficient strategies for library validation.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-30
DOI
https://doi.org/10.1038/s41598-026-80075-2
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An empirical study on the quality, reliability and security of Android native libraries

Xuejun Yu, Yin Liu, Wenxuan Liu
Scientific Reports
Advanced Malware Detection Techniques
article

An empirical study on the quality, reliability and security of Android native libraries

Xuejun Yu, Yin Liu, Wenxuan Liu
article en

Abstract

Modern mobile applications increasingly rely on native libraries, which act as a double-edged sword across the “QRS” spectrum: integrating them under appropriate scenarios elevates software Quality, deploying them without adequate testing leads to misuse that inherently diminishes app Reliability, and harboring vulnerable or malicious code precipitates Security risks. However, comprehensive research examining these “QRS” aspects in the context of native libraries remains fragmented. To bridge this gap, this paper presents an extensive empirical study on the “QRS” facets of native libraries in Android applications. First, we survey industry developers to gather their concerns regarding library usage, security implications, and testing practices. Second, we evaluate the testing behaviors of native libraries by assessing the triggerability of native functions. To facilitate deep semantic analysis, we propose a novel LLM-based approach that automatically identifies native functionalities at both the macroscopic library level (using naming metadata) and the fine-grained function level (leveraging cross-language call-stack contexts), substantially outperforming traditional name-only baselines. Finally, we conduct a large-scale investigation of real-world apps, both benign and malicious. This phase not only uncovers how native libraries are used in practice-comparing empirical data with developer concerns-but also dissects malicious apps to expose their hidden threat behaviors. Our insights and findings can guide application developers to prudently integrate libraries and maximize their benefits, enable library developers to tailor optimizations for specific usage scenarios, and help testers adopt cost-efficient strategies for library validation.

Scientific Reports
Beijing University of Technology (CN)
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon