LLMs reliably identify attack type and intent but fail at severity assessment
LLMs perform well on payload type and intent detection but are weak at judging severity
Security & privacy arXiv 5 Oct 2026 Measurement Simulation evidence
Published as “An Evaluation of the Semantic Understanding Capabilities of Large Language Models for Web Attack Payloads”
Why it matters
The results suggest that LLMs can augment web-application firewalls for type and intent detection but cannot replace dedicated severity assessment or detection mechanisms, especially against obfuscated attacks.
Summary
LLMs can reliably identify payload types and infer attacker intent, but they struggle to assess severity. Their performance on obfuscated payloads drops unevenly, especially for intent explanation and reconstruction of obfuscation techniques. Semantic understanding only explains a minority (12.5%-50%) of missed detections, indicating detection failures often stem from other factors. The evidence comes from a 240-payload, four-layer benchmark (PayloadSemBench) and a 180-record real-world WAF stream, but the paper does not report detailed baseline comparisons or statistical significance.
What they found 3
- LLMs are generally strong at type identification and intent understanding but weak at severity assessment.
“(1) type identification and intent understanding were generally strong, whereas severity assessment was the principal weakness;”
- Obfuscation impacts models unevenly; intent explanation and reconstruction of specific obfuscation techniques degrade more than other layers.
“(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;”
- Semantic understanding and detection decisions are only partially linked, with 12.5%-50% of missed detections attributable to semantic-understanding failures.
“(3) semantic understanding and detection decisions were partially decoupled, with only 12.5% to 50% of missed detections attributable to semantic-understanding failures.”
Caveats 1
- Semantic understanding only accounts for a minority (12.5%-50%) of missed detections, showing that many detection failures occur despite correct semantic interpretation.
What’s new here 4
- A four-layer semantic evaluation benchmark (PayloadSemBench) for web attack payloads.
- Two-round anchor calibration with verification by an independent expert to establish ground truth.
- An analysis that maps semantic-understanding performance to downstream detection decisions.
- External validation on a real-world dataset of production WAF alerts and application requests.