← Lab /Security & privacy

RAVEN automatically classifies security alerts and generates context-aware remediation suggestions

RAVEN can classify security events and produce tailored mitigation advice for enterprise environments

Security & privacy arXiv 19 Nov 2026 Method Prototype evidence

Published as “RAVEN: A Self-RAG Based Agent for Threat Classification and Response”

Why it matters

Retrieval-augmented, on-premises LLM triage can noticeably boost detection of context-dependent web attacks and produce actionable, infrastructure-specific mitigations without costly fine-tuning.

Summary

RAVEN’s Self-RAG-inspired pipeline improves alert classification, achieving an F1 of 0.99 on SQLi and XSS and 0.92 on SSTI, with the biggest gain on context-dependent SSTI attacks (F1 rises from 0.84 to 0.92). The system is training-free, runs on-premises, and generates device-level firewall rules and hardening proposals grounded in a lightweight YAML infrastructure model. Evidence comes from a single-run ablation on three balanced test sets of 400 payloads each, and the authors note that the evaluation uses curated payloads rather than real IDS alerts, so results are preliminary.

What they found 2

  1. Self-RAG improves SSTI detection F1 from 0.84 to 0.92

    “F1 rises from 0.84 (LLM-only) to 0.89 (RAG) and 0.92 (Self-RAG).”

  2. Overall system reaches high F1 on well-patterned attacks

    “The full system reaches an F1 of 0.99 on SQLi and XSS and 0.92 on SSTI.”

Caveats 3

  • the advantage of Self-RAG over standard RAG is modest (0-3 F1 points).
  • These samples are payloads from a curated dataset rather than alerts raised by a running IDS, a limitation we discuss in Section 5.
  • the analyst checkpoint is currently a design safeguard rather than an evaluated component:

What’s new here 3

  • Applies Self-RAG without any fine-tuning, using a prompt-based relevance judge.
  • Introduces an analyst-gated two-stage pipeline that couples alert classification with infrastructure-grounded mitigation generation.
  • Runs entirely on-premises with an open-weight LLM, avoiding third-party API exposure.