git404hub

what is jailscan fr?

ardamirarkin/jailscan — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5LicenseSetup · easy

tl;dr

A command line tool that tests whether an LLM powered app can be jailbroken or tricked with prompt injection, giving a fast pass or fail report.

vibe map

mindmap
  root((jailscan))
    What it does
      Sends attack prompts
      Tests chat endpoints
      Reports pass or fail
    Tech stack
      Python
      CLI tool
      pip package
    Use cases
      Check for jailbreaks before shipping
      Add security scan to CI
      Save JSON report for dashboards
    Audience
      App developers
      Security minded teams
      DevOps engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Scan a chatbot API before launch to catch jailbreak and prompt injection weaknesses.

VIBE 2

Wire the scan into a CI pipeline so security regressions fail the build automatically.

VIBE 3

Save a JSON report of scan results for a security dashboard or audit trail.

what's the stack?

PythonCLIpip

how it stacks up fr

ardamirarkin/jailscan0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Requires an API key for the endpoint you are testing.

The core CLI tool is free to use for any purpose under the MIT license.

in plain english

Jailscan is a command line tool that checks whether an AI chatbot or LLM powered app can be tricked into breaking its own rules. If your team has built a feature that uses a language model, someone will eventually ask whether it can be jailbroken or manipulated into ignoring its instructions, and most teams do not have a fast way to answer that question. Jailscan gives a quick pass or fail answer by sending a curated set of real attack prompts, including jailbreaks, prompt injection attempts, and system prompt extraction tricks, against any OpenAI compatible chat endpoint. You install it with pip and run a single command pointed at your API, along with your API key. Jailscan then prints a report listing each attack it tried, whether your app passed or failed, and a short description of the attack type. It supports custom endpoints too, in case your API does not follow the standard OpenAI response format, and lets you filter which categories of attacks to run, such as jailbreak only or prompt injection only. Results can also be saved as a JSON file for dashboards or record keeping. Because it exits with an error code when a test fails, it is meant to be wired into a continuous integration pipeline, such as GitHub Actions, so that any regression that reopens a security hole gets caught automatically before it reaches production. It can also be used directly as a Python library inside your own code if you prefer that over the command line. The current version covers four categories of attacks: jailbreaks like the classic DAN style roleplay attempts, prompt injection through fake system tags or override instructions, system prompt leaks, and early stage data leak probing that is flagged for manual review. The author plans to add more attack scenarios, a hosted dashboard, alerting, and support for other providers beyond OpenAI compatible APIs. The core command line tool is free and open source under the MIT license. A hosted dashboard with scan history and team alerts is planned as a paid add-on, listed as coming soon.

prompts (copy fr)

prompt 1
Show me how to install jailscan and run a basic scan against my chat API.
prompt 2
Help me add jailscan to my GitHub Actions pipeline so it blocks merges on failed security tests.
prompt 3
Explain the difference between the jailbreak, prompt injection, and system prompt leak categories in jailscan.
prompt 4
Write a Python script using the jailscan Scanner class to test my custom chat endpoint.

Frequently asked questions

what is jailscan fr?

A command line tool that tests whether an LLM powered app can be jailbroken or tricked with prompt injection, giving a fast pass or fail report.

What language is jailscan written in?

Mainly Python. The stack also includes Python, CLI, pip.

What license does jailscan use?

The core CLI tool is free to use for any purpose under the MIT license.

How hard is jailscan to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is jailscan for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.