Learning Paths

Foundations

Start here if prompt injection is new to you. This path builds the core distinctions: direct vs indirect, model influence vs security impact, and model instruction ranking vs application authorization.

Audience
Newcomers, developers and security practitioners new to LLM applications
Approximate time
About 1.5 to 2 hours
Prerequisites
None

Learning objectives

  • Define prompt injection as an instruction-control problem
  • Tell direct and indirect prompt injection apart
  • Explain why system prompts are neither secrets nor control boundaries
  • Explain why input filtering alone cannot solve the problem

Path sequence

Go deeper (optional)

Knowledge check

Think through each question, then open it to compare with the expected reasoning. There is no score.

A model followed an instruction hidden in a web page, but no tool or data was affected. Is that a security incident?

It shows model influence, not security impact. Impact depends on what the application lets that output do. The event is still worth recording as evidence.

Why is keeping a system prompt hidden not a security control?

Its contents may be revealed, and the model does not enforce it deterministically. Anything security-relevant must be enforced by the application outside the model.

An instruction hierarchy ranks system above user text. Does that authorize or block actions?

No. It shapes model behavior probabilistically. Whether an action may run is decided by application authorization.

After this path, you should be able to...

  • Classify a scenario as direct or indirect prompt injection
  • Separate model influence from security impact
  • Explain why a hidden prompt is not a secret
  • Distinguish model instruction hierarchy from application authorization