Prompt Injection Heuristic Checker

Check pasted text for a fixed set of prompt-injection indicators. It cannot determine intent or guarantee that a prompt is safe.

How It Works

  1. Input user prompts or external untrusted text destined for Large Language Model (LLM) agents.
  2. The scanner analyzes syntax for jailbreak patterns, delimiter hijacking, system role overrides, and prompt extraction attempts.
  3. Flags risk triggers with defensive mitigation strategies before the prompt reaches downstream LLMs.

Primary Use Cases

Common Security Pitfalls

Frequently Asked Questions

What is a prompt injection attack?
Prompt injection occurs when an attacker crafts an input that manipulates a Large Language Model into ignoring its original instructions and executing unintended actions.
What is the difference between direct and indirect prompt injection?
Direct injection occurs when a user directly types an adversarial prompt. Indirect injection occurs when an LLM reads external data (like a webpage or email) that contains hidden adversarial instructions.

References & Standards