Exploiting ML algorithms for Efficient Detection and Prevention of JavaScript-XSS Attacks in Android Based Hybrid Applications
Usama Khalid, Muhammad Abdullah, Kashif Inayat

TL;DR
This paper presents a machine learning-based framework for detecting and preventing JavaScript-XSS attacks in hybrid Android applications, achieving high accuracy with ensemble methods like Random Forest.
Contribution
It introduces a novel ML-driven approach exploiting Java object features for XSS attack detection in hybrid apps, with empirical validation showing superior performance.
Findings
Random Forest achieves 99% accuracy and F-measure.
Ensemble ML algorithms outperform individual classifiers.
The framework effectively detects XSS attacks in hybrid apps.
Abstract
The development and analysis of mobile applications in term of security have become an active research area from many years as many apps are vulnerable to different attacks. Especially the concept of hybrid applications has emerged in the last three years where applications are developed in both native and web languages because the use of web languages raises certain security risks in hybrid mobile applications as it creates possible channels where malicious code can be injected inside the application. WebView is an important component in hybrid mobile applications which used to implements a sandbox mechanism to protect the local resources of smartphone devices from un-authorized access of JavaScript. However, the WebView application program interfaces (APIs) also have security issues. For example, an attacker can attack the hybrid application via JavaScript code by bypassing the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Web Application Security Vulnerabilities · Network Security and Intrusion Detection
