GraySwanAI / nanoGCG
A fast + lightweight implementation of the GCG algorithm in PyTorch
☆205Updated last month
Alternatives and similar repositories for nanoGCG:
Users that are interested in nanoGCG are comparing it to the libraries listed below
- TAP: An automated jailbreaking method for black-box LLMs☆153Updated 3 months ago
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆310Updated 2 months ago
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆319Updated last week
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆148Updated 10 months ago
- [NDSS'25 Poster] A collection of automated evaluators for assessing jailbreak attempts.☆133Updated 2 weeks ago
- Improving Alignment and Robustness with Circuit Breakers☆190Updated 6 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆59Updated 4 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆147Updated 3 months ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆284Updated 2 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…☆282Updated last year
- Finding trojans in aligned LLMs. Official repository for the competition hosted at SaTML 2024.☆109Updated 9 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆20Updated 4 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆36Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆64Updated 3 weeks ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆127Updated last month
- ☆50Updated 2 months ago
- Papers about red teaming LLMs and Multimodal models.☆105Updated 4 months ago
- ☆53Updated 3 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆105Updated 2 months ago
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆198Updated 5 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆95Updated last month
- This repository provides implementation to formalize and benchmark Prompt Injection attacks and defenses☆180Updated 2 months ago
- Awesome LLM Jailbreak academic papers☆92Updated last year
- ☆92Updated last year
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆115Updated last week
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆108Updated 11 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 7 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆51Updated 7 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆124Updated 8 months ago
- Dataset for the Tensor Trust project☆39Updated last year