# What is Large Language Model (LLM) Security?

> Large language model (LLM) security protects applications built around language models against manipulated instructions, unauthorized disclosure, unsafe output use, and abuse of connected capabilities.

- Canonical URL: https://yellowcube.eu/glossary/large-language-model-security/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

An LLM is a machine-learning model trained on large amounts of data to learn language patterns and generate responses from supplied context. Its output is a prediction shaped by training and input, rather than an authoritative statement or an authorization decision.

Security therefore covers the surrounding application: prompts, retrieved content, conversation storage, model interfaces, credentials, tools, and downstream systems. A model that follows intended instructions in testing can still respond differently to hostile or unfamiliar input.

### Key points

- **Instruction boundaries:** Direct prompts and instructions hidden in documents or tool results can redirect behavior; external content remains untrusted even when it appears relevant.
- **Data exposure:** Sensitive information can escape through responses, logs, retrieved context, or tool arguments. Data minimization and enforced access controls limit what is available to disclose.
- **Output and action controls:** Generated text, code, and tool arguments need validation appropriate to their destination. Narrow permissions and independent approval constrain consequential actions and excessive agency.
- **Important limitation:** Prompt wording, model training, and content filters cannot establish complete security. Protection must remain effective when generated output is incorrect or attacker-influenced.

### Related terms

[AI security](<https://yellowcube.eu/glossary/ai-security/>) · [Prompt injection](<https://yellowcube.eu/glossary/prompt-injection/>) · [Least privilege](<https://yellowcube.eu/glossary/least-privilege/>) · [Agentic AI security](<https://yellowcube.eu/glossary/agentic-ai-security/>)

### Sources

[NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations](https://csrc.nist.gov/pubs/ai/100/2/e2025/final) · [OWASP LLM01:2026 Prompt Injection](https://genai.owasp.org/llm2026/llm012026-prompt-injection/) · [OWASP LLM10:2026 Improper Output Handling](https://genai.owasp.org/llm2026/llm102026-improper-output-handling/) · [OWASP LLM03:2026 Excessive Agency](https://genai.owasp.org/llm2026/llm032026-excessive-agency/)

## Let’s Build Smarter Cyber Defenses Together

Partnerships are the foundation of everything we do — built on trust, expertise, and shared success. Whether you’re looking to grow your business, strengthen your cybersecurity offerings, or bring innovative solutions to new markets, Yellow Cube is ready to be your committed, long-term ally.

[Get in touch with Yellow Cube](<mailto:hello@yellowcube.eu?subject=Partnership>)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

