INLINE VULNERABILITY DETECTION FOR PROGRAM CODE GENERATED BY A LANGUAGE MODEL
개요
발명자
Haozhe Zhang; Qi Deng; Chien-Hua Lu; Shengming Xu; Bo Qu
IPC 분류
CPC 분류
Vulnerable program code generated by a language model is detected inline. A detection service monitors for and intercepts network traffic of a language model. For responses from the language model that include generated program code, the detection service extracts the program code and determines a programming language to which the program code corresponds. The detection service employs machine learning-based and/or rule-based vulnerability detection techniques to determine whether the program code comprises any vulnerabilities. If the program code is determined to comprise a vulnerability, the detection service can block transmission of the response comprising the program code to its destination or communicate an alert with the response indicating that the program code is vulnerable to prevent inclusion of the vulnerable program code in a software project.
원문 (중국어)
Vulnerable program code generated by a language model is detected inline. A detection service monitors for and intercepts network traffic of a language model. For responses from the language model that include generated program code, the detection service extracts the program code and determines a programming language to which the program code corresponds. The detection service employs machine learning-based and/or rule-based vulnerability detection techniques to determine whether the program code comprises any vulnerabilities. If the program code is determined to comprise a vulnerability, the detection service can block transmission of the response comprising the program code to its destination or communicate an alert with the response indicating that the program code is vulnerable to prevent inclusion of the vulnerable program code in a software project.