PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 10, 2025ACM Transactions on Software Engineering and Methodology2 citations

Just-in-Time Detection of Silent Security Patches

View Full Paper
XTXunzhu TangKKKisub KimSESaad Ezzini

Key Points

  • Identifying silent security patches is crucial for mitigating n-day attacks and maintaining software security.
  • The method leverages large language models to enhance information surrounding security patches and vulnerabilities.
  • A representation learning approach explores code-text alignment methodologies for increased accuracy.
  • Evaluating on the PatchDB and SPI-DB datasets shows a 20% improvement in F-Measure over existing approaches.

Abstract

Open-source code is pervasive. In this setting, embedded vulnerabilities are spreading to downstream software at an alarming rate. Although such vulnerabilities are generally identified and addressed rapidly, inconsistent maintenance policies can cause security patches to go unnoticed. Indeed, security patches can be silent, i.e., they do not always come with comprehensive advisories such as CVEs. This lack of transparency leaves users oblivious to available security updates, providing ample opportunity for attackers to exploit unpatched vulnerabilities. Consequently, identifying silent security patches just in time when they are released is essential for preventing n-day attacks and for ensuring robust and secure maintenance practices. With llmda we propose to (1) leverage large language models (LLMs) to augment patch information with generated code change explanations, (2) design a representation learning approach that explores code-text alignment methodologies for feature combination, (3) implement a label-wise training with labeled instructions for guiding the embedding based on security relevance, and (4) rely on a probabilistic batch contrastive learning mechanism for building a high-precision identifier of security patches. We evaluate llmda on the PatchDB and SPI-DB literature datasets and show that our approach substantially improves over the state-of-the-art, notably GraphSPD by 20% in terms of F-Measure on the SPI-DB benchmark.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Tang et al. (2025) studied this question.

synapsesocial.com/papers/68c1ad6a54b1d3bfb60e5f0ahttps://doi.org/10.1145/3749370
Ask AI
Helpful
Bookmark
Share
View Full Paper