Skip to content

Adversarial Prompt

A request crafted to circumvent model limitations: to confuse it, elicit unwanted behavior, or extract hidden information.

Types

  • circumventing rules through clever formulations;
  • jailbreak — direct breaking of constraints;
  • prompt injection — embedding instructions in data;
  • prompt leaking — attempting to extract the system prompt.

How to Defend

  • Red Teaming — attacking the model before release to find weaknesses;
  • Guardrails — filters and checks at input and output;
  • training on adversarial examples.

See Also

← All Terms