Preprint
Oct 2026
Secure and Functional Code Generation with Self-Evaluation
SecGent is presented, an inference-time framework that retrieves weakness context from the Common Weakness Enumeration (CWE) database and applies it to secure code generation and achieves the highest joint functional--security success against four inference-time baselines for all five models.
Md Afif Al Mamun, Gias Uddin
· 0 citations