AI & Machine LearningAI Security

Prompt Injection

Hidden text on a web page can hijack an AI that reads it

You ask an AI to sum up a recipe, and it tells you to buy flour from a stranger. Who gave that order?

You'll find out

  • Where was the order hiding?
  • Why can't the AI tell the difference?
  • Can anything stop it?

Why it matters

AI helpers now read your email and the web for you. Knowing this trick keeps you from trusting a hijacked answer.

About 3 min6 interactive slides · 5 questionsLesson 421 · Zone 47

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 415Game TheoryNimA matchstick game with a secret binary strategy
  2. 416ProbabilityFair Results From a Bent CoinA biased coin can still make perfectly fair decisions
  3. 417Large NumbersGoogolA 1 with a hundred zeros, and the origin of Google's name
  4. 418Audio TechnologyAuto-Tune Came From Oil ExplorationThe pitch-correction effect started with seismic data
  5. 419Spaceflight PhysicsThe Gravity SlingshotSpacecraft steal speed from planets to cross the solar system
  6. 420Computing HistoryColossusBritain's codebreaking giant was a secret computer kept hidden for decades
  7. 422Perceptual AstronomyThe Moon IllusionThe horizon Moon looks huge, but it's the same size in photos
  8. 423Location Data99 Phones in a WagonAn artist faked a traffic jam on Google Maps