GraySwanAI / nanoGCG
A fast + lightweight implementation of the GCG algorithm in PyTorch
☆232Updated 3 months ago
Alternatives and similar repositories for nanoGCG:
Users that are interested in nanoGCG are comparing it to the libraries listed below
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆326Updated 3 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆165Updated 5 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆153Updated last year
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆336Updated last month
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆154Updated last month
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆38Updated last year
- Papers about red teaming LLMs and Multimodal models.☆113Updated 5 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆152Updated 4 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆136Updated 2 months ago
- Finding trojans in aligned LLMs. Official repository for the competition hosted at SaTML 2024.☆111Updated 10 months ago
- Improving Alignment and Robustness with Circuit Breakers☆199Updated 7 months ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆302Updated 3 months 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…☆292Updated last year
- This repository provides a benchmark for prompt Injection attacks and defenses☆195Updated last week
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆62Updated 6 months ago
- ☆61Updated 10 months ago
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆113Updated last year
- ☆82Updated 3 months ago
- ☆58Updated 3 months ago
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆68Updated 2 months ago
- ☆170Updated last year
- ☆55Updated 4 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆50Updated 8 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆51Updated 6 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆129Updated 9 months ago
- Implementation of BEAST adversarial attack for language models (ICML 2024)☆86Updated 11 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆23Updated last year
- ☆97Updated last year
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆215Updated 7 months ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆152Updated this week