Passport module · T4-M26

Prompt injection: direct and indirect

Direct (jailbreak) and indirect (hidden instructions in a document, email or web page summarised by AI). Why the AI’s biggest strength — reading everything — is also its biggest weakness.

After this module

What you’ll be able to do

Spot an indirect-injection attack in a sample email.

Module details

Theme

Secure Use & Workflow

Skill focus

Security

Who it’s for

Everyone, Specialists, Practitioners, Leadership

Format

3–5 minutes, then a short knowledge check

Common questions

What is prompt injection?

It’s when hidden instructions in a document, email or web page take over what an AI tool does. Direct injection is someone typing those instructions in. Indirect injection hides them in content the AI reads for you.

How do you defend against prompt injection?

Treat anything the AI reads as untrusted. Limit what AI tools can access and do, keep a human check on any action they take, and never give one tool both sensitive data and the power to send it out.