arxivcs.SEcs.CRcs.LG2026-07-08
Functional and Secure Code Generation with Task Vectors
Felix Wang, Anudeep Das, Mei Nagappan, N. Asokan
Large language models (LLMs) are increasingly used for code generation, but they struggle to generate functional code free of security vulnerabilities. Prior work to improve the secure code generation abilities of such coding LLMs has largely focused on evaluating code functional…