Python Jailbreak

Open-source Python projects categorized as Jailbreak

Top 20 Python Jailbreak Projects

  1. Internal-Safety-Collapse

    [NeurIPS 2026] Safety failures in coding agents and frontier LLMs. Reproducible workspaces for studying when AI agents generate unsafe data during task completion.

    Project mention: A Big Alignment Loophole of Current Froniter LLMs | news.ycombinator.com | 2026-04-03

    I want to share this finding because I think both developers building on LLMs and normal users need to be aware. This is real — I've included live demos as proof so you can see it happening, not just take my word for it:

    85 reproducible prompt if you want to try it yourself: https://github.com/wuyoscar/ISC-Bench

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. EasyJailbreak

    An easy-to-use Python framework to generate adversarial jailbreak prompts.

  4. hackagent

    HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents

  5. althea

    althea sideloads applications to iOS/iPadOS!

  6. Autoreply_Sydneybot_Reddit

    An autoreply bot on Reddit powered by Bing with customized settings

  7. last_layer

    Ultra-fast, low latency LLM prompt injection/jailbreak detection ⛓️

  8. freeMarkable

    freeMarkable - Jailbreak Toolkit for reMarkable 1+2+rmPP devices

    Project mention: I turned my RSS feeds into an e-ink newspaper to stop reading on my phone | news.ycombinator.com | 2026-08-14
  9. circle-guard-bench

    First-of-its-kind AI benchmark for evaluating the protection capabilities of large language model (LLM) guard systems (guardrails and safeguards)

  10. llm-honeypot

    Honeypot for LLM attacks — detects and traps Prompt Injection & Jailbreak attempts. Built with FastAPI + DistilBERT classifier. Part of proactive AI security research.

    Project mention: How I Built an LLM Honeypot to Trap Prompt Injection Attacks | dev.to | 2026-06-04

    The project is fully open source: GitHub: llm-honeypot

  11. safelabs-eval

    OWASP ASI-aligned red-teaming and evaluation framework for AI agents

    Project mention: I let a prompt injection into my own app's clinical notes. The model ignored it. The fallback didn't. | dev.to | 2026-11-04

    So I opened three issues: payload-surfaced detection (#89), document delivery mode (#90) and schema-aware evaluation (#91).

  12. llm-as-a-jailbreak-judge

    Explore techniques to use small models as jailbreaking judges

  13. ai-story-generator

    Turn an old jailbroken Kindle into a minimalist AI bedtime-story reader (Claude, E-Ink, Raspberry Pi backend) (by donmb1)

    Project mention: Decade-old RAM is making a comeback | news.ycombinator.com | 2026-10-11

    I recently reactivated a 10 years old Kindle as an AI-Story-Generator (https://github.com/donmb1/ai-story-generator). Old hardware is valueable and with AI you can do great things with it.

  14. sentinel-scan-cli

    MCP security scanner (CLI + MCP server): detects tool poisoning, prompt injection, and rug-pulls in MCP manifests. Also an OWASP LLM Top 10 prompt-injection/jailbreak CLI for LLM apps.

    Project mention: Sentinel-scan-CLI – a CLI that runs 15 prompt-injection attacks against your LLM | news.ycombinator.com | 2026-08-25
  15. inferwall

    AI application firewall for LLM-powered apps — multi-layered detection (heuristic, ML classifier, semantic, LLM-judge) against prompt injection, jailbreaks, and data leakage - inferwall.com

    Project mention: Your WAF thinks in ATT&CK. Your LLM app needs ATLAS. Here's the bridge. | dev.to | 2026-04-19

    I've been building InferenceWall, an open-source firewall for LLM apps. A few weeks ago I sat down to map every one of our 100 detection signatures to ATLAS technique IDs. I thought it would take an afternoon. It took three days, and it's the single change that made the project legible to security teams. This post is what I learned — the useful parts of the taxonomy, the mapping decisions that were hard, and why I think any AI security tool that can't show you its ATLAS coverage is hiding something.

  16. llm-sentinel

    Deterministic guardrails for LLM apps: prompt injection, secrets, PII, toxicity, gibberish and more. No model calls, no network.

    Project mention: llm-guard is archived. I built a deterministic replacement. | dev.to | 2026-09-22

    This is the scanning direction most tutorials skip, and it is the one that matters most once you give a model hands. Scan what goes in, scan what comes out, and scan what comes back from the tools in between. ## If you are migrating off llm-guard Three things I would do first: 1. Start with the scanners that have no judgment calls: `secrets`, `pii`, `prompt_injection`, `code_execution`. These are the highest signal, lowest false-positive set. 2. Run in collect-all mode for a week before you block anything. Log the findings, read them, tune your thresholds against your actual traffic. A guardrail you deploy in block mode on day one will block your own legitimate traffic by day two. I have the scars. 3. Treat the benchmark as a starting point, not a verdict. Run `python -m llm_sentinel.benchmark`, then add your own cases from production. The corpus format is plain JSON, one file per scanner, and contributions back are the fastest way to make the library smarter for everyone. ## Roadmap - Unicode normalization pass (zero-width chars, homoglyphs) before scanning - Pluggable LLM-as-judge scanner interface (opt-in, never the default) - Anonymize transform for PII (typed placeholders, reversible with a local key) - More adapters (Django middleware, crewAI callbacks) - Larger, community-sourced benchmark corpora If you are migrating off llm-guard, the core contract is the same shape: scan text in, get findings out. The difference is the strictness: nothing here needs a GPU, an API key, or a second opinion from another model. Contributions are welcome, especially adversarial test cases. The repo is at https://github.com/anushamukka9/llm-sentinel. One question for the comments: what is the nastiest prompt-injection phrasing you have seen in the wild that a pattern matcher would miss? I will add the good ones to the corpus.

  17. prompt-injection-test-payloads

    100-style prompt injection test payloads (20 free samples) + canary-based test harness for LLM apps and AI agents

    Project mention: Which agent tool calls need a human? A simple consequence matrix | dev.to | 2026-10-28

    To test that your gates hold up, the free prompt-injection payloads here are a good start: https://github.com/elaysuu/prompt-injection-test-payloads

  18. prompt-redteam

    Open-source jailbreak + prompt-injection tester for AI applications. 30+ attack patterns.

    Project mention: I tested mcp-doctor pricing with 12 LLM-simulated personas. 4 said they would pay. | dev.to | 2026-05-30

    The top cluster — rubric calibration — is the right one to prioritize. v0.2 of the scanner should add an LLM-judge mode for ambiguous signals (the same fix planned for @weiseer/prompt-redteam's detection).

  19. llm-red

    Red-teaming an LLM: separating real harm from a reply that only looks broken

    Project mention: With an AI agent, the answer is the last place the bug shows up | dev.to | 2026-07-17

    This is the fourth of five projects on testing AI systems. Before it came an eval harness - scoring an answer when there's no single right one - a RAG system - telling a search bug from a model bug - and a red-team suite - telling a real bypass from a fake one.

  20. exorr-prompt-fuzzer

    Automated LLM prompt injection & jailbreak testing for red teams

    Project mention: I Fuzzed 12 LLMs With 19 Payloads — Here What Broke | dev.to | 2026-06-06

    git clone https://github.com/exorrtech/exorr-prompt-fuzzer cd exorr-prompt-fuzzer pip install -r requirements.txt python fuzzer.py --target https://your-api/v1/chat --api-key $KEY

  21. ragprobe

    Open-source LLM security testing: send 138 scoreable prompt-injection attacks at your app, prove every hit with a planted canary, and fail CI when a change makes things worse. Runs free and offline. (by khushi-git-7)

    Project mention: Same model, same defences: 7 document attacks down to 0, chat attacks barely moved | dev.to | 2026-11-02

    You can try the scorer in your browser with no install: live demo. The corrected results and code are public, and the reply caches are committed, so you can re-score every run without an API key.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Jailbreak discussion

Log in or Post with

Python Jailbreak related posts

  • I let a prompt injection into my own app's clinical notes. The model ignored it. The fallback didn't.

    1 project | dev.to | 4 Nov 2026
  • Which agent tool calls need a human? A simple consequence matrix

    1 project | dev.to | 28 Oct 2026
  • Your AI agent just did something it shouldn't. Here's the first hour.

    1 project | dev.to | 28 Oct 2026
  • Your MCP server should not trust the model: a practical security review

    1 project | dev.to | 28 Oct 2026
  • Your AI Agent Said No. But What Did Its Tools Do?

    2 projects | dev.to | 10 Oct 2026
  • We Ran 9,360 Security Trials Across 7 AI Agent Frameworks. Here's What Actually Mattered.

    2 projects | dev.to | 23 Sep 2026
  • We Thought the LLM Was Wrong. Our Safety Detector Was Wrong.

    1 project | dev.to | 21 Sep 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Jailbreak projects in Python? This list will help you:

# Project Stars
1 Internal-Safety-Collapse 2,599
2 EasyJailbreak 945
3 hackagent 535
4 althea 448
5 Autoreply_Sydneybot_Reddit 173
6 last_layer 138
7 freeMarkable 130
8 circle-guard-bench 81
9 llm-honeypot 7
10 safelabs-eval 5
11 llm-as-a-jailbreak-judge 5
12 ai-story-generator 5
13 sentinel-scan-cli 3
14 inferwall 2
15 llm-sentinel 1
16 prompt-injection-test-payloads 0
17 prompt-redteam 0
18 llm-red 0
19 exorr-prompt-fuzzer 0
20 ragprobe 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?