The authors evaluated six open-weight reasoning models on 173 tasks from CWEval and SecCodeBench, spanning five programming languages.
Scanning reasoning streams helps code models repair flaws before delivery
SecReason checks code drafts as they appear inside model reasoning, inserts targeted warnings, and lets the model revise them before producing its final answer.
Academic
Ruidong Han · Zhensu Sun · Chengyan Ma · Yuqing Niu · Siqi Ma · David Lo
Singapore Management University · University of Alberta · University of Wollongong
Research Digest··3 min read

Han et al.
§