TransURL: Improving malicious URL detection with multi-layer Transformer encoding and multi-scale pyramid features
Not on the map. Why?
Abstract (arXiv)
Machine learning progress is advancing the detection of malicious URLs. However, advanced Transformers applied to URLs face difficulties in extracting local information, character-level details, and structural relationships. To address these challenges, we propose a novel approach for malicious URL detection, named TransURL. This method is implemented by co-training the character-aware Transformer with three feature modules: Multi-Layer Encoding, Multi-Scale Feature Learning, and Spatial Pyramid Attention. This specialized Transformer enables TransURL to extract embeddings with character-level information from URL token sequences, with the three modules aiding the fusion of multi-layer Transformer encodings and the capture of multi-scale local details and structural relationships. The proposed method is evaluated across several challenging scenarios, including class imbalance learning, multi-classification, cross-dataset testing, and adversarial sample attacks. Experimental results demonstrate a significant improvement compared to previous methods. For instance, it achieved a peak F1-score improvement of 40% in class-imbalanced scenarios and surpassed the best baseline by 14.13% in accuracy for adversarial attack scenarios. Additionally, a case study demonstrated that our method accurately identified all 30 active malicious web pages, whereas two previous state-of-the-art methods missed 4 and 7 malicious web pages, respectively. The codes and data are available at: https://github.com/Vul-det/TransURL/.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Dec 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 3.
5 papers.
- 2024Continuous Multi-Task Pre-training for Malicious URL Detection and Webpage Classificationcited by 3
- 2024A Novel Approach to Malicious Code Detection Using CNN-BiLSTM and Feature Fusioncited by 1
- 2025From Past to Present: A Survey of Malicious URL Detection Techniques, Datasets and Code Repositoriescited by 1
- 2025MSCI: Addressing CLIP's Inherent Limitations for Compositional Zero-Shot Learningcited by 1
- 2025WebGuard++:Interpretable Malicious URL Detection via Bidirectional Fusion of HTML Subgraphs and Multi-Scale Convolutional BERTcited by 1
- 2025WebGuard++:Interpretable Malicious URL Detection via Bidirectional Fusion of HTML Subgraphs and Multi-Scale Convolutional BERT24 Jun 2025
- 2025MSCI: Addressing CLIP's Inherent Limitations for Compositional Zero-Shot Learning15 May 2025
- 2025From Past to Present: A Survey of Malicious URL Detection Techniques, Datasets and Code Repositories23 Apr 2025
- 2024A Novel Approach to Malicious Code Detection Using CNN-BiLSTM and Feature Fusion12 Oct 2024
- 2024Continuous Multi-Task Pre-training for Malicious URL Detection and Webpage Classification18 Feb 2024