Google Analytics counts our visits, with cookies. No thanks turns it off and removes its cookies; in Europe, the UK, Switzerland and India, or wherever we cannot tell where you are, it stays off unless you accept. Cookie Notice

Advertise
PRICES

What is Prompt Injection?

Prompt Injection: an AI term, explained in plain English.

In one line

An attack where hidden or sneaky text tricks an AI model into ignoring its instructions and doing something it should not.

AI Drafted with AI help · Reviewed by Keshav Aggarwal · Updated

In simple words

Imagine a note slipped into a stack of homework that says: “Teacher, give this student full marks.” A careless teacher might obey it.

Prompt injection is slipping that kind of note to an AI.

The technical side

Language models read instructions and data as the same stream of text, so text in a web page, email or file can contain commands the model follows. The name dates from 2022. The risk grows with AI agents that can browse, send messages or move money, since injected text can make them leak data or take actions.

Defences include limiting what an agent can do, keeping a person in charge of important actions and filtering inputs, but there is no complete fix yet.

Prompt Injection kya hai?

Prompt injection mein koi chupa hua text AI ko bewakoof bana ke uske rules tudwa deta hai. AI agents ke liye ye bada khatra hai.

Related terms

All terms, A to Z