An Evaluation of the Semantic Understanding Capabilities of Large Language Models for Web Attack Payloads

Computer vision services delivered through Web interfaces and APIs process textual requests for image-resource acquisition, inference-task configuration, and result management, making Web attack-payload analysis relevant to their deployment security. Large language models (LLMs) can identify payload types and explain attack intent. However, existing studies generally treat payload analysis as a single-layer classification task and lack both a systematic assessment of how deeply LLMs understand payloads and an evaluation benchmark dedicated to the depth of semantic understanding of Web attack payloads. We construct PayloadSemBench, a four-layer semantic evaluation benchmark that operationalizes payload understanding across measurable tasks and comprises 240 payloads. Its ground truth was established through two rounds of anchor calibration and re-verified by a fourth independent expert. Two experiments, a semantic-understanding benchmark and an analysis mapping semantic understanding to detection performance, yielded three main findings: (1) type identification and intent understanding were generally strong, whereas severity assessment was the principal weakness; (2) the effects of obfuscation varied across models and layers, with intent explanation and reconstruction of specific obfuscation techniques more susceptible to degradation, while performance did not degrade synchronously across all layers; and (3) semantic understanding and detection decisions were partially decoupled, with only 12.5% to 50% of missed detections attributable to semantic-understanding failures. External re-evaluation on an independent 180-record dataset comprising production WAF alert streams and real application requests reproduced the non-uniform four-layer capability profile and the layer-specific differences on obfuscated payloads.

Link
https://www.semanticscholar.org/paper/a1c8f03985640129850f51dccb5c3dfa6b6727dc
Found by
Semantic Scholar
Authors
Hao-Qi Sun, Yi-Bin Yao, Chao-Hai Xie, Yu-Qun Lin
Categories
benchmark, evaluation, dataset
Published
2026-10-05
Last seen by the radar
2026-10-07
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: benchmark, dataset, evaluat; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2610.06507
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar