arrow
Return

CodeEnhancer: LLM-generated Python code enhancement through SAST integration and fine-tuning

delete2026-04-02
delete0
delete
OA
AI
J
Jongmin Lee *
K
Khang Mai
N
Nakul D. Ghate
T
Tomohiko Yagyu
R
Răzvan Beuran
Y
Yasuo Tan
DOI:10.1016/j.knosys.2026.115925delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
• Combines language models with SAST Tools to enhance Syntax, security and functional correctness Python code. • First approach to address syntax, security, and functional correctness in LLM-generated code. • Automated feedback and learning process helps LLMs generate more secure, correct code. • Fine-tuning on framework-refined code leads to better security than training on expert-written code. • Scalable approach enables robust and trustworthy AI-assisted code generation and refinement with minimal manual effort.
Keywords:
Large Language Models (LLMs)
Syntax checking
Vulnerability detection
Functional correctness
Static application security testing
LLM fine-tuning
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

K
Knowledge-Based Systems
IF:
7.6
Papers:
1.3W
Citations:
4.5W

Organization

J
japan advanced institute of science and technology
Scholars:
167
Papers: 69
Citations: 0
N
nec corporation
Scholars:
1.0K
Papers: 956
Citations: 0
Cited Papers

Cited Papers

On the adoption of static analysis for software security assessment–A case study of an open-source e-government project
err2021-12-01
err0
errOAAI
errAnh Nguyen-Duc; Manh Viet Do; Quan Luong Hong; Kiem Nguyen Khac; Anh Nguyen Quang
errShare
errSave
Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions
err2022-05-01
err0
errOAAI
errHammond Pearce; Baleegh Ahmad; Benjamin Tan; Brendan Dolan-Gavitt; Ramesh Karri
errShare
errSave
CodeScore: Evaluating Code Generation by Learning Code Execution
err2025-02-23
err0
PREAI
errYihong Dong; Jiazheng Ding; Xue Jiang; Ge Li; Zhuo Li; Zhi Jin
errShare
errSave
Examining Zero-Shot Vulnerability Repair with Large Language Models
err2023-05-01
err0
errOAAI
errHammond Pearce; Benjamin Tan; Baleegh Ahmad; Ramesh Karri; Brendan Dolan-Gavitt
errShare
errSave
LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluation
err2024-09-01
err1
errOAAI
errFakhoury, Sarah; Naik, Aaditya; Sakkas, Georgios; Chakraborty, Saikat; Lahiri, Shuvendu K.
errShare
errSave
no more