Hoang-Lam Huynh, Quoc-Cuong Tang, Van-Tri Phan, Khuong Nguyen-An
4 min
This paper presents a controlled post-alert incident orchestration and response subsystem for educational information systems. The architecture separates deterministic classification, contextual analysis, human approval, and technical execution. A Rule Engine determines severity and selects the playbook, while Static RAG and a local large language model provide advisory content under Validator, Guardrail, Output Sanitizer, and Safe Fallback controls. Experiments begin after simulated alerts are stored in Elasticsearch. The Rule Engine matched the predefined routing matrix in all 30 boundary cases. The Durable Queue completed 100 events without duplicate tasks, new failed tasks, or unintended firewall rules. An eight-alert contention experiment preserved the configured limit of one active model request, and 30 sequential measurements showed an overall mean post-alert processing time of approximately 33 seconds. The results demonstrate functional correctness, traceability, controlled recovery, and bounded model integration within the evaluated laboratory scope.
This paper introduces a controlled orchestration subsystem designed to automate incident response in educational information systems. As security alert volumes grow, manual review becomes unsustainable, yet automated responses risk disrupting legitimate academic services. The authors propose an architecture that integrates a Rule Engine, a local Large Language Model (LLM), and a durable event queue to manage responses safely.
The system operates on a clear separation of concerns. A deterministic Rule Engine handles severity classification and playbook selection, ensuring that technical decisions remain predictable and auditable. The LLM is relegated to an advisory role, providing contextual analysis that is processed through a rigorous pipeline of validators, guardrails, and output sanitizers. This ensures that even if the model provides incomplete or hallucinated advice, the system defaults to safe, predefined operational policies. The architecture also includes a durable SQLite-based queue to prevent duplicate tasks and ensure recovery from interruptions without re-executing firewall rules.
Experiments conducted in a laboratory environment confirmed that the system maintains functional correctness and safety. The Rule Engine consistently matched predefined routing matrices, and the durable queue successfully processed 100 events without errors or duplicate actions. While the LLM provided useful advisory context, the study found that local inference was the primary processing bottleneck, adding significant latency compared to the deterministic baseline. The authors conclude that for well-defined alert categories, deterministic processing is superior, while LLMs should be reserved for complex, novel scenarios requiring deeper contextual synthesis.
This research provides a blueprint for integrating generative AI into security operations without sacrificing control. By treating LLMs as untrusted advisory components rather than autonomous agents, organizations can leverage AI for analysis while maintaining the strict safety and auditability requirements necessary for critical network infrastructure.
Alex: They tested exactly that — eight simultaneous alerts. The architecture caps the LLM at one active request at a time. Everything else queues, but critically, the deterministic rule processing doesn't wait on the model — it keeps working through the backlog regardless of how many LLM calls are pending. That's the supporting evidence for the main claim: the system's core function survives contention even when the generative component becomes a bottleneck. [[RP_SECTION:limitations-of-static-design|Limitations of Static Design]]
Sam: Is there a scenario where the static design actually falls short — where the safety comes at a real cost?
Alex: Yes, and the authors are upfront about it. Their retrieval layer — a Static RAG setup — depends on manually maintained category mappings for known alert types. If an attack pattern shows up that isn't already in that versioned knowledge base, the system has no mechanism to adapt on its own. It's not going to misfire dangerously, but it also won't recognize something genuinely novel. That's the real ceiling on this architecture, not the LLM's reliability.
Sam: So you're trading the flexibility of a generative system for the predictability of a deterministic one. For a university network where stability matters more than catching zero-days on the fly, that seems like a defensible trade.
Alex: That's the paper's framing too. And it's worth being precise about what the evidence supports here. This was tested in a lab environment with synthetic alerts — not live production traffic, and not at the scale of a large distributed network. The authors don't claim to have solved real-time throughput or scaling; what they've shown is that when you treat an LLM as an untrusted, advisory-only component and force every output through validation, you get a system whose security posture stays predictable even when the model fails or hallucinates.
Sam: That's the part worth sitting with — it's a rebuttal to the assumption that reasoning capability should translate into decision-making authority. Just because a model can generate a plausible next step doesn't mean it should be the one taking it. [[RP_SECTION:future-research-directions|Future Research Directions]]
Alex: Exactly the trap this design avoids. The next step the authors point to is moving from those static category mappings toward something like a dynamic knowledge graph — a way to let the system recognize unfamiliar alert patterns without giving up the deterministic guarantees that make it auditable in the first place. Whether that's achievable without reintroducing the very unpredictability they engineered away is the open question.
Sam: A reasonable place to leave it — deterministic first, generative only where it can't do damage.
Alex: That's the shape of it. Thanks for listening to ResearchPod.