Reproduce “Assessing the Effectiveness of LLMs in Android Application Vulnerability Analysis” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Vasileios Kouliaridis, Georgios Karopoulos, Georgios Kambourakis

An empirical study assessed the effectiveness of nine state-of-the-art Large Language Models in detecting Android application vulnerabilities against the OWASP Mobile Top 10, establishing a new benchmark dataset and demonstrating that certain LLMs, like GPT-4 and Code Llama, can outperform traditional static analysis tools, with Retrieval-Augmented Generation further boosting performance for specific vulnerability categories.

Key insights

  • LLMs exhibit varying levels of effectiveness across different vulnerability types, indicating that no single LLM is universally optimal for all Android security flaws.
  • Context augmentation techniques like RAG can significantly overcome LLM limitations related to outdated training data or lack of domain-specific knowledge, as evidenced by a 233% improvement for M2 (Inadequate Supply Chain Security) with RAG-optimized Code Llama.
  • Certain state-of-the-art LLMs demonstrate superior detection capabilities compared to traditional SAST tools for several OWASP Mobile Top 10 categories, suggesting their potential to augment or improve existing vulnerability detection processes.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.