arrow
Return

Demystifying React Native Android Apps for Static Analysis

delete2024-11-12
delete0
delete
OA
AI
Y
Yonghui Liu
X
Xiao Chen
P
Pei Liu
J
Jordan Samhi
J
John Grundy
C
Chunyang Chen
L
Li Li
DOI:10.1145/3702977delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
React Native, an open source framework, simplifies cross-platform app development by allowing JavaScript-side code to interact with native-side code. Previous studies disregarded React Native, resulting in insufficient static analysis of React Native app code. This study initiates the investigation of challenges when statically analyzing React Native apps. We propose REUNIFY to improve Soot-based static analysis coverage for JavaScript-side and native-side code. REUNIFY converts Hermes bytecode to Soot's intermediate representation. Hermes bytecode, compiled from JavaScript code and integrated into React Native apps, possesses a unique syntax that eludes current JavaScript analyzers. Additionally, we investigate opcode distribution and conduct in-depth analyses of the usage of opcode between popular apps and malware. We also propose a benchmark consisting of 97 control flow-related cases to validate the control flow recovery of the generated intermediate representation. Furthermore, we model the cross-language communication mechanisms of React Native to expand the static analysis coverage for native-side code. Our evaluation demonstrates that REUNIFY enables an average increase of 84% in reached nodes within the callgraph and further identifies an average of two additional privacy leaks in taint analysis. In summary, this article demonstrates that REUNIFY significantly improves the static analysis for the React Native Android apps.
Keywords:
Android
React Native
Mobile App
Static Analysis

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

T
Tech Univ Munich
Scholars:
2.4K
Papers: 1.1K
Citations: 495
U
Univ Autonoma Madrid
Scholars:
1.3K
Papers: 673
Citations: 147
U
Univ Newcastle
Scholars:
421
Papers: 274
Citations: 74
C
CISPA
Scholars:
1
Papers: 1
Citations: 0
C
CSIROs Data61
Scholars:
6
Papers: 3
Citations: 1
researcher View more organizations
Cited Papers

Cited Papers

In vitro digestion and fermentation characteristics of tropical ingredients, co-products and by-products with potential use in diets for rabbits
err2019-06-01
err0
PREAI
errFelipe Norberto Alves Ferreira; Walter Motta Ferreira; Diogo Felipe da Silva Inácio; Clarice Speridião Silva Neta; Katiuscia Cristina das Neves Mota; Martolino Barbosa da Costa Júnior; Leonardo Francisco da Rocha; Willan Orlando Caicedo
errShare
errSave
Pre-radiation Chemotherapy for Malignant Glioma in Adults
err2015-09-18
err0
errOAAI
errSarah Kirby; David Macdonald; Barbara Fisher; Laurie Gaspar; Gregory Cairncross
errShare
errSave
Automated Testing of Android Apps: A Systematic Literature Review
err2019-03-01
err132
errOAAI
errKong, Pingfan; Li, Li; Gao, Jun; Liu, Kui; Bissyande, Tegawende F.; Klein, Jacques
errShare
errSave
Canonical dynamics of the Nosé oscillator: Stability, order, and chaos
err1986-06-01
err0
PREAI
errHarald A. Posch; William G. Hoover; Franz J. Vesely
errShare
errSave
Static analysis of android apps: A systematic literature review
err2017-08-01
err230
errOAAI
errLi, Li; Bissyande, Tegawende F.; Papadakis, Mike; Rasthofer, Siegfried; Bartel, Alexandre; Octeau, Damien; Klein, Jacques; Traon, Le
errShare
errSave
no more