JustujuAI, layer by layer.Open in the interactive map

Chat assistants

General-purpose chat apps where you type, talk or upload files, and an assistant answers, writes, searches and uses tools.

Layer 9 · Applications & Interfaces · Run time · reviewed 2026-10-30

Read first: Post-training: from predictor to assistant.

SimpleA plain explanation, one diagram and an analogy, with where the analogy breaks.

Guess first: does the chat app remember you, or does the model?

Show the answerThe app. The model forgets every chat; the app keeps notes and sends them back each time.

A chat assistant is an app where you talk with an AI in a conversation.

You ask, it answers, and you can ask follow-up questions. Many can also search the web, read your files or make pictures.

The chat window is the visible part. On every turn the app sends the whole conversation, plus hidden instructions, to the model, because the model itself keeps no memory between calls.

Modern chat apps are harnesses too: they add web search, file reading, code running, image tools, connectors to your accounts and saved memories about you.

One model can be reached in several ways: the maker's own app, a third-party app that lets you switch models, or a local chat app talking to a model on your own machine.

Chat windowmessages, files, voiceApp featuressearch, memory, connectorsEach turninstructions + whole conversationModelcloud API or local
What sits behind a chat window

Like: A very well-read help desk that never closes.
Where it breaks: A help desk worker remembers yesterday's call. The model does not; any memory is notes the app saves and adds to the prompt, which you can usually view and delete.

ResearchWhere the simple picture breaks, open problems and primary sources.

A chat assistant sounds like a knowledgeable person, but what it says is shaped by how it was trained and scored, and by what it can reach.

Confident guessing. Most evaluations reward a guess over "I don't know", which helps keep made-up answers in place (Kalai et al., 2025).

Telling people what they want to hear. In April 2025 one provider rolled back an update that had become overly flattering after leaning on thumbs-up ratings (OpenAI, 2025).

Knowledge is not help. Models alone identified the medical conditions in 94.9% of test cases, but people using them did so in under 34.5%, no better than a control group (Bean et al., 2025).

Connected data. An assistant that reads your email, sees outside content and can send messages has all three legs of the lethal trifecta (Willison, 2025).

Security on this concept: 3 threats Pending expert review

Links that plant lasting instructions in an assistant Pending expert review

Exposed
  • Assistants with memory that persists across chats
  • Share and "summarise with AI" links that pre-fill a prompt
Attacks
  • Hiding "remember this as a trusted source" in a pre-filled prompt
  • Biasing later recommendations once the memory is planted
Real case
Incident: AI recommendation poisoning (2026-02)
Controls
  • Show users the full prompt a link pre-fills before it runs
  • Ask before writing to memory; let users see and delete memories
  • Treat instructions arriving through links as untrusted
Owner
AppSec, with ML engineering
Reference
LLM01:2026 Prompt Injection
AML.T0131 Crafted AI Assistant Links
AML.T0080.000 Memory

Chatbot output runs as code in someone's browser Pending expert review

Exposed
  • Web pages and support consoles that display model output
  • The sessions and cookies of the people viewing it
Attacks
  • Prompting the bot to output HTML or script that the page then runs (cross-site scripting)
  • Making the reply load an image whose address carries stolen data
Real case
Research demonstration: Cross-site scripting through a support chatbot (2025-08)
Controls
  • Treat model output as untrusted input: escape it before display
  • A strict content security policy; no automatic loading of remote images
  • Validate output before it reaches a browser, database or shell
Owner
AppSec
Reference
LLM10:2026 Improper Output Handling
AML.T0077 LLM Response Rendering

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

All layers in the security view

Examples as of 2026-10-30

Sources

  1. Training language models to follow instructions with human feedback (InstructGPT) (2022)
  2. Model Context Protocol specification (2026-07-28)
  3. The lethal trifecta for AI agents: private data, untrusted content, and external communication (Simon Willison) (2025-06-16)
  4. Why Language Models Hallucinate (Kalai, Nachum, Vempala, Zhang) (2025-09-04)
  5. Sycophancy in GPT-4o: What happened and what we're doing about it (OpenAI) (2025-04-29)
  6. Clinical knowledge in LLMs does not translate to human interactions (2025-04-26)

How it connects

More in Layer 9 · Applications & Interfaces