FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Data-flow analysis is foundational to Android app privacy and security auditing. Recent coding agents can assist with non-trivial source-to-sink data-flow analysis tasks by searching, reading, and reasoning over repository code. However, when these tasks are executed as a batch workload, current agentic analysis setups incur substantial re-analysis cost. Agent instances assigned to different taint sources may inspect shared code fragments, because code reuse in the target app can cause different data-flow paths to converge on shared program logic. Since these agent instances are context-isolated, analysis of these shared code fragments can be repeated within a batch, unnecessarily consuming API budget and limiting scalability. We propose FlowArk, a knowledge-reuse system that reduces re-analysis cost in batch agentic data-flow analysis by making knowledge from completed analyses available to later agent instances. Specifically, FlowArk distills completed analysis histories into reusable knowledge candidates, packages these candidates into matchable knowledge entries, and injects matched entries into a later agent instance's context. We implement FlowArk on OpenCode and evaluate it on 4,685 source-to-sink data-flow analysis tasks from 50 open-source Android apps. Compared with standard OpenCode, FlowArk-enabled OpenCode maintains comparable analysis quality while reducing end-to-end API cost by 26.83%. In addition, under a USD 100 budget, FlowArk completes 36.66% more tasks (1,060 vs. 776).
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 43 references that are in the map. First posted on arXiv 13 Jul 2026.
Builds on
23 of 43 references.
Closest ancestors · 2
Same direction, newest first
- 2026Your Code Agent Can Grow Alongside You with Structured Memory25 Feb
- 2025RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing30 Jan
Other references · 21
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
- 2024Repoformer: Selective Retrieval for Repository-Level Code Completioncited by 55
- 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositoriescited by 29
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 22
- 2025Improving Code Localization with Repository Memorycited by 19
- 2025Everything You Wanted to Know About LLM-based Vulnerability Detection But Were Afraid to Askcited by 15
- 2025ReCode: Unify Plan and Action for Universal Granularity Controlcited by 14
- 2023Harnessing the Power of LLM to Support Binary Taint Analysiscited by 13
- 2025The Hidden Cost of Readability: How Code Formatting Silently Consumes Your LLM Budgetcited by 11
9 more
- 2026MemGovern: Enhancing Code Agents through Learning from Governed Human Experiencescited by 10
- 2025QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilitiescited by 7
- 2024VERCATION: Precise Vulnerable Open-source Software Version Identification based on Static Analysis and LLMcited by 6
- 2025Combining Large Language Models with Static Analyzers for Code Review Generationcited by 6
- 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMscited by 4
- 2021A Comprehensive Evaluation of Android ICC Resolution Techniquescited by 3
- 2026Multi-Agent Taint Specification Extraction for Vulnerability Detectioncited by 3
- 2026LLM-based Vulnerability Detection at Project Scale: An Empirical Studycited by 3
- 2026vEcho: A Paradigm Shift from Vulnerability Verification to Proactive Discovery with Large Language Modelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Towards LLM-Enhanced Android Taint Analysis ↗
- 2026MobileCybench: Evaluating Agent Vulnerability Discovery via Executable Probes
- 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolution
- 2026AndroidDaily: A Verifiable Benchmark for Mobile GUI Agents on Real-World Closed-Source Applications
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding
- 2026Credo: Reusable Declarative Primitives for Agentic Workflows
- 2026AOHP: An Open-Source OS-Level Agent Harness for Personalized, Efficient and Secure Interaction
- 2025AgentArmor: Enforcing Program Analysis on Agent Runtime Trace to Defend Against Prompt Injection