Insights · AI
Using LLMs to assist security analysts: safe patterns and limits
By the Cystem X Engineering Team - Published - 5 min read
In this article
Security teams drown in data, which makes language models tempting. Used carefully they can speed up routine work. Used carelessly they can invent facts, leak sensitive information or be manipulated by the very data they analyze. The key is assigning them tasks where errors are cheap to catch and keeping analysts in charge.
Where models help
Good uses include summarizing long alerts and incident timelines, drafting queries in the language of your SIEM, explaining unfamiliar commands and scripts, translating logs and reports, drafting tickets and communications, and suggesting next investigative steps.
These tasks save time while leaving judgment with the analyst.
Where they do not
Avoid letting a model make final decisions about severity, containment or attribution without review. Models can state wrong conclusions fluently, and attackers may seed telemetry with text designed to mislead them.
Do not use them as the only control for anything high-impact.
Let the model draft and summarize. Let the analyst decide.
Ground answers in your data
Give the model the relevant evidence: alert fields, related events and asset context, and ask it to cite which items support each statement. Retrieval from runbooks and past incidents improves consistency.
Require the model to say when evidence is insufficient.
Defend against injection
Logs, emails and web content analyzed by a model may contain instructions intended to subvert it. Treat all such data as untrusted, separate it from instructions, restrict the tools available and require approval for any action that changes systems.
Test the setup with adversarial samples.
Protect sensitive data
Alerts contain usernames, internal addresses and sometimes secrets. Use models hosted within your own boundary or under strong contractual protection, redact where possible and log usage. Decide what data classes may be sent to which model.
Address data residency and retention of prompts and outputs.
Evaluate against analyst work
Build test sets from real past cases and measure accuracy of summaries, query correctness and time saved. Have experienced analysts grade outputs, and track how often suggestions are accepted or corrected.
Repeat evaluation whenever the model or prompts change.
Roll out gradually
Start with read-only assistance for a pilot group, collect feedback and expand. Train analysts to verify outputs and to report failures. Keep clear policies on acceptable use.
Revisit the program as capabilities and threats evolve.
Key takeaways
- Use models for summarization, query drafting and explanation.
- Keep humans in charge of severity and containment decisions.
- Ground answers in evidence and require citations.
- Treat analyzed data as untrusted and limit tool access.
- Evaluate on real cases and roll out gradually.
Sources and further reading
This article reflects general practice and publicly available guidance. Teams should consult primary sources, including the OWASP Top 10 for LLM Applications, the NIST AI Risk Management Framework and the documentation of your SIEM and model providers, and adapt the guidance to their own environment, risk appetite and legal obligations.
Keep reading
More engineering guidance from the Cystem X team.
AI
AI governance in practice: ISO/IEC 42001 and the NIST AI RMF
Inventory, risk assessment, roles and lifecycle controls, with ISO/IEC 42001 and the NIST AI RMF.
Read articleAI
Intelligent document processing: extracting structure from paper and PDFs
OCR, layout analysis, extraction, validation and human review: building reliable document pipelines.
Read articleAI
MLOps in production: monitoring models and detecting drift
Models decay after launch. How to monitor drift, trigger retraining and release safely.
Read articleAI Security & Trust
Bring AI into the SOC with guardrails.
We design and test AI-assisted security workflows that keep analysts in control.
Explore AI Security & Trust