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

LLM

← Back to Glossary
By NHI Mgmt Group Updated November 24, 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. It reads and writes text in tokens, the units, typically word fragments, by which context window size, latency and cost are measured. In security, LLMs support summarisation and automation but raise concerns about data exposure, misuse and untrustworthy outputs.

What LLMs mean in security operations

An LLM is valuable in security because it can summarise large text volumes, draft responses, classify content and help analysts move faster. The same language flexibility also creates risk, because an LLM can confidently produce plausible but wrong output, repeat sensitive input, or amplify bad instructions embedded in the data it consumes.

That makes the security question less about the model as a product and more about how it is used: what data it can see, what actions it can trigger, and how much trust a team places in its output. In practice, the model is often a reasoning and language layer sitting on top of other systems, so its blast radius is determined by the permissions, prompts, tools and retrieval sources around it.

How LLMs work at a practical level

LLMs process text as tokens, which lets them predict and generate language across long prompts and conversations. That token-based design explains many of the practical constraints people notice, including context-window limits, latency, cost and truncation. A model may appear to “remember” a conversation, but it is really working from the text still present in its active context.

The model does not understand truth in the way a human reviewer does. It produces the most likely continuation of the prompt, which is why well-formed prompts can improve usefulness while misleading prompts can steer it into unsafe, irrelevant or fabricated answers. For security teams, that means prompt quality, retrieval quality and output validation are part of the control surface, not just model selection.

Where LLMs create security value

LLMs are most useful where the work is language-heavy and repetitive: summarising tickets, drafting runbooks, searching documents, translating policy into plain English, and helping analysts correlate large volumes of text. They can also support coding, threat research and operational triage when the output is reviewed by a qualified practitioner.

In well-controlled environments, the model can reduce toil and improve consistency. The key is that it should accelerate judgement, not replace it. A safe deployment keeps human approval around consequential actions and treats the model as an assistive system rather than an autonomous authority.

That distinction matters because the most serious LLM failures usually arise when text generation is connected to real data or real privileges. If the model can read customer records, internal documents, API outputs or tool responses, then data handling and access control become part of the LLM security story, not just an IT concern. For broader deployment patterns and governance context, see NIST AI 600-1 GenAI Profile, NIST AI Risk Management Framework and CSA MAESTRO agentic AI threat modeling framework.

Security implications of LLM outputs and context

LLMs can expose sensitive information if prompts, retrieval sources, logs or downstream integrations are not tightly controlled. They also introduce integrity risk when malicious text is embedded in documents, tickets, emails or web content and later treated as instruction. In other words, the model may faithfully process attacker-provided language as if it were trusted input.

The practical consequence is that organisations must think about both confidentiality and instruction integrity. An LLM can leak data through overbroad context, echo secrets from source material, or be manipulated into revealing information it should not surface. It can also generate authoritative-sounding falsehoods, which creates a separate trust problem when the output is used for decision-making, customer communication or automated workflows.

These risks are especially visible when LLMs are wrapped around agents, retrieval systems or enterprise apps. In those cases, the model is no longer just generating text, it is participating in access decisions, content selection and sometimes action execution. That is why identity, permissions and tool boundaries are often more important than the model name itself. Useful reference points include OWASP Agentic AI Top 10, MITRE ATLAS adversarial AI threat matrix and OWASP Non-Human Identity Top 10.

Standards & Framework Alignment

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

CSA MAESTRO, MITRE ATLAS and OWASP Non-Human Identity 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 ProfileCovers GenAI governance, testing and incident handling for LLM deployments.
Recommendation — Apply the GenAI profile to govern prompts, outputs, testing and incident response for the model.
NIST AI RMFAI Risk Management FrameworkDefines risk management practices for trustworthy AI systems, including LLMs.
Recommendation — Use the AI RMF to identify, measure and manage LLM risks across the lifecycle.
CSA MAESTROMAESTROProvides threat modeling for agentic AI systems that often build on LLMs.
Recommendation — Model LLM-driven agent workflows with MAESTRO to expose autonomy, tool-use and orchestration risks.
MITRE ATLASAdversarial Threat Techniques for AICatalogues adversarial techniques against AI systems, including prompt and tool abuse.
Recommendation — Map observed abuse patterns to ATLAS techniques and build detections for AI attack paths.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageLLM deployments often expose credentials or tokens through prompts, logs or retrieval.
Recommendation — Prevent secrets from entering LLM prompts, logs and retrieval contexts.

Practitioner Guidance

Why practitioners should care: Treat every LLM deployment as a data-handling and decision-support system, not just a chatbot. The important question is whether the model can see sensitive information, influence access, or trigger actions beyond what a human reviewer intended. That makes prompt design, retrieval scope, logging and approval flow part of the control model.

What to watch for: Watch for oversharing in prompts, hidden instructions in retrieved content, overconfident answers presented as fact, and any workflow where the model can act before a human validates the result. If the model is connected to tools or enterprise data, constrain what it can reach and review what it returns before it is trusted.

Practitioner takeaway: The safest LLM designs are narrow, supervised and observable. If you cannot explain what data it can access, what it can change, and who reviews its output, the deployment is not ready for production use.

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 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org