A fast + lightweight implementation of the GCG algorithm in PyTorch
☆355May 13, 2025Updated last year
Alternatives and similar repositories for nanoGCG
Users that are interested in nanoGCG are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆467Jan 22, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,848Aug 2, 2024Updated 2 years ago
- Improving Alignment and Robustness with Circuit Breakers☆271Sep 24, 2024Updated 2 years ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆399Jan 23, 2025Updated last year
- Improved techniques for optimization-based jailbreaking on large language models (ICLR2025)☆147Apr 7, 2025Updated last year
- 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.
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal☆1,082Aug 16, 2024Updated 2 years ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆88Nov 3, 2024Updated last year
- ☆808Jul 2, 2025Updated last year
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆690Apr 4, 2025Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆183May 6, 2024Updated 2 years ago
- [ICML 2025] An official source code for paper "FlipAttack: Jailbreak LLMs via Flipping".☆182Aug 11, 2026Updated 2 months ago
- ☆11Oct 13, 2025Updated last year
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆35Nov 8, 2024Updated last year
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆168Nov 30, 2024Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆476Jun 13, 2025Updated last year
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆194Apr 23, 2025Updated last year
- An easy-to-use Python framework to generate adversarial jailbreak prompts.☆935Sep 1, 2026Updated 2 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆152Jul 19, 2024Updated 2 years ago