← Search

Nirav Diwan

1 accepted papers

2025

PurpCode: Reasoning for Safer Code Generation

NeurIPS 2025poster

We introduce PurpCode, the first post-training recipe for training safe code reasoning models towards generating secure code and defending against malicious cyberactivities. PurpCode trains a reasoning model in two stages: (i) Rule Learning, which explicitly teaches the model to reference cybersafet…

Cited by 0SourceScholar