Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model
7 Feb · Tianyi Wu, Mingzhe Du, Yue Liu +4 · arXiv:2602.07422
Large language models (LLMs) are increasingly used in software development, yet their tendency to generate insecure code remains a major barrier to real-world deployment. Existing secure code alignment methods often suffer from a functionality--security paradox, improving security at the cost of substantial utility degradation. We propose SecCoderX, an online reinforcement learning framework for…