Skip to content

Transformer Based End to End Web Application Firewall Pipeline for Intelligent Threat Detection

Jul 2026 · International Scientific Journal of Engineering and Management · Vol 05, pp. 1-9 · 0 citations

TL;DR

An intelligent, transformer-based end-to-end Web Application Firewall (WAF) pipeline that leverages the self-attention mechanism of transformer architectures to capture long-range dependencies within HTTP request sequences is proposed.

Abstract

ABSTRACT - Modern web applications face an unprecedented surge in sophisticated cyber threats, including SQL injection, cross-site scripting (XSS), remote code execution, and credential stuffing attacks. Traditional rule-based Web Application Firewalls fail to detect zero-day exploits and context-dependent attack patterns due to their static, signature-driven nature. This paper proposes an intelligent, transformer-based end-to-end Web Application Firewall (WAF) pipeline that leverages the self-attention mechanism of transformer architectures to capture long-range dependencies within HTTP request sequences. The proposed system ingests raw HTTP traffic, performs tokenization and feature extraction, and feeds the encoded representation into a fine-tuned BERT variant for binary and multi-class threat classification. The pipeline integrates preprocessing, model inference, and response action modules into a unified deployment-ready architecture. Experimental evaluation on benchmark intrusion datasets including CSIC 2010 and HTTPD-DS  demonstrates that the proposed transformer WAF achieves 97.8% detection accuracy, 96.4% F1-score, and sub-10ms inference latency, outperforming conventional machine learning and CNN-based approaches. This work establishes transformer models as a practical and deployable foundation for next-generation WAF systems. Keywords — Web Application Firewall, Transformer, BERT, HTTP Traffic Analysis, Intrusion Detection, Deep Learning, Cybersecurity, NLP

View source

Similar papers

Open access Aug 2026

LLM-WAF: An Intelligent Web Application Firewall Powered by Large Language Models for Advanced Threat Detection

LLM-WAF is introduced, a new intelligent firewall architecture that uses Large Language Models (LLMs) to analyze HTTP traffic contextually and semantically to identify malicious payloads through natural language processing capabilities rather than static rule matching.

Y. Khalaf · 0 citations
Open access 2026

TDNET: A Dual-Channel Injection Attack Detection Framework for Web Application Firewalls

This work proposes an injection attack detection framework, TDNET, that combines dual-channel feature extraction, multidimensional feature fusion, adaptive attention refinement, and time-sensitive neural architecture search optimization.

Congzhao Wen, Mingzhan Wu, Kongsheng Lin et al. · 0 citations
Open access Aug 2026

Application of C4.5 Decision Tree Algorithm for Detecting Cyber Attacks Using IDS

This work constructs a web-based Intrusion Detection System prototype by training an entropy-based Decision Tree classifier, conceptually grounded in the C4.5 framework, on the NSL-KDD benchmark.

Daniel Erick Witopo, Hartana Wijaya · 0 citations
Conference Aug 2026

Semantic Representation Learning using Transformer Architectures for Context Aware Detection of Web Application Attack

The modern day digital world is virtually entirely run on web applications, which can be used in social media and banking, e-commerce and even healthcare. However, they also continue to get increasingly targetable to advanced cyberattacks such as SQL injection and cross site scripting and command based injection as the...

G. Joshna, J. Godwin Ponsam · 0 citations
Open access Aug 2026

ZeroProbe: An Intelligent Web-Based Vulnerability Scanner Integrating Automated Detection and AI-Based Analysis

The findings confirm that an accessible, accurate, and AI-augmented vulnerability scanner can be constructed for educational and entry-level use within a deliberately bounded scope, lowering the expertise barrier for web application security assessment.

Dah Berrou, Zaenal Alamsyah, Nugraha Nugraha · 0 citations
Open access Aug 2026

Real-Time Detection and Mitigation of Prompt Injection Attacks in LLM-Integrated Enterprise Systems

Large language models (LLMs) embedded in enterprise workflows cannot structurally distinguish legitimate instructions from adversarial ones in the same token stream, making prompt injection OWASP's top LLM risk for two consecutive editions a persistent threat across direct and indirect vectors. This paper presents Prom...

Fatimah Alhamzawi · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.