paper-with-me

Papers

VulTriage: Triple-Path Context Augmentation for LLM-Based Vulnerability Detection

2026-05-10 · Wenxin Tang, Xiang Zhang, Junliang Liu, Jingyu Xiao, Xi Xiao, Jinlong Yang, Yuehe Ma, Zhenyu Liu, Zhengheng Li, Zicheng Wang, Wang Luo, Qing Li, Lei Wang, Peng Xiangli arxiv

Automated vulnerability detection is a fundamental task in software security, yet existing learning-based methods still struggle to capture the structural dependencies, domain-specific vulnerability knowledge, and complex program semantics required for accurate detection. Recent Large Language Models (LLMs) have shown strong code understanding ability, but directly prompting them with raw source code often leads to missed vulnerabilities or false alarms, especially when vulnerable and benign functions differ only in subtle semantic details. To address this, we propose VulTriage, a triple-path context augmentation framework for LLM-based vulnerability detection. VulTriage enhances the LLM input through three complementary paths: a Control Path that extracts and verbalizes AST, CFG, and DFG information to expose control and data dependencies; a Knowledge Path that retrieves relevant CWE-derived vulnerability patterns and examples through hybrid dense--sparse retrieval; and a Semantic Path that summarizes the functional behavior of the code before the final judgment. These contexts are integrated into a unified instruction to guide the LLM toward more reliable vulnerability reasoning. Experiments on the PrimeVul pair test set show that VulTriage achieves state-of-the-art performance, outperforming existing deep learning and LLM-based baselines on key pair-wise and classification metrics. Further ablation studies verify the effectiveness of each path, and additional experiments on the Kotlin dataset demonstrate the generalization ability of VulTriage under low-resource and class-imbalanced settings. Our code is available at https://github.com/vinsontang1/VulTriage

📄 PDF Abstract BibTeX arXiv:2605.09461

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability Detection

Similar Papers 제목 키워드 기반

LLM-based Vulnerable Code Augmentation: Generate or Refactor?

2025-12-09 · Dyna Soumhane Ouchebara, Stéphane Dupont arxiv

Vulnerability code-bases often suffer from severe imbalance, limiting the effectiveness of Deep Learning-based vulnerability classifiers. Data Augmentation could help solve this by mitigating the scarcity of under-repres…

Data Augmentation

VATS: Exploiting Implicit Authority in Error-Path Injection via Systematic Mutation

2026-06-06 · Harshil Patel, Kunal Pai arxiv

As the Model Context Protocol (MCP) standardizes tool-calling for autonomous agents, it introduces a critical, unexamined attack surface: the error-handling loop. We hypothesize that tool error messages possess implicit …

SimTriplet: Simple Triplet Representation Learning with a Single GPU

2021-03-09 · Quan Liu, Peter C. Louis, Yuzhe Lu, Aadarsh Jha 외

Contrastive learning is a key technique of modern self-supervised learning. The broader accessibility of earlier approaches is hindered by the need of heavy computational resources (e.g., at least 8 GPUs or 32 TPU cores)…

Contrastive LearningGPUMedical Image AnalysisRepresentation Learning+2

Compositional Feature Augmentation for Unbiased Scene Graph Generation

2023-08-13 · ICCV 2023 1 · Lin Li, Guikun Chen, Jun Xiao, Yi Yang 외

Scene Graph Generation (SGG) aims to detect all the visual relation triplets <sub, pred, obj> in a given image. With the emergence of various advanced techniques for better utilizing both the intrinsic and extrinsic info…

DiversityGraph GenerationRelationScene Graph Generation+2

Modeling Paths for Explainable Knowledge Base Completion

2019-08-01 · WS 2019 8 · Josua Stadelmaier, Sebastian Pad{\'o}

A common approach in knowledge base completion (KBC) is to learn representations for entities and relations in order to infer missing facts by generalizing existing ones. A shortcoming of standard models is that they do …

Knowledge Base Completion