Join our Newsletter — 33% off our NHI Course
Cyber Security

LLM

← Back to Glossary
By NHI Mgmt Group Updated November 4, 2026 Domain: Cyber Security

An LLM, or large language model, is a generative AI system trained on large amounts of text to produce and transform language. In security contexts, LLMs can support summarisation, analysis, and automation, but they also raise concerns around data exposure, misuse, and overreliance on outputs that are not always trustworthy.

What an LLM is in security terms

An LLM is a probabilistic text system, not a source of truth. That distinction matters in security because its outputs can sound confident even when they are incomplete, stale, or wrong, so users must treat generated text as assistance for analysis, drafting, and triage rather than as authoritative evidence.

In practice, the security value of an LLM comes from how it is used: summarising incident notes, accelerating policy review, or helping analysts navigate large document sets. The same qualities that make it useful also create failure modes, especially when teams over-trust outputs or feed the model information it should not retain or reveal.

For a deeper view of LLM risk management in deployed systems, see NIST AI 600-1 GenAI Profile.

How LLMs create security value

Security teams use LLMs to compress complexity. They can turn logs, tickets, advisories, and long technical threads into readable summaries, which helps with situational awareness and speed of review. They can also support drafting and translation work, especially where the goal is to reduce analyst toil rather than automate a final decision.

The useful pattern is augmentation, not delegation. An LLM can prepare a first pass, surface candidate themes, or propose language, but humans still need to validate the result against source material, policy, and context. That is why LLMs are often most effective in review-heavy workflows where the cost of missing context is high but the cost of a false lead is manageable.

For organisations building this into governance and assurance processes, NIST AI Risk Management Framework is a useful companion for setting risk treatment expectations around generative AI use.

Where LLM security breaks down

LLMs fail most often when organisations treat them like deterministic systems. Prompt injection, data leakage through context, hallucinated details, unsafe tool use, and over-broad access to connectors or enterprise data are all common failure patterns. The model itself may not be the only problem, because a weak wrapper, unsafe retrieval layer, or poor identity boundary can turn an ordinary assistant into a data exposure path.

Another practical weakness is secrecy handling. If prompts, retrieval content, chat transcripts, or connected documents contain credentials, keys, or sensitive business data, the risk is not just disclosure in one answer, but reuse, retention, or propagation into logs and downstream systems. The security posture therefore depends on the full surrounding application, not only on the model weights.

For threat modelling of these failure patterns, MITRE ATLAS adversarial AI threat matrix helps map prompt injection, memory manipulation, and tool misuse to known adversarial techniques.

How LLMs should be governed and controlled

Governance for LLMs should focus on data handling, access boundaries, output validation, and the scope of any connected tools. The important question is not whether the model can answer, but whether the surrounding system can prevent sensitive inputs from being exposed and prevent low-confidence output from being treated as a decision.

For security architecture, that means separating trusted from untrusted content, limiting what the model can retrieve or execute, logging materially important interactions, and making human review mandatory where the consequence of error is significant. LLMs are safest when they are embedded in a controlled workflow with clear ownership, measurable guardrails, and a defined fallback path when the model is uncertain.

For agentic or tool-using deployments, OWASP Agentic AI Top 10 adds a practical security lens on identity, privilege, tool misuse, and cascading failure modes.

Risk and Threat Considerations

LLMs create risk when confidence outruns control. A persuasive but incorrect model response can mislead analysts, expose sensitive content, or trigger unsafe automation, especially when the LLM sits inside workflows that touch enterprise data or external tools.

Failure mechanism: Attackers or careless users can exploit prompt injection, retrieval poisoning, weak data segregation, or over-permissive connectors to make the system reveal information, act on bad instructions, or propagate untrusted output into other systems.

Impact: The likely consequences are data exposure, operational error, policy bypass, and loss of trust in AI-assisted workflows, with the severity rising when the LLM can access high-value documents, secrets, or privileged business processes.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI 600-1 and NIST AI RMF set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST AI 600-1Generative AI ProfileDefines governance and risk controls for generative AI systems like LLMs.
Recommendation — Apply the GenAI profile to test, govern, and monitor LLM use before production rollout.
NIST AI RMFAI Risk Management FrameworkProvides the risk governance structure for trustworthy AI use, including LLM deployments.
Recommendation — Use the AI RMF to govern LLM risk, accountability, and ongoing monitoring.
MITRE ATT&CKT1567 — Exfiltration to Cloud StorageLLM workflows can be abused to move sensitive output into external services or storage.
Recommendation — Map LLM data-exposure paths to ATT&CK and hunt for suspicious exfiltration behavior.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseTool-using LLM systems can overreach privileges or misuse delegated authority.
ASI02 — Tool MisuseLLM-based assistants may invoke tools in unsafe or unintended ways.
Recommendation — Constrain LLM tool access and enforce least privilege for any delegated actions. Restrict and validate tool invocation paths exposed to LLM-driven workflows.

Practitioner Guidance

Why practitioners should care: LLM adoption changes the control problem from “can the model generate text?” to “can the organisation safely bound what the model sees, says, and does?” That is a governance and security design question, not just a tooling choice.

Common misunderstanding: Teams often assume that a polished response means a correct one. For security work, the safer assumption is that every output is advisory until it is validated against authoritative sources or policy.

Practitioner takeaway: Treat the model as a productivity layer, then secure the data paths, tool permissions, and review process around it as if they were part of the production attack surface.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 4, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org