mlsanityData to 14 Oct 2026

Breaking Obfuscation: Cluster-Aware Graph with LLM-Aided Recovery for Malicious JavaScript Detection

arXiv 2507.22447 ↗First posted 30 Jul 2025cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

With the rapid expansion of web-based applications and cloud services, malicious JavaScript code continues to pose significant threats to user privacy, system integrity, and enterprise security. But, detecting such threats remains challenging due to sophisticated code obfuscation techniques and JavaScript's inherent language characteristics, particularly its nested closure structures and syntactic flexibility. In this work, we propose DeCoda, a hybrid defense framework that combines large language model (LLM)-based deobfuscation with code graph learning: (1) We first construct a sophisticated prompt-learning pipeline with multi-stage refinement, where the LLM progressively reconstructs the original code structure from obfuscated inputs and then generates normalized Abstract Syntax Tree (AST) representations; (2) In JavaScript ASTs, dynamic typing scatters semantically similar nodes while deeply nested functions fracture scope capturing, introducing structural noise and semantic ambiguity. To address these challenges, we then propose to learn hierarchical code graph representations via a Cluster-wise Graph that synergistically integrates graph transformer network, node clustering, and node-to-cluster attention to simultaneously capture both local node-level semantics and global cluster-induced structural relationships from AST graph. Experimental results demonstrate that our method achieves F1-scores of 94.64% and 97.71% on two benchmark datasets, demonstrating absolute improvements of 10.74% and 13.85% over state-of-the-art baselines. In false-positive control evaluation at fixed FPR levels (0.0001, 0.001, 0.01), our approach delivers 4.82, 5.91, and 2.53 higher TPR respectively compared to the best-performing baseline. These results highlight the effectiveness of LLM-based deobfuscation and underscore the importance of modeling cluster-level relationships in detecting malicious code.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 11 of its 46 references that are in the map. First posted on arXiv 30 Jul 2025.

Builds on

11 of 46 references.

References · 11

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2015LSTM: A Search Space Odysseycited by 316
  4. 2014Recurrent Neural Network Regularizationcited by 189
  5. 2021BERT: A Review of Applications in Natural Language Processing and Understandingcited by 109
  6. 2024Vul-LMGNNs: Fusing language models and online-distilled graph neural networks for code vulnerability detectioncited by 11
  7. 2023PMANet: Malicious URL detection via post-trained language model guided multi-level feature attention networkcited by 10
  8. 2024Cluster-wise Graph Transformer with Dual-granularity Kernelized Attentioncited by 8
  9. 2025GraphEdge: Dynamic Graph Partition and Task Scheduling for GNNs Computing in Edge Networkcited by 2
  10. 2019ScriptNet: Neural Static Analysis for Malicious JavaScript Detectioncited by 1
  11. 2025WebGuard++:Interpretable Malicious URL Detection via Bidirectional Fusion of HTML Subgraphs and Multi-Scale Convolutional BERTcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.