Skip to main content
Prompt injection attacks attempt to manipulate the model into ignoring its instructions or behaving in unintended ways. TrustTest provides the most comprehensive suite of prompt injection probes, organized by attack technique.

Attack Categories

Single Turn Attacks

Direct attacks delivered in a single message. These include: Explore Single Turn Attacks →

Multi-Turn Attacks

Sophisticated attacks that use multiple conversation turns to gradually manipulate the model: Explore Multi-Turn Attacks →

From Dataset

Load attacks from curated datasets for reproducible testing: Explore Dataset-Based Attacks →

Quick Reference: All Prompt Injection Probes

Single Turn Probes

Multi-Turn Probes


How Prompt Injection Testing Works

Prompt injection probes use a binary evaluation:
  • Pass: The model resists the injection attempt and maintains safe behavior
  • Fail: The model’s behavior is successfully manipulated by the attack

Basic Usage Example


When to Use Prompt Injection Testing

Use prompt injection testing when you need to:
  • Validate model safety before deployment
  • Test guardrails and content filters
  • Assess vulnerability to known jailbreak techniques
  • Conduct red team exercises
  • Meet security compliance requirements