Systems and methods for detection of software vulnerability fix
AssigneeHuawei Technologies Co., Ltd.
InventorsJiayuan ZHOU, Michael PACHECO, Xin XIA, Yuan WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsJiayuan ZHOU, Michael PACHECO, Xin XIA, Yuan WANG
Estimating the term…
Methods and systems are described for detecting and reporting a vulnerability fix in a code repository. A commit obtained from the code repository is preprocessed to generate file-level token sequences each representing a file-level code change for respective files. Respective file-level code change embedding vectors are generated by inputting each file-level token sequence into a transformer model, each file-level code change embedding vector being a vector representation of the file-level code change for the respective file. The file-level code change embedding vectors are combined into a commit-level code change embedding vector that represents all code changes contained in the commit. A predicted commit-level vulnerability fix score is generated by inputting the commit-level code change embedding vector into a classifier. A vulnerability fix report is outputted, containing an identification of the commit and the predicted commit-level vulnerability fix score.
A method comprising:
A system comprising:
A computer readable medium having instructions encoded thereon, wherein the instructions, when executed by a processing unit of a system, cause the system to:
Dependencies are inferred from the claim text.