JustujuAI, layer by layer.Open in the interactive map

Security

Protecting every layer from attack: supply chain, infrastructure, model files, prompt injection and agent permissions.

Cross-cutting concern, spans every layer · Draft, awaiting expert review, reviewed 2026-10-14

D1 · StoryFor young children and total beginners

Guess: where could a thief sneak in, at the bottom or the top?

Security means keeping bad people out. An AI has many doors: the buildings, the chips, the files that hold what it learned, and the words it reads.

Some attacks are old, like breaking into a building. Some are new, like hiding secret orders inside a web page and hoping the AI will obey them.

Builders lock every door, and give the AI only the keys it really needs.

Like: A house with many doors and windows: one open window is enough.

D2 · PictureFor curious beginners

Each layer has its own attack surface. Sites and hardware can be broken into or tampered with. Chips shared between users can leak data. Training data can be poisoned. Model files can carry hidden code. And text the model reads can carry instructions (prompt injection).

The prize is often the model weights: whoever copies them has the model. A 2024 RAND study counted 38 distinct ways to steal them and found no single fix.

Supply-chain security means checking what you didn't make yourself: datasets, pretrained models, libraries and plugins. Prefer weight formats that can't run code when loaded, and check file hashes or signatures.

Agents raise the stakes. An agent that can read private data, see untrusted content and send messages out can be tricked into leaking that data, so give it the fewest tools it needs and ask a person before risky actions.

Like: A house with many doors and windows: one open window is enough.
Where it breaks: A burglar must come to the house. With AI the attack can arrive as ordinary text in an email or web page that the system reads on its own.

D5 · FrontierFor experts

Prompt injection has no complete fix: models read instructions and data in the same stream of text, so defences lower the risk rather than remove it.

Backdoors can hide in a model. In the Sleeper Agents study, trained-in triggers survived standard safety training, so checking behaviour cannot prove a model is clean.

Poisoning is cheap: researchers showed that 0.01% of two large web-scale image datasets could have been poisoned for about $60.

Models leak what they learned: attackers have pulled verbatim training text, including personal information, out of a model just by querying it.

Protecting weights against the most capable attackers, such as nation states, needs far more investment than ordinary corporate security (RAND, 2024).

On every layer

Examples as of 2026-10-14

Sources

  1. Securing AI Model Weights: Preventing Theft and Misuse of Frontier Models (RAND) (2024-05-30)
  2. OWASP Top 10 for LLM Applications 2025 (2025)
  3. Poisoning Web-Scale Training Datasets is Practical (2023)
  4. Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training (2024)
  5. Extracting Training Data from Large Language Models (2020)
  6. The lethal trifecta for AI agents: private data, untrusted content, and external communication (Simon Willison) (2025-06-16)
  7. Guidelines for secure AI system development: secure deployment (UK NCSC) (2023-11-27)