计算机科学 > 软件工程
[提交于 2024年5月8日]
标题:Codexity: Secure AI-assisted Code Generation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Despite the impressive performance of Large Language Models (LLMs) in software development activities, recent studies show the concern of introducing vulnerabilities into software codebase by AI programming assistants (e.g., Copilot, CodeWhisperer). In this work, we present Codexity, a security-focused code generation framework integrated with five LLMs. Codexity leverages the feedback of static analysis tools such as Infer and CppCheck to mitigate security vulnerabilities in LLM-generated programs. Our evaluation in a real-world benchmark with 751 automatically generated vulnerable subjects demonstrates Codexity can prevent 60% of the vulnerabilities being exposed to the software developer.
提交历史
来自:Yannic Noller[v1] 2024年5月8日 星期三 00:00:00 UTC