alphadl / SafeLLM_with_IntentionAnalysisLinks
Towards Safe LLM with our simple-yet-highly-effective Intention Analysis Prompting
☆16Updated last year
Alternatives and similar repositories for SafeLLM_with_IntentionAnalysis
Users that are interested in SafeLLM_with_IntentionAnalysis are comparing it to the libraries listed below
Sorting:
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆92Updated last month
- Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM☆34Updated 6 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆55Updated 11 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆33Updated last year
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆26Updated last year
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆20Updated 11 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆57Updated 8 months ago
- Code for paper "Defending aginast LLM Jailbreaking via Backtranslation"☆29Updated 11 months ago
- ☆93Updated 5 months ago
- ☆52Updated 3 months ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆94Updated last year
- Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models☆29Updated last year
- ☆16Updated last month
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆68Updated 8 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆52Updated 9 months ago
- [ICLR 2024]Data for "Multilingual Jailbreak Challenges in Large Language Models"☆78Updated last year
- Official repository for the paper "Gradient-based Jailbreak Images for Multimodal Fusion Models" (https//arxiv.org/abs/2410.03489)☆18Updated 8 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆56Updated 4 months ago
- Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks☆29Updated last year
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆47Updated 8 months ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆38Updated last year
- This is the code repository for "Uncovering Safety Risks of Large Language Models through Concept Activation Vector"☆42Updated 8 months ago
- [NAACL2024] Attacks, Defenses and Evaluations for LLM Conversation Safety: A Survey☆104Updated 11 months ago
- ☆82Updated last year
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆14Updated 2 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆92Updated 5 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆81Updated 9 months ago
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆33Updated 7 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆43Updated last month
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆24Updated 3 years ago