Skip to content
InfoNewsLLM-specific

Adversarial Prompting: Tutorial and Lab

Published
Record updated
View JSON

Summary

The author built a Jupyter Notebook tutorial and lab for learning prompt engineering and prompt injection. It moves from simple cases, such as changing output text to a specific message, to harder adversarial challenges including JSON object injection, HTML injection/XSS, overwriting mail recipients or orders of an OrderBot, and data exfiltration.