Repository-Level Graph Representation Learning for Enhanced Security Patch Detection
Xin-Cheng Wen 1 , Zirui Lin 1 , Cuiyun Gao 1,2∗ , Hongyu Zhang 3 , Yong Wang 4 , Qing Liao 1,2 · 2024
Read Repository-Level Graph Representation Learning for Enhanced Security Patch Detection by Xin-Cheng Wen 1 , Zirui Lin 1 , Cuiyun Gao 1,2∗ , Hongyu Zhang 3 , Yong Wang 4 , Qing Liao 1,2 (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-08068.txt.
Description
Xin-Cheng Wen and five co-authors hunt silent security patches in software repositories in a 2024 paper. Vendors often fix vulnerabilities without announcements, so defenders must spot security patches among ordinary code changes. Older detectors look only at the patch itself, ignoring how the changed code connects across files and functions.
Their framework builds a graph of the whole repository, merging code from before and after the patch, then blends graph and sequence views of the changes. A staged learning scheme balances meaning and structure. On two standard datasets, expanded to tens of thousands of repository versions, the method beat six existing detectors and five graph learning models. The authors give the datasets and code a public release.
Catalog record
| CREATOR | Xin-Cheng Wen 1 , Zirui Lin 1 , Cuiyun Gao 1,2∗ , Hongyu Zhang 3 , Yong Wang 4 , Qing Liao 1,2 |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 53 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-08068