AI-secure / RedCode
[NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents
☆26Updated 2 months ago
Alternatives and similar repositories for RedCode:
Users that are interested in RedCode are comparing it to the libraries listed below
- SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors☆43Updated 7 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 4 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆50Updated 6 months ago
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆71Updated 7 months ago
- ☆37Updated 3 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆92Updated 3 weeks ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆47Updated 4 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆19Updated 6 months ago
- ☆33Updated 6 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆35Updated last year
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆77Updated 9 months ago
- This is the official Gtihub repo for our paper: "BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Lang…☆14Updated 7 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆19Updated 2 months ago
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆70Updated 11 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆37Updated 3 weeks ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆40Updated 3 months ago
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆46Updated 7 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆55Updated 3 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆22Updated last year
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆56Updated last month
- ☆14Updated 5 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆140Updated 9 months ago
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆24Updated 3 months ago
- [Arxiv 2024] Dissecting Adversarial Robustness of Multimodal LM Agents☆60Updated last month
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆84Updated 5 months ago
- Code to replicate the Representation Noising paper and tools for evaluating defences against harmful fine-tuning☆16Updated 2 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆46Updated 5 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆27Updated 2 months ago
- ☆20Updated last year
- ☆74Updated 2 weeks ago