Caesar AI Atlas

LLM Security

A security-focused hub for risks and controls around large language models, retrieval systems, prompts, guardrails, and model outputs.

security teamsdevelopersAI governance leadslegal and compliance teams

34

Terms

9

Comparisons

8

Questions

About This Topic

Overview

LLM security covers the ways language-model applications can be attacked, misused, or misconfigured. It combines ordinary application security with prompt controls, retrieval governance, access control, and output evaluation.

Why This Matters

LLM failures can expose confidential files, produce unsafe advice, leak data through prompts, or undermine trust in automated workflows. Security teams need vocabulary that connects model behavior to practical controls.

Compliance Context

Relevant for vendor due diligence, secure deployment reviews, AI audit evidence, red-team programs, and incident response for LLM applications.

Key Takeaways

  • 1Prompt injection is not the same as a jailbreak.
  • 2RAG improves grounding only when retrieval and access control are governed.
  • 3Guardrails are useful but do not replace secure design.
  • 4Security review must cover prompts, tools, retrieval sources, logs, and human escalation.

Key Terms

Related Comparisons

Technical Alternative

RAG vs Fine-Tuning

A side-by-side comparison of Retrieval-Augmented Generation and Fine-Tuning. Understand when to retrieve external context at runtime and when to adapt a pretrained model through additional training.

Hierarchy

Prompt Injection vs Jailbreak

Distinguish between Prompt Injection (hijacking model behavior via malicious input) and Jailbreaking (bypassing safety guardrails to produce restricted content). Both are LLM security threats but differ in mechanism and goal.

Attack / Failure

Prompt Injection vs Data Poisoning

A side-by-side comparison of Prompt Injection and Data Poisoning. Understand how runtime instruction manipulation differs from attacks on training data or the training process.

Risk vs Control

Guardrails vs Content Moderation / Safety Filters

A side-by-side comparison of Guardrails and Content Moderation / Safety Filters. Understand the difference between broad AI system boundaries and specific controls for harmful or disallowed content.

Architecture

System Prompt vs User Prompt

A side-by-side comparison of System Prompt and User Prompt. It explains how application-level behavior instructions differ from the immediate task or question supplied by a user.

Governance

Red Teaming vs AI Audit

A side-by-side comparison of Red Teaming and AI Audit. Understand how the terms differ, when each applies, and what the distinction means for AI governance, system design, or assurance evidence.

Risk vs Control

Security By Design vs Guardrails

A side-by-side comparison of Security By Design and Guardrails. Understand how lifecycle security planning differs from specific controls that keep AI systems within acceptable boundaries.

Common Confusion

Hallucination vs Confabulation

A side-by-side comparison of Hallucination and Confabulation. Understand how both describe plausible but unsupported or fabricated AI output, and why hallucination is often used as the broader operational term.

Common Confusion

Grounding vs Groundedness

A side-by-side comparison of Grounding and Groundedness. Understand the difference between the process of connecting outputs to sources and the property of an output being supported by evidence.

Common Questions

Why can RAG create privacy and security risk?

Retrieval Augmented Generation (RAG) is a technique that combines generative AI with retrieval from external data sources. The model uses retrieved documents, passages, or records as grounding context to produce responses that are more current, specific, and verifiable.

1 related termsintermediate

What are guardrails in an LLM system?

Guardrails are technical, procedural, or policy controls designed to keep AI systems within acceptable boundaries. They may reduce risks such as harmful outputs, data leakage, unauthorized access, policy violations, or unsafe behavior.

1 related termsintermediate

What is grounding in generative AI?

Grounding is the process of connecting an AI model’s output to trusted, verifiable sources of information at inference time. In generative AI, it helps improve factual reliability by supplying relevant context without changing the model’s underlying weights.

1 related termsintermediate

What is hallucination in an AI system?

A hallucination is an AI-generated output that appears plausible or confident but is false, unsupported, misleading, or fabricated. In generative AI, hallucinations may include incorrect facts, invented sources, false citations, or reasoning that is not grounded in reliable evidence.

1 related termsintermediate

How is a system prompt different from a user prompt?

Use system prompt for durable application instructions and constraints; use user prompt for the user’s immediate request, context, and desired output.

1 related termsintermediate

What is red teaming for LLMs?

Red teaming is a structured adversarial testing process used to identify weaknesses, unsafe behavior, or harmful outputs in an AI system. It involves deliberately probing the system with challenging, malicious, or edge-case inputs so developers can evaluate and improve safeguards.

1 related termsintermediate

What is data poisoning in AI systems?

Data poisoning is an adversarial attack in which a malicious actor interferes with the data or training process used to build a model. By inserting, modifying, or corrupting training examples, the attacker seeks to manipulate model behavior, degrade performance, or create targeted failures.

1 related termsadvanced

What is content moderation for AI outputs?

Content moderation and safety filters are controls designed to detect, block, reduce, or escalate harmful, illegal, or policy-disallowed content. In AI systems, they are often combined with policy rules, model-based classifiers, logging, and human review for higher-risk cases.

1 related termsadvanced