Skip to content

SCGAgent: Reproducing the Advantages of Reasoning Models in Secure Code Generation with an Agentic WorkflowSCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflows

arXiv· arXiv:2506.07313· Rebecca Saul, Hao Wang, Koushik Sen, David Wagner·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

SCGAgent is a proactive secure coding agent that, through an agentic workflow, enables non-reasoning models to reproduce the advantages of reasoning models in secure code generation. It combines secure coding guidelines with LLM-generated unit tests, improving security while maintaining functional correctness. Evaluations show that SCGAgent retains nearly 98% of the functionality of the base model Sonnet-3.7, improves security by about 25%, and performs at or above the level of complex reasoning LLMs.

Read originalarxiv.org