By Team Edtoolkits · AI learning
Use the lesson's harmless planted sentences to compare missed injections, false alarms and a scripted defence.
Use the guide alongside the working tool.
Open Prompt Injection: Hidden Orders in Text →Explore the lesson
Watch a hidden note try to give orders from inside a document.
Mark the injected line in four sample documents.
Flip the memory card and answer the quick check.
A comparison to try
Compare the naive and defended assistants on the same document cards. Include a clean card as well as one with a planted instruction, so blocking everything cannot look like a successful defence.
Read the result
Read both misses and false alarms. An assistant must use useful document content without treating a sentence inside that document as an instruction from the user or application.
A mistake to avoid
These documents and responses are fixed teaching examples. A correct score here does not establish that a real assistant, retrieval system or filter resists unfamiliar injections. Keep retrieved material within an explicit trust boundary.
Teaching model and privacy
All documents are harmless toys made for teaching, and the two assistants are tiny scripts. Real defences use several layers and are never perfect. Nothing leaves your browser.
Ready to apply this workflow?
Try Prompt Injection: Hidden Orders in Text →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.