Everything About ___
Live briefing

Everything about Prompt injection

Type of attack in machine learning

Prompt injection is a cybersecurity exploit and an attack vector in which innocuous-looking inputs are designed to cause unintended behavior in machine learning models, particularly large language models (LLMs). The attack takes advantage of the model's inability to distinguish between developer-defined prompts and user inputs to bypass safeguards and influence model behaviour. While LLMs are designed to follow trusted instructions, they can be manipulated into carrying out unintended responses through carefully crafted inputs. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Prompt injectionA 5-minute orientation
  2. Skim a recent paper: Systematically Analysing Prompt Injection Vulnerabilities in Diverse LLM ArchitecturesInfluential work since 2022
  3. Pick up a classic book: The AI Hacker's HandbookThe most-reprinted book on the subject
  4. Read the landmark paper: Prompt injection attacks on vision language models in oncologyCited 72 times
  5. Go sideways: Preamble (company)A closely related topic
  6. Go sideways: SQL injectionA closely related topic

📖 Definitions

Noun A method of manipulating an artificial intelligence system by embedding malicious instructions (prompts) within input data in order to trick the model into overriding its intended behaviour or safeguards.

Noun A method of causing an artificial intelligence to ignore its initial instructions (often ethical restrictions) by directly giving it a particular prompt; a jailbreak.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics