Home › Glossary › Prompt injection

Prompt injection

A way of attacking generative AI by slipping malicious instructions into a prompt or into content the model processes, such as a file, message or web page, so that it ignores its safeguards. Azure AI Content Safety offers Prompt Shields to catch these attempts.

Read more: Microsoft Learn

In the Ultra Transcenders books

SC-900DP-800

Each book explains Prompt injection in context, with comparison tables and the common traps.

Terms in this definition

Related terms

See Prompt injection in the full glossary