LyraLearn AI Learning Platform
Exams
← Module 11 Β· AI Security
🎧 Listen

The AI Threat Model

Before you can secure an AI feature, you have to name what you're protecting and what can go wrong. A traditional threat model asks "who can reach this endpoint and what can they do?" An AI threat model adds a harder question: the system now processes untrusted natural language as if it were intent, and that text can come from a user, a retrieved document, or a tool result. An AI architect builds the threat model first β€” everything else in this module is a response to it.

Threat-model diagram with three protected assets at the center and arrows of distinct attack types pressing in from outside.

Assets to protect

Three assets matter in almost every enterprise deployment:

  1. Data. The records you send to a model (PII, case files, internal documents) and the knowledge base behind retrieval. This is the thing regulators and citizens care about most.
  2. Model behavior. The system's instructions and guardrails β€” the "personality" and policy that keep it on-task. If an attacker can rewrite behavior, they own the feature.
  3. The audit trail. Who asked what, what the model saw, what it answered. In public-sector work this is not optional: you must be able to reconstruct any decision after the fact.

If you can't say which of these a given control protects, it probably isn't pulling its weight.

Threats to anticipate

Mapping to expectations

Public-sector and enterprise reviews increasingly expect AI features to map to recognized controls β€” NIST-style confidentiality, integrity, availability, and the NIST AI RMF's govern / map / measure / manage loop. The value of a written threat model is that it lets you point at each control and say which asset it protects and which threat it answers β€” exactly what an assessor will ask.

How LyraLearn applies this

LyraLearn names its assets explicitly: lesson data and embeddings (data), the Tutor's system instructions (behavior), and the request/answer log (audit trail). Its local-first embeddings keep most data on-platform, its allow-listed ingestion resists poisoning, and per-request limits cap denial-of-wallet exposure. The platform is its own worked example β€” every later lesson traces back to a named threat here.

🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.