PurCL / ProSec
Official repo for "ProSec: Fortifying Code LLMs with Proactive Security Alignment"
☆14Updated this week
Alternatives and similar repositories for ProSec:
Users that are interested in ProSec are comparing it to the libraries listed below
- ☆20Updated last year
- ☆34Updated 8 months ago
- Code for the AAAI 2023 paper "CodeAttack: Code-based Adversarial Attacks for Pre-Trained Programming Language Models☆29Updated last year
- Official Implementation of NeurIPS 2024 paper - BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens☆13Updated last week
- ☆25Updated 5 months ago
- Machine Learning & Security Seminar @Purdue University☆25Updated last year
- Backdooring Neural Code Search☆13Updated last year
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆31Updated 2 weeks ago
- Official repo for FSE'24 paper "CodeArt: Better Code Models by Attention Regularization When Symbols Are Lacking"☆16Updated 2 weeks ago
- Code for paper "SrcMarker: Dual-Channel Source Code Watermarking via Scalable Code Transformations" (IEEE S&P 2024)☆24Updated 7 months ago
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆15Updated 4 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆40Updated 2 months ago
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆14Updated last year
- [NeurIPS'24] SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning☆19Updated 4 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆36Updated 5 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆64Updated 6 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆30Updated last week
- ☆15Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆49Updated 3 weeks ago
- A novel approach to improve the safety of large language models, enabling them to transition effectively from unsafe to safe state.☆58Updated 2 months ago
- ☆14Updated 2 years ago
- ☆14Updated last year
- A toolkit to assess data privacy in LLMs (under development)☆55Updated 2 months ago
- 🔥🔥🔥 Detecting hidden backdoors in Large Language Models with only black-box access☆19Updated 4 months ago
- XFT: Unlocking the Power of Code Instruction Tuning by Simply Merging Upcycled Mixture-of-Experts☆30Updated 8 months ago
- ☆106Updated 8 months ago
- [CVPR'24] LOTUS: Evasive and Resilient Backdoor Attacks through Sub-Partitioning☆12Updated 2 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆48Updated 5 months ago
- This is the implementation for IEEE S&P 2022 paper "Model Orthogonalization: Class Distance Hardening in Neural Networks for Better Secur…☆11Updated 2 years ago
- CodexLeaks: Privacy Leaks from Code Generation Language Models in GitHub Copilot☆11Updated last year