← Back to feed
AI SecurityEmerging1 sourceMay 12, 2023 · 05:09via Embrace The Red (AI agent security)

Adversarial Prompting: Tutorial and Lab

Brief

To learn more about Prompt Engineering and Prompt Injections I put together this tutorial + lab for myself. It is as a Jupyter Notebook to experiement and play around with this novel attack technique, learn and experiment.

The examples reach from simple prompt engineering scenarios, such as changing the output message to a specific text, to more complex adversarial prompt challenges such as JSON object injection, HTML injection/XSS, overwriting mail recipients or orders of an OrderBot and also data exfiltration.

Read more on Embrace The Red (AI agent security)