PurCL / ProSec
Official repo for "ProSec: Fortifying Code LLMs with Proactive Security Alignment"
☆12Updated 2 months ago
Alternatives and similar repositories for ProSec:
Users that are interested in ProSec are comparing it to the libraries listed below
- ☆20Updated last year
- Code for the AAAI 2023 paper "CodeAttack: Code-based Adversarial Attacks for Pre-Trained Programming Language Models☆26Updated last year
- Backdooring Neural Code Search☆13Updated last year
- ☆22Updated 4 months ago
- SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors☆43Updated 7 months ago
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆26Updated 2 months ago
- Implementation of the paper "Exploring the Universal Vulnerability of Prompt-based Learning Paradigm" on Findings of NAACL 2022☆29Updated 2 years ago
- Machine Learning & Security Seminar @Purdue University☆25Updated last year
- ☆33Updated 7 months ago
- ☆14Updated 2 years ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆37Updated last month
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆50Updated 3 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
- ☆14Updated last year
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆14Updated last year
- A novel approach to improve the safety of large language models, enabling them to transition effectively from unsafe to safe state.☆58Updated 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
- ☆17Updated 3 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆36Updated 3 months ago
- [NDSS'23] BEAGLE: Forensics of Deep Learning Backdoor Attack for Better Defense☆17Updated 9 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
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆55Updated 3 months ago
- ☆24Updated 4 months ago
- ☆74Updated 2 weeks ago
- Code for paper "SrcMarker: Dual-Channel Source Code Watermarking via Scalable Code Transformations" (IEEE S&P 2024)☆22Updated 6 months ago
- Implementation for "RigorLLM: Resilient Guardrails for Large Language Models against Undesired Content"☆20Updated 6 months ago
- ☆14Updated 5 months ago
- ☆14Updated last year