LLM-Orchestrated Automated Generation and Live Visualization of Web-Security Attack–Defence Scenarios with a Trained Payload Classifier

Security education and tooling validation both requirerealistic, repeatable web-attack scenarios, yet manuallyscripting attack sequences and their corresponding defensiveresponses is labour-intensive and quickly grows stale as newattack variants appear. This paper presents an end-to-end,fully autonomous framework that couples a Large LanguageModel (LLM) reasoning layer with a trained machinelearning payload classifier to generate, execute, defendagainst, and live-visualize web-security attack–defencescenarios against authorized target applications. A red-teamLLM agent selects the next attack from a curated library offourteen OWASP-aligned patterns and instantiates apayload; an execution layer with a strict host allow-listdispatches the request to an isolated vulnerable target; acharacter n-gram TF-IDF classifier with a calibrated linearsupport-vector machine classifies the traffic in near-constanttime; and a blue-team LLM agent produces a categorized,severity-rated mitigation. Every step is streamed over aWebSocket bus to a browser dashboard that renders anattack–defence topology, per-type pass/fail comparisons,and scaled performance metrics in real time. On a held-outevaluation set the proposed detector attains a macro-F1 of0.966, outperforming keyword-rule, bag-of-words, andword-level baselines, while remaining robust to five classesof payload obfuscation and adding under 3 ms of per-steplatency. The framework provides a safe, reproducible, andextensible platform for security training, detectorbenchmarking, and defensive research, and its safety designconfines all generated traffic to owner-controlled hosts.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24790478
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

LLM-Orchestrated Automated Generation and Live Visualization of Web-Security Attack–Defence Scenarios with a Trained Payload Classifier

Archana Yata
Zenodo (CERN European Organization for Nuclear Research)
Web Application Security Vulnerabilities
article

LLM-Orchestrated Automated Generation and Live Visualization of Web-Security Attack–Defence Scenarios with a Trained Payload Classifier

Archana Yata
article en

Abstract

Security education and tooling validation both requirerealistic, repeatable web-attack scenarios, yet manuallyscripting attack sequences and their corresponding defensiveresponses is labour-intensive and quickly grows stale as newattack variants appear. This paper presents an end-to-end,fully autonomous framework that couples a Large LanguageModel (LLM) reasoning layer with a trained machinelearning payload classifier to generate, execute, defendagainst, and live-visualize web-security attack–defencescenarios against authorized target applications. A red-teamLLM agent selects the next attack from a curated library offourteen OWASP-aligned patterns and instantiates apayload; an execution layer with a strict host allow-listdispatches the request to an isolated vulnerable target; acharacter n-gram TF-IDF classifier with a calibrated linearsupport-vector machine classifies the traffic in near-constanttime; and a blue-team LLM agent produces a categorized,severity-rated mitigation. Every step is streamed over aWebSocket bus to a browser dashboard that renders anattack–defence topology, per-type pass/fail comparisons,and scaled performance metrics in real time. On a held-outevaluation set the proposed detector attains a macro-F1 of0.966, outperforming keyword-rule, bag-of-words, andword-level baselines, while remaining robust to five classesof payload obfuscation and adding under 3 ms of per-steplatency. The framework provides a safe, reproducible, andextensible platform for security training, detectorbenchmarking, and defensive research, and its safety designconfines all generated traffic to owner-controlled hosts.

Zenodo (CERN European Organization for Nuclear Research)
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon