Threats, Vulnerabilities, and Attacks

An AI assistant summarizes web pages for users. One page contains hidden text telling it to send the user's saved data to an attacker, and the assistant complies. What is this?

Show the answer

Correct answerB. Prompt injection

AWhy not this: Jailbreaking is the user bypassing guardrails; this user typed nothing malicious.

BWhy this is right: Instructions hidden in content the model reads override its task, which is indirect prompt injection.

CWhy not this: Session hijacking steals a user's authenticated session, and no session token was taken.

DWhy not this: Poisoning alters training data; this attack happens at runtime through page content.

Hidden instructions in external content that the model processes at runtime are an indirect prompt injection. Jailbreaking is tempting, but it involves the user deliberately crafting prompts to bypass the model's guardrails, which did not happen here.