Is My Chatbot Secure?

Test it with LochBot's scanner — paste your system prompt and get a security score against 31 known attack patterns. Common vulnerabilities: no refusal instructions, no delimiter use, no role-change blocking.

How to Test Your Chatbot

  1. Go to lochbot.com
  2. Paste your system prompt into the text area
  3. Click "Analyze" to get your security score
  4. Review failed tests and implement the suggested fixes

The scanner runs entirely in your browser. Your system prompt never leaves your machine — no API calls, no server-side processing, no data storage.

What LochBot Checks

LochBot tests your system prompt against 31 attack patterns across seven categories:

Most Common Vulnerabilities

Based on thousands of prompts analyzed, the three most common issues are:

  1. No refusal instructions — The prompt doesn't tell the model what to refuse or how to refuse it
  2. No delimiters — User input isn't structurally separated from system instructions
  3. No role-change blocking — The model can be asked to adopt a different persona

What Your Score Means

Related Questions

Scan your system prompt with LochBot — free, client-side, no data sent anywhere.