A lightweight library for large laguage model (LLM) jailbreaking defense.
☆61Sep 11, 2025Updated last year
Alternatives and similar repositories for llm-jailbreaking-defense
Users that are interested in llm-jailbreaking-defense are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code for paper "Defending aginast LLM Jailbreaking via Backtranslation"☆34Aug 16, 2024Updated 2 years ago
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆17Apr 24, 2024Updated 2 years ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆152Jul 19, 2024Updated 2 years ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆167Nov 30, 2024Updated 2 years ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆35Oct 26, 2023Updated 3 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆138Nov 13, 2023Updated 3 years ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆175Dec 18, 2024Updated last year
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆108May 20, 2025Updated last year
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆24Jul 26, 2024Updated 2 years ago
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆22May 6, 2025Updated last year
- Red Queen Dataset and data generation template☆30Dec 26, 2025Updated 11 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆66Jan 11, 2025Updated last year
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆75Oct 23, 2024Updated 2 years ago
- Code for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder" in NMI.☆57Nov 13, 2023Updated 3 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆71Jun 9, 2025Updated last year
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆470Jan 22, 2025Updated last year
- ICL backdoor attack☆17Nov 4, 2024Updated 2 years ago
- ☆33Jun 24, 2024Updated 2 years ago
- A fast + lightweight implementation of the GCG algorithm in PyTorch☆359May 13, 2025Updated last year
- A further improvement for the AutoDAN-Turbo through test-time scaling.☆16Oct 21, 2025Updated last year
- TAP: An automated jailbreaking method for black-box LLMs☆256Dec 10, 2024Updated last year
- A curated list of safety-related papers, articles, and resources focused on Large Language Models (LLMs). This repository aims to provide…☆1,922Jul 12, 2026Updated 4 months ago
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆711Apr 4, 2025Updated last year
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Code for "Inv-Entropy: A Fully Probabilistic Framework for Uncertainty Quantification in Language Models" (NeurIPS, 2025)☆14Oct 29, 2026Updated last month
- The Security Toolkit for managing Generative AI(especially LLMs) and Supervised Learning processes(Learning and Inference).☆23Jun 25, 2025Updated last year
- Papers and resources related to the security and privacy of LLMs 🤖☆589Jun 8, 2025Updated last year
- Code for ICLR 2025 Failures to Find Transferable Image Jailbreaks Between Vision-Language Models☆38Jun 1, 2025Updated last year
- [ACL 2025] The official code for "AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection".☆48Aug 12, 2026Updated 3 months ago
- ☆24Jun 13, 2024Updated 2 years ago
- The official repository of 'Unnatural Language Are Not Bugs but Features for LLMs'☆25May 20, 2025Updated last year
- Persuasive Jailbreaker: we can persuade LLMs to jailbreak them!☆366Oct 17, 2025Updated last year
- Improving Alignment and Robustness with Circuit Breakers☆271Sep 24, 2024Updated 2 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- ☆821Jul 2, 2025Updated last year
- ☆59Jun 13, 2024Updated 2 years ago
- We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20…☆363Feb 23, 2024Updated 2 years ago
- ☆71Jun 1, 2025Updated last year
- Fine-tuning base models to build robust task-specific models☆36Apr 11, 2024Updated 2 years ago
- ☆43Aug 11, 2026Updated 3 months ago
- ☆13Mar 22, 2025Updated last year
Are these results useful?