Manuscript Offprint

arXiv:2610.09906

Constrained-Action AI Remediation for SIEM/XDR via a NeMo-Guardrails Proxy

Georgios Koutidis, Nikolaos Kekatos, Tom Nianios, Alexios Lekidis

Georgios Koutidis*, Nikolaos Kekatos*, Tom Nianios*, and Alexios Lekidis†

*Clone Systems, Larnaca, Cyprus

{gkoutidis, nkekatos, tnianios}@clone-systems.com

†University of Thessaly, Department of Intelligent Energy Systems, Larissa, Greece

alekidis@uth.gr

Abstract—Security Operations Centers (SOCs) for information technology and operational technology share one incident-response problem: a flood of correlated alerts and too few analysts. Large Language Models (LLMs) are increasingly proposed as reasoning engines that triage alerts and, in autonomous deployments, issue commands that block IPs, kill processes, or quarantine files on production hosts. This coupling introduces a new risk: a single adversarial alert can become a remote code path through the LLM's reasoning, leading it to recommend an action the SOC then executes. We present a constrained-action architecture with two coordinated layers: (i) a SIEM/XDR control plane that grounds remediation in correlated host events and confines the LLM's output to a closed intent vocabulary whose templated commands are executed by thin endpoint agents, backstopped by an argument validator; and (ii) a NeMo-Guardrails proxy that wraps the SOC-analyst LLM with input-and output-rail policies, evaluated out-of-the-box against a SOC-specific adversarial corpus we release. The stock proxy lifts injection recall from 25.0% to 94.5% at a 0.1% false-positive rate, and a live red-team exercise confirms that the closed intent vocabulary and argument validator contain the observed LLM failure modes before any command crosses the trust boundary. As an architectural fit (not yet a measured operational-technology deployment), the constrained-action property suits critical-infrastructure settings where a wrong remediation has physical, not merely operational, consequences. The loop is best run human-in-the-loop or delayed: the measured rail latency keeps inline control out of scope.

Index Terms—SIEM, XDR, OT security, critical infrastructure, large language models, prompt injection, guardrails, SOC automation, constrained-action policy.

I. INTRODUCTION

Modern Security Operations Centers (SOCs) face two compounding problems. The first is volume: the overwhelming majority of alerts are false positives or low-value triggers [1]–[3]. The second is cognition: analysts cannot keep pace with correlated incidents while junior-tier turnover thins expertise [4], [5].

LLM-based “SOC analyst” agents are an attractive answer: given an enriched incident, a large language model (LLM) with reasoning and tool-use [6], [7] can summarise root cause, propose containment, and, if wired to the security-information-and-event-management (SIEM) system’s active-response engine, trigger it directly. Three properties of this deployment surface make naive integration unsafe:

  1. The input is hostile by construction. The model reads log lines and alert payloads originating, at least partly, from the very adversary it is trying to detect: HTTP bodies that instruct it to ignore prior directives, Base64 prompts in SSH logs, homoglyphs or zero-width characters in alert metadata. Such telemetry-borne manipulation can subvert LLM-driven information-technology (IT) operations end-to-end [8].

  2. The output drives privileged action. A recommended “block IP” or “kill process” may be executed on every endpoint. Hallucinated arguments, taint-style flows through tool calls [9], or attacker-induced choices become outages or self-inflicted DoS, a highest-impact failure mode in agentic-AI surveys [10]. In operational-technology (OT) and critical-infrastructure contexts the same recommendation can disconnect a sensor, trip a relay, or stop a controller, turning an operational bug into a safety incident.

  3. The model itself is a confidentiality boundary. Logs routinely carry credentials, internal IPs, connection strings and user data; forwarding these verbatim to a hosted LLM, or returning them downstream, is a data-exfiltration risk that jailbreaks can amplify [11].

This paper describes a constrained-action AI-remediation pipeline that takes these three properties as first-class constraints. The contributions are:

• An action-bounded SIEM / extended-detection-and-response (XDR) control plane (Section IV). An agent–manager system derived from the Wazuh/OSSEC line [12] in which the manager confines the LLM to a closed intent vocabulary, expands intents into OS-specific templated commands validated argument-by-argument before dispatch, and has thin cross-platform agents execute them. The split removes the LLM’s ability to synthesise executable strings.

• A NeMo-Guardrails LLM proxy (Section V). An OpenAI-compatible proxy that wraps the SOC-analyst’s LLM with an input rail against prompt injection in log content,

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. This work has been accepted for publication at the 2026 IEEE International Conference on Cyber Security and Resilience (IEEE CSR 2026).

an output rail against Personally Identifiable Information (PII) and infrastructure-data leakage, and a topical dialog rail. The proxy reuses default rail primitives, providing a fair external defence layer that can be enabled by a single configuration change.

• An open evaluation against default-configured NeMo Guardrails (Section VI). A head-to-head measurement over a SOC-specific adversarial corpus we release shows the proxy lifts injection recall from 25.0% to 94.5% at 0.1% false-positive rate (FPR), and a live red-team across three MITRE ATT&CK chains confirms the control plane intercepts both observed LLM failure modes (target imprecision and intent drift) before any command crosses the trust boundary.

The two layers interlock around the LLM core: the proxy hardens the prompt and completion paths against injection and data leakage, while the control plane bounds the action path to a closed, audited intent vocabulary.

References (28)

  • 99% false positives: A qualitative study of SOC analysts’ perspectives on security alarms
  • True attacks, attack attempts, or benign triggers? An empirical measurement of network alerts in a security operations center
  • Combating alert fatigue with AlertPro: Context-aware alert prioritization using reinforcement learning for multi-step attack detection
  • Turning contradictions into innovations or: How we learned to stop whining and improve security operations
  • Give Me Structure
  • ReAct: Synergizing reasoning and acting in language models
  • Toolformer: Language models can teach themselves to use tools
  • When AIOps become “AI Oops
  • Make agent defeat agent: Automatic detection of taint-style vulnerabilities in LLM-based agents
  • SoK: Attack and defense landscape of agentic AI systems
  • sudo rm -rf agentic_security
  • Wazuh: The open source security platform
  • AI-driven guided response for security operation centers with Microsoft Copilot for security
  • APPATCH: Automated adaptive prompting large language models for real-world software vulnerability patching
  • AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents
  • Detecting language model attacks with perplexity (opens arXiv in a new tab)
  • SmoothLLM: Defending large language models against jailbreaking attacks
  • Defending LLMs against jailbreaking attacks via backtranslation
  • Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations
  • Presidio: Data protection and de-identification SDK
  • OWASP top 10 for Large Language Model Applications, version 1.1
  • NIST Special Publication 800-82r3: Guide to operational technology (OT) security
  • IEC 62443: Security for industrial automation and control systems
  • Hybrid hierarchical runtime verification for edge-IoT security: Combining MonPoly and RTLola
  • Universal and Transferable Adversarial Attacks on Aligned Language Models
  • JailbreakBench: An open robustness benchmark for jailbreaking large language models
  • HarmBench: A standardized evaluation framework for automated red teaming and robust refusal
  • Loghub: A large collection of system log datasets for AI-driven log analytics