JustujuAI, layer by layer.Open in the interactive map

Layer 5 · Foundation Models

Large neural networks trained on broad data that can be adapted to many tasks.

In simple words: The AI itself: a huge pattern-guesser that has read so much it can try almost any task.

reviewed 2026-10-30

Like: A widely read apprentice: has absorbed a huge library and can attempt almost anything, but needs direction to be useful.
Where it breaks: An apprentice remembers what they read. A model stores statistical patterns, not a searchable library, so it can produce fluent text that is simply wrong.

Key players

What it means for your business: Few software companies should train their own model; design so you can swap providers, test open-weight models you could host yourself, and expect the leading model to change often.

As of 2026-10-15. Sources: The 2026 AI Index Report: Technical Performance (Stanford HAI) (2026); Tensor Processing Units (Google Cloud) (2026); DeepSeek-R1 model card (Hugging Face) (2025); Qwen3 Technical Report (2025-05-14); Introducing Mistral 3 (Mistral AI) (2025-12-02)

Security on this layer: 3 threats Pending expert review

Jailbreaks that get past safety training and reveal hidden instructions Pending expert review

Exposed
  • A model's safety training and the app's content rules
  • Hidden context: system prompts, tool definitions and retrieved policy text users can't see
Attacks
  • Wording or optimised gibberish that talks a model out of refusing (jailbreak)
  • Asking the assistant to repeat or summarise its hidden instructions
  • Using leaked instructions and tool lists to aim better attacks
Real case
Research demonstration: Universal adversarial suffixes that jailbreak several aligned models (2023-07)
Controls
  • Assume hidden instructions will leak: keep keys, secrets and access rules out of prompts
  • Enforce permissions in code outside the model, not in its instructions
  • Layer input and output classifiers, and red-team regularly as new jailbreaks appear
Owner
AppSec, with ML engineering
Reference
LLM08:2026 Hidden Context Exposure
AML.T0054 LLM Jailbreak
AML.T0069.002 System Prompt
AML.T0085.003 System Instructions

A hidden backdoor that survives safety training Pending expert review

Exposed
  • Model weights from training runs or third parties
  • Every product built on a backdoored model
Attacks
  • Training a model to behave badly only when a trigger appears
  • Hiding the trigger well enough that testing does not find it
Real case
Research demonstration: Sleeper Agents (2024-01)
Controls
  • Get models from sources you can verify; check signatures and hashes
  • Control who can change training data, code and checkpoints
  • Red-team for triggered behaviour, knowing tests cannot prove a model is clean
Owner
ML engineering, with CISO
Reference
LLM05:2026 Data and Model Poisoning
AML.T0018.000 Poison AI Model

Copying a model by harvesting its answers Pending expert review

Exposed
  • A model's capabilities, reachable through its public API or app
  • Account sign-up and usage limits
Attacks
  • Running many fake accounts to collect answers at scale
  • Training a cheaper model on the collected answers (distillation)
Real case
Incident: Distillation campaigns against a frontier model provider (2026-02)
Controls
  • Detect coordinated accounts and unusual query patterns
  • Rate limits and identity checks matched to the risk of each tier
  • Terms of use that forbid it, with enforcement
Owner
CISO, with Legal/Compliance
Reference
AML.T0005 Replicate AI Model Behavior
AML.T0048.004 AI Intellectual Property Theft

All layers in the security view

What it gives the layer above

A general capability, predicting and generating text and other media, packaged as model weights.

What it needs from the layer below

Training data from Data and large clusters from Cloud & Infrastructure.

Concepts

Walkthrough

  1. Text becomes tokens. “The cat sat on the” is snapped into tokens, and each token becomes a vector of numbers.
  2. Attention mixes in context. Layer after layer, each token looks back at the earlier ones, so “the” knows a cat is sitting.
  3. One token is predicted. The last layer scores every possible next token; “mat” gets the highest probability, and one token is picked.
  4. Pretraining set the weights. All of that only works because pretraining tuned billions of weights by predicting the next token across trillions of examples.
  5. Post-training makes it an assistant, then it's released. Fine-tuning and feedback turn the predictor into a helpful assistant, released either as open weights or behind an API.
  6. Then it's sharpened for a job. Extra training can teach a model to reason step by step before it answers, and open weights let anyone fine-tune specialists, such as coding models.

Examples