TL;DR: Security alert correlation breaks down when LLMs ingest raw IOCs such as emails, URLs, IPs, domains, and hostnames, because token bloat and malformed structured output erode reliability, according to Legion AI. Replacing raw indicators with compact symbolic references turns multi-step investigations into a tractable agentic workflow, and that is the difference between experimentation and operational SOC automation.
Editorial analysis by NHI Mgmt Group, based on content published by Legion AI: “How IOC Indexing Unlocks Automated (AI) Security Alert Correlation”.
By the numbers:
- Across 100 evaluation runs, the full system achieved 100% JSON validity and 100% IOC reference compliance.
Key questions
Q: How should security teams handle raw IOCs in LLM-driven investigations?
A: They should normalize raw IOCs into compact references before the model reasons over them.
Q: How should SOC teams structure indicator data for agentic investigations?
A: Use a registry-backed reference model that converts raw emails, URLs, IPs, domains, hostnames, and hashes into compact identifiers, then reuse those identifiers throughout the case.
Q: What are the signs that IOC handling is failing in AI-driven SOC workflows?
A: The clearest signs are rising token usage, repeated indicator dumps in responses, and malformed structured output such as invalid JSON or broken nesting.
Practitioner guidance
- Implement an IOC registry and reference scheme Assign compact symbolic references to emails, URLs, IPs, domains, hostnames, and hashes before they enter the model so multi-step investigations reuse stable identifiers instead of repeating raw values.
- Separate dynamic case data from static prompt instructions Apply extraction only to step history and tool results, not to the template instructions or examples, to avoid false positives and preserve investigation instructions unchanged.
- Normalize malformed tool output before inference Reformat comma-separated IOC strings and other malformed result fields into clean structured lists before sending them to the agent, because bad input can break otherwise valid JSON generation.
Bottom line: Raw IOCs make LLM-based security investigations brittle because the model has to carry too much repeating context across steps.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
IOC indexing is a working-memory control for agentic security operations. The article shows that the decisive failure mode is not model reasoning alone, but how much ungoverned indicator data the agent is forced to carry between steps. SOC teams should treat indicator representation as a control design problem, not a prompt-writing exercise.
A few things that frame the scale:
- AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: What should teams do when agentic workflows need both traceability and reliable output?
A: Treat indicator indexing, prompt rules, and input cleaning as one control set rather than three separate fixes. The agent needs stable references for reasoning, explicit instructions about when to use them, and preprocessing that removes malformed tool output before inference. That combination is what turns multi-step investigation data into something the model can handle consistently.
👉 Read our full editorial: IOC indexing makes AI security alert correlation reliable