purpcode-uiuc / purpcodeLinks
🔮Reasoning for Safer Code Generation; 🥇Winner Solution of Amazon Nova AI Challenge 2025
☆34Updated 4 months ago
Alternatives and similar repositories for purpcode
Users that are interested in purpcode are comparing it to the libraries listed below
Sorting:
- Official repo for "ProSec: Fortifying Code LLMs with Proactive Security Alignment"☆16Updated 9 months ago
- ☆20Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆76Updated 5 months ago
- ☆50Updated last year
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆56Updated last month
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆61Updated last month
- ☆37Updated last year
- ☆40Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆172Updated last year
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆32Updated last year
- Code for the AAAI 2023 paper "CodeAttack: Code-based Adversarial Attacks for Pre-Trained Programming Language Models☆33Updated 2 years ago
- ☆114Updated 2 years ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆79Updated last year
- Machine Learning & Security Seminar @Purdue University☆25Updated 2 years ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆60Updated 3 months ago
- ☆46Updated 3 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆72Updated 9 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆182Updated 8 months ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆90Updated last year
- ☆125Updated last year
- Python package for measuring memorization in LLMs.☆176Updated 5 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆152Updated last year
- ☆16Updated 6 months ago
- Official Implementation of NeurIPS 2024 paper - BiScope: AI-generated Text Detection by Checking Memorization of Preceding Tokens☆28Updated 9 months ago
- [ICLR 2021] "Generating Adversarial Computer Programs using Optimized Obfuscations" by Shashank Srikant, Sijia Liu, Tamara Mitrovska, Shi…☆31Updated 4 years ago
- ☆21Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆26Updated 2 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆105Updated last year
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆98Updated last year
- ☆70Updated 10 months ago