Skip to content

Towards LLM-Enhanced Android Taint Analysis

Aug 2026 · 0 citations · 33 references
Computer Science

TL;DR

Whether off-the-shelf Large Language Models (LLMs) can effectively reason about taint flows in Android apps is investigated, and preliminary findings suggest that LLM reasoning may effectively complement traditional static taint analysis.

Abstract

Taint analysis is a fundamental technique for detecting sensitive data leaks in Android apps. However, traditional static tools, such as FlowDroid, still face well-known challenges due to the complexity of accurately modeling the Android framework. In this paper, we investigate whether off-the-shelf Large Language Models (LLMs) can effectively reason about taint flows in Android apps. Our preliminary approach relies on an agentic interaction strategy, enabling the LLM to iteratively explore code and reason about data flows. We conduct an initial evaluation on the DroidBench benchmark against FlowDroid, where our approach outperforms the baseline: Gemini-3 Flash achieves an F1-score of 0.96, compared to 0.55 for FlowDroid. In particular, we observe improvements in challenging categories such as inter-component communication (0.95 vs. 0.17), implicit flows (0.94 vs. 0.00), and reflection (1.00 vs. 0.50), where FlowDroid typically struggles. On a small set of real-world apps, the LLM-based approach also identifies additional potential data leaks not reported by FlowDroid. These preliminary findings suggest that LLM reasoning may effectively complement traditional static taint analysis, motivating future research on hybrid LLM-enhanced taint analysis pipelines.

View source

Similar papers

Aug 2026

Understanding and Detecting Android R8 Compiler Bugs

An automated testing tool named R8Scan is developed that utilizes a novel idea to synthesize seeds from prioritized real-world functions and construct the corresponding arguments empowered by Large Language Models to test R8, thus enabling the exploration of a broader range of semantics.

Zi-Fan Xie, Ming Wen, Shi-Yu Qiu et al. · 0 citations
Conference Jul 2026

LLM Based Static Malware Analysis for Windows Portable Executables

In this work we introduce a novel application of Large Language Models (LLMs) towards the classification of malicious Windows Portable Executable (WinPE) files. Rather than fine-tuning an LLM based on the raw binary of the samples serving as the corpus, in this case we leverage our in depth knowledge of the underlying...

Timothy Miskell, Yan Luo, Peilong Li et al. · 0 citations
Jul 2026

An Empirical Study for Android-to-OpenHarmony GUI Test Migration

An enhanced approach based on ITeM is proposed, referred as ITeM-HM, which incorporates specific OpenHarmony system features and achieves a 214% success-rate relative improvement over the original ITeM, which is primarily hindered by OpenHarmony-specific characteristics.

Ya-Kun Zhang, Xinjia Chen, Yiyun Chen et al. · 0 citations
Aug 2026

Shalton: Cross-Runtime Static Analysis for Android Applications

Shalton is introduced, a static analysis framework that analyzes CIL bytecode from C# and Dalvik bytecode from Java and reconstructs interactions between CIL and Dalvik components, enabling existing Android static analyzers to reason about both bytecode formats.

Runze Tan, Jun-Tao Hu, Lei Xue et al. · 0 citations
Jul 2026

FUADroid: android malware detection with multi-view API feature fusion using machine learning

FUADroid is proposed, a static malware detection method that fuses structural and statistical-semantic views and achieves strong detection performance and exhibits improved robustness under cross-year evaluation settings.

Jiyun Yang, Fan Mei, Zheng-Dong Wan et al. · 0 citations
Conference Jul 2026

Unveiling Security Traits of Cross-Platform Android Applications: A Large-Scale Empirical Study

Cross-platform frameworks such as Flutter and React Native are increasingly adopted in Android application development, yet their security characteristics at scale remain insufficiently understood. In this paper, we present an empirical security characterization of 3,000 Android applications, consisting of 1,000 Flutte...

Devin Sterling, Yash Patel, Samantha Zuza et al. · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.