Threats, Vulnerabilities, and Attacks
Which attack embeds malicious instructions in input so a large language model treats them as commands?
Show the answer
Correct answerA. Prompt injection
AWhy this is right: Prompt injection smuggles attacker instructions into the model's input so it obeys them.
BWhy not this: Hallucination is the model generating false output on its own, with no attacker input.
CWhy not this: Evasion alters inputs to fool a classifier and does not inject commands into a language model.
DWhy not this: Poisoning corrupts training data, not the instructions given at runtime.
Prompt injection places attacker-written instructions in the input an LLM processes so the model follows them. Poisoning is different because it corrupts training data rather than the runtime input.