GraySwanAI / nanoGCG
A fast + lightweight implementation of the GCG algorithm in PyTorch
☆221Updated 2 months ago
Alternatives and similar repositories for nanoGCG:
Users that are interested in nanoGCG are comparing it to the libraries listed below
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆147Updated 2 weeks ago
- TAP: An automated jailbreaking method for black-box LLMs☆163Updated 4 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆130Updated last month
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆319Updated 2 months ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆292Updated 2 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆37Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆150Updated 11 months ago
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆331Updated 2 weeks ago
- Papers about red teaming LLMs and Multimodal models.☆108Updated 4 months ago
- ☆51Updated 2 months ago
- Finding trojans in aligned LLMs. Official repository for the competition hosted at SaTML 2024.☆111Updated 10 months ago
- ☆54Updated 3 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆149Updated 4 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…☆110Updated 11 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 Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆24Updated last year
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks on Large Language Models☆131Updated last month
- This repository provides a benchmark for prompt Injection attacks and defenses☆182Updated this week
- ☆81Updated 2 months ago
- ☆25Updated 6 months ago
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆67Updated last month
- Awesome LLM Jailbreak academic papers☆93Updated last year
- [USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models☆139Updated last month
- ☆58Updated 9 months ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆124Updated 2 weeks ago
- ☆97Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆20Updated 4 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆60Updated 5 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆128Updated 8 months ago