Dr Janaka Senanayake j.senanayake1@rgu.ac.uk
Lecturer
Dr Janaka Senanayake j.senanayake1@rgu.ac.uk
Lecturer
Dr Harsha Kalutarage h.kalutarage@rgu.ac.uk
Associate Professor
Andrei Petrovski
Mhd Omar Al-Kadri
Luca Piras
Sakratis Katsikas
Editor
Adhering to security best practices during the development of Android applications is of paramount importance due to the high prevalence of apps released without proper security measures. While automated tools can be employed to address vulnerabilities during development, they may prove to be inadequate in terms of detecting vulnerabilities. To address this issue, a federated neural network with XAI, named FedREVAN, has been proposed in this study. The initial model was trained on the LVDAndro dataset and can predict potential vulnerabilities with a 96% accuracy and 0.96 F1-Score for binary classification. Moreover, in case the code is vulnerable, FedREVAN can identify the associated CWE category with 93% accuracy and 0.91 F1-Score for multi-class classification. The initial neural network model was released in a federated environment to enable collaborative training and enhancement with other clients. Experimental results demonstrate that the federated neural network model improves accuracy by 2% and F1-Score by 0.04 in multi-class classification. XAI is utilised to present the vulnerability detection results to developers with prediction probabilities for each word in the code. The FedREVAN model has been integrated into an API and further incorporated into Android Studio to provide real-time vulnerability detection. The FedREVAN model is highly efficient, providing prediction probabilities for one code line in an average of 300 ms.
SENANAYAKE, J., KALUTARAGE, H., PETROVSKI, A., AL-KADRI, M.O. and PIRAS, L. 2024. FedREVAN: real-time detection of vulnerable android source code through federated neural network with XAI. In Katsikas, S. et al. (eds.) Computer security: revised selected papers from the proceedings of the International workshops of the 28th European symposium on research in computer security (ESORICS 2023 International Workshops), 25-29 September 2023, The Hague, Netherlands. Lecture notes in computer science, 14399. Cham: Springer [online], part II, pages 426-441. Available from: https://doi.org/10.1007/978-3-031-54129-2_25
Presentation Conference Type | Conference Paper (published) |
---|---|
Conference Name | International workshops of the 28th European symposium on research in computer security (ESORICS 2023 International Workshops) |
Start Date | Sep 25, 2023 |
End Date | Sep 29, 2023 |
Acceptance Date | Aug 14, 2023 |
Online Publication Date | Mar 12, 2024 |
Publication Date | Dec 31, 2024 |
Deposit Date | Apr 26, 2024 |
Publicly Available Date | Mar 13, 2025 |
Publisher | Springer |
Peer Reviewed | Peer Reviewed |
Pages | 426-441 |
Series Title | Lecture notes in computer science |
Series Number | 14399 |
Series ISSN | 0302-9743; 1611-3349 |
Book Title | Computer security: revised selected papers from the proceedings of the International workshops of the 28th European symposium on research in computer security (ESORICS 2023 International Workshops), part II |
ISBN | 9783031541285 |
DOI | https://doi.org/10.1007/978-3-031-54129-2_25 |
Keywords | Systems security; Android applications; Neural networks; Federated learning; Explainable artificial intelligence (XAI) |
Public URL | https://rgu-repository.worktribe.com/output/2271824 |
SENANAYAKE 2024 FedREVAN (AAM)
(4 Mb)
PDF
Android code vulnerabilities early detection using AI-powered ACVED plugin.
(2023)
Presentation / Conference Contribution
Labelled Vulnerability Dataset on Android source code (LVDAndro) to develop AI-based code vulnerability detection models.
(2023)
Presentation / Conference Contribution
AI-powered vulnerability detection for secure source code development.
(2023)
Presentation / Conference Contribution
About OpenAIR@RGU
Administrator e-mail: publications@rgu.ac.uk
This application uses the following open-source libraries:
Apache License Version 2.0 (http://www.apache.org/licenses/)
Apache License Version 2.0 (http://www.apache.org/licenses/)
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search