Searcharxiv⌕ Search

arXiv · 2611.26739

Exploring Early Vulnerability Analysis via Automatic Identification of Vulnerability-Introducing Commits

Abstract

Developing effective vulnerability analysis techniques requires high-quality datasets that capture how vulnerabilities appear and evolve in real software codebase. Existing datasets, however, typically label as vulnerable only the code immediately preceding vulnerability-fixing commits (VFCs), overlooking the earlier versions in which vulnerabilities were first introduced and subsequently evolved. This practice limits both dataset coverage and our understanding of whether current detectors can identify vulnerabilities during their early, latent stages. In this paper, we present three manually annotated datasets of vulnerability-introducing commits (VICs) based on recent CVEs and widely used open-source projects. We further propose D-SZZ, a data state-aware VIC identification framework that analyzes security-fixing patterns and performs vulnerability scope slicing to recover the semantics implied by a fix. Experimental results demonstrate that D-SZZ outperforms existing SZZ and LLM-based baselines in identifying VICs. In addition, we evaluate six representative vulnerability detectors and find that models trained only on pre-VFC code struggle with original vulnerabilities, while incorporating early-stage samples improves detection performance. We also show that D-SZZ improves downstream vulnerable-version identification, and use it to uncover 16 inaccurate affected-version records in the NVD, all of which were officially confirmed and updated.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Weiliang Qi, Shu Wang, Youpeng Li, Ela Guo, Xinda Wang. 2026-11-19. Exploring Early Vulnerability Analysis via Automatic Identification of Vulnerability-Introducing Commits. https://searcharxiv.com/abs/2611.26739

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Searcharxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Mega-MMDF and DeepfakeBench-MM: Benchmarking Multimodal Deepfake Detection Across Diverse Forgery Pipelines

Audio-visual deepfakes can spread misinformation and enable impersonation, undermining trust in digital media. However, existing datasets provide limited coverage of forgery operations and their combinations, constraining detector development and systematic evaluation. We introduce Mega-MMDF, containing 100,000 real and 1.2 million forged clips across 22 pipelines spanning modality-specific manipulations, stacked forgeries, and joint audio-video generation. To assess its training value and enable fair comparisons, we develop DeepfakeBench-MM, which standardizes training and evaluation across 8 datasets and 10 detectors. Training-based detectors achieve their highest mean AUC when trained on Mega-MMDF, with gains of up to 0.0784 over the best alternative training dataset for each detector. Experiments on data scale and pipeline coverage further support the value of large, diverse training data. Cross-pipeline evaluations reveal bidirectional and asymmetric generalization. Training on composite forgeries does not necessarily enable detection of their constituent operations in isolation. Our analysis of altered inputs shows that modality masking can increase false alarms and missed detections, and temporal misalignment can raise mean predicted forgery probabilities. Together, these resources provide a foundation for understanding and improving multimodal deepfake detection, with publicly available code and dataset access subject to application and usage terms.

cs.CR↗

A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle

The emergence of writable, cross-session persistent memory in LLM agents introduces a qualitatively different threat landscape from conventional input-centric security concerns, characterized by three properties: persistence, statefulness, and propagation. To systematically characterize this landscape, we propose a Memory Lifecycle Framework that organizes attacks, defenses, and their cross-phase dependencies along two axes: six lifecycle phases (Write, Store, Retrieve, Execute, Share & Propagate, Forget & Rollback) and four security objectives (Integrity, Confidentiality, Availability, Governance). This analysis in turn exposes the need for explicit security requirements at the system level, motivating Verifiable Memory Governance (VMG), a framework of five architectural primitives for specifying and evaluating auditable, recoverable control over memory state within declared system and threat-model boundaries. Our analysis motivates integrating provenance, versioning, and policy-aware retention with retrieval and execution defenses to support auditable prevention, containment, and recovery across the lifecycle.

cs.CR↗

Differentially Private Contrastive Learning via Bounding Group-level Contribution

Differentially private (DP) contrastive learning aims to learn general-purpose representations from sensitive data, alleviating privacy leakage concerns associated with embedding models trained on private user content. However, standard contrastive objectives compare each sample with all other samples in the batch, so a single record affects the gradient of every sample in the batch. These inter-sample dependencies make it difficult to bound each record's influence while retaining useful training signals under DP. We propose DP-GCL, a DP contrastive learning framework that jointly localizes contrastive dependencies and bounds the resulting gradients. Its core module, Bounding Group-level Contribution (BGC), partitions each batch into disjoint groups, restricts comparisons to within-group samples, and clips each group's gradient separately before aggregation. This design confines each record's influence to one group while allowing signals from multiple groups to accumulate under a sensitivity bound independent of the number of groups. Because grouping reduces the available negatives, we further introduce intra-group sample augmentation to enrich local negative views without additional privacy cost. Across eight datasets, DP-GCL improves image classification and image-text retrieval accuracy over the strongest baseline by an average of 5.6 and 20.0 percentage points, respectively. Further ablation studies indicate that these improvements arise primarily from the joint design of group-local contrastive objectives and group-level gradient clipping. Moreover, DP-GCL exhibits favorable batch-size scaling and remains compatible with diverse network architectures and parameter-efficient fine-tuning strategies such as LoRA.

cs.CR↗