GenXSS: an AI-Driven Framework for Automated Detection of XSS Attacks in WAFs

Vahid Babaey, Arun Ravindran · 2025

Read GenXSS: an AI-Driven Framework for Automated Detection of XSS Attacks in WAFs by Vahid Babaey, Arun Ravindran (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-08176.txt.

Description

Vahid Babaey and Arun Ravindran build an AI framework that attacks web firewalls so it can teach them to defend better. Their 2025 paper, GenXSS, targets cross-site scripting, where hostile scripts are slipped into web pages. Rule-based firewalls miss heavily disguised attacks because their rules need hand updates.

The system first uses a large language model to invent sophisticated attack scripts, then fires them at a test application behind a firewall. Attacks that slip through are sorted, and new firewall rules are drafted to stop them. With GPT-4o, the team generated 264 attack samples, most of them valid, and a large share challenged the defense. The loop turns offense into patch.

Catalog record

CREATORVahid Babaey, Arun Ravindran
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE28 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-08176

Browse the full library · About the Tower of Babel