TUHH Open Research
Help
New user? Click here to register.Have you forgotten your password?
Communities & Collections
Publications
Research Data
People
Institutions
Projects
  1. Home
  2. Publications
  3. Publications
  4. A match made in heaven? AI-driven matching of vulnerabilities and security unit tests

A match made in heaven? AI-driven matching of vulnerabilities and security unit tests

Citation Link: https://doi.org/10.15480/882.18021
Publikationstyp
Conference Paper
Date Issued
2026-04
Sprache
English
Author(s)
Iannone, Emanuele
Software Security E-22
Bui, Quang Cuong
Software Security E-22
Scandariato, Riccardo
Software Security E-22
TORE-DOI
10.15480/882.18021
TORE-URI
https://hdl.handle.net/11420/64454
Start Page
133
End Page
144
Citation
23rd International Conference on Mining Software Repositories, MSR 2026
Contribution to Conference
23rd International Conference on Mining Software Repositories, MSR 2026
Publisher DOI
10.1145/3793302.3793345
Scopus ID
2-s2.0-105047026531
Publisher
Association for Computing Machinery (ACM)
ISBN of container
979-840072474-9
Software vulnerabilities are often detected via taint analysis, penetration testing, or fuzzing. They are also found via unit tests that exercise security-sensitive behavior with specific inputs, called vulnerability-witnessing tests. Generative AI models could help developers in writing them, but they require many examples to learn from, which are currently scarce. This paper introduces VuTeCo, an AI-driven framework for collecting examples of vulnerability-witnessing tests from Java repositories. VuTeCo carries out two tasks: (1) The "Finding"task to determine whether a unit test case is security-related, and (2) the "Matching"task to relate a test case to the vulnerability it witnesses. VuTeCo addresses the Finding task with UniXcoder, achieving an F₀.₅ score of 0.73 and a precision of 0.83 on a test set of unit tests from Vul4J. The Matching task is addressed using DeepSeek Coder, achieving an F₀.₅ score of 0.65 and a precision of 0.75 on a test set of pairs of unit tests and vulnerabilities from Vul4J. VuTeCo has been used in the wild on 427 Java projects and 1,238 vulnerabilities, obtaining 224 test cases confirmed to be security-related and 35 tests correctly matched to 29 vulnerabilities. The validated tests were collected in a new dataset called Test4Vul. VuTeCo lays the foundation for large-scale retrieval of vulnerability-witnessing tests, enabling future AI models to better understand and generate security unit tests.
Subjects
Language Models
Mining Software Repositories
Security Testing
Unit Testing
Vulnerability-witnessing Tests
DDC Class
005.8: Computer Security
006.3: Artificial Intelligence
Funding(s)
Cybersecurity for AI-Augmented Systems
Lizenz
https://creativecommons.org/licenses/by/4.0/
Publication version
publishedVersion
Loading...
Thumbnail Image
Download
Name

3793302.3793345.pdf

Type

Main Article

Size

1.09 MB

Format

Adobe PDF

TUHH
Weiterführende Links
  • Contact
  • Send Feedback
  • Cookie settings
  • Privacy policy
  • Impress
DSpace Software

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science
Design by effective webwork GmbH

  • Deutsche NationalbibliothekDeutsche Nationalbibliothek
  • ORCiD Member OrganizationORCiD Member Organization
  • DataCiteDataCite
  • Re3DataRe3Data
  • OpenDOAROpenDOAR
  • OpenAireOpenAire
  • BASE Bielefeld Academic Search EngineBASE Bielefeld Academic Search Engine
Feedback