CNIPA.AI
返回搜索
档案

INLINE VULNERABILITY DETECTION FOR PROGRAM CODE GENERATED BY A LANGUAGE MODEL

发明专利审中
1浏览
20权利要求 · 3 独立
§ Ⅰ

卷宗概要

发明人

Haozhe Zhang; Qi Deng; Chien-Hua Lu; Shengming Xu; Bo Qu

IPC 分类

H4L 9/40

CPC 分类

H4L63/1433

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.