GraySwanAI / nanoGCG
A fast + lightweight implementation of the GCG algorithm in PyTorch
☆157Updated last week
Alternatives and similar repositories for nanoGCG:
Users that are interested in nanoGCG are comparing it to the libraries listed below
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆134Updated 8 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆133Updated last month
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆274Updated 3 months ago
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal☆390Updated 5 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆31Updated 11 months ago
- A collection of automated evaluators for assessing jailbreak attempts.☆92Updated last week
- [AAAI'25] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆104Updated last month
- The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models".☆275Updated 2 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆51Updated 2 months ago
- Papers about red teaming LLMs and Multimodal models.☆91Updated last month
- Improving Alignment and Robustness with Circuit Breakers☆174Updated 3 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆127Updated last month
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [arXiv, Apr 2024]☆246Updated 3 months ago
- ☆158Updated last year
- Finding trojans in aligned LLMs. Official repository for the competition hosted at SaTML 2024.☆110Updated 7 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆19Updated last year
- ☆36Updated 2 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 3 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆112Updated 5 months ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆82Updated 7 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…☆264Updated 10 months ago
- Fluent student-teacher redteaming☆19Updated 5 months ago
- Python package for measuring memorization in LLMs.☆134Updated last month
- This repository provides implementation to formalize and benchmark Prompt Injection attacks and defenses☆163Updated this week
- ☆66Updated 2 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆44Updated 3 months ago
- ☆89Updated last year
- Weak-to-Strong Jailbreaking on Large Language Models☆73Updated 10 months ago
- Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆42Updated 3 months ago
- ☆48Updated 3 weeks ago