Skip to main content

Prompt Injection Checker

Check prompts, external context, and agent boundaries for injection risk

Input

What are you checking?

Switch context without clearing your inputs. Every populated field is included in the scan.

Paste each part into its own field. One field is enough to start.

Trusted
Untrusted
+ External / RAG Context
Untrusted
+ Tool Output
Untrusted
Agent capabilities

Enable only what the agent can actually do. High-impact capabilities raise severity.

Safeguards enforced outside the prompt

Turn these on only when your application enforces them in code. They are declarations, not proof.

How to use it

  1. 1.Paste each part into its own field, enable the capabilities your agent really has, and select Analyze.
  2. 2.Open a finding to see its escaped evidence, then copy the mitigations or the full report.
  3. 3.Presets demonstrate common attacks and a hardened baseline.

What it checks

The checker reviews system instructions, user input, retrieved RAG context and tool output separately. It flags instruction overrides, fake role blocks, prompt and secret extraction, commands hidden in HTML or Markdown, invisible or encoded text, and missing trust boundaries between instructions and data.

How severity works

The same text is rated higher in untrusted sources than in your own instructions. High-impact capabilities such as shell execution, writes, email, deployment or secrets access, or data access combined with an outbound channel, raise related findings. Capabilities alone are reported as exposure, not as an injection.

Limits and privacy

Prompts are analyzed in your browser and are not uploaded, stored or sent to analytics. Each field is scanned up to 32,768 characters and decoding is bounded. Rules focus on English wording and Unicode structure, so new attacks and other languages can be missed, and harmless quotes can be flagged. Treat the result as a review aid, not a guarantee. To check prompts for secrets and personal data, use the AI Prompt PII & Secret Leak Scanner.

Frequently asked questions
Are my prompts sent to a server?
No. Normalization, rule matching, boundary analysis and scoring run in your browser, with very large inputs handled in a local Web Worker. Prompts, RAG context and tool output are not uploaded, stored or sent to analytics.
Does "No obvious issue detected" mean my prompt is secure?
No. The checker uses deterministic heuristics that focus on English wording and Unicode structure, so new or non-English attacks can be missed and harmless quotes can be flagged. Treat the result as a review aid alongside least privilege, tool allow-lists, output validation and human approval.
Why does enabling agent capabilities raise the risk?
An injection only causes harm through what the agent can do. When shell execution, file or database writes, email, deployment or secrets access are enabled, or data access is combined with HTTP or browser automation, attack findings in untrusted sources are raised, and the capabilities themselves are reported as exposure rather than as an injection.

CodingTool is officially live on