vuteco-uxc-fnd is a fine-tuned UniXcoder that classifies JUnit test methods into two classes:
Witnessing if it is testing for a vulnerability.Unknown if it is unclear whether it is testing for a vulnerability.VuTeCo is a framework for finding vulnerability-witnessing test cases in Java repositories (Finding) and match them with the right known vulnerability (Matching). More info in its GitHub repository.
This model (vuteco-uxc-fnd) is a fine-tuned UniXcoder with a classification head on top of it.
This model is used in VuTeCo for the "Finding" task, which can classify JUnit test methods into two classes (it actually returns a probability, with 0.5 used as a classification threshold):
Witnessing if it is testing for a vulnerability.Unknown if it is unclear whether it is testing for a vulnerability.The model input is the tokenized raw text of a JUnit test method, with no preprocessing.
Note that this model is the one that achieved the best performance in the Finding task, as reported in VuTeCo's MSR'26 paper.
The model can be used right away to classify specific types of vulnerability-witnessing tests, e.g., distinguishing the exact vulnerability types that is tested.
The model can be further fine-tuned to classify specific types of vulnerability-witnessing tests, e.g., distinguishing the exact vulnerability types that is tested.
It could also be fine-tuned for other testing frameworks (beyond JUnit) and programming languages (Python).
N/A
The model predictions may be inaccurate (misclassified test methods).
In particular, the reported performance show the model has limited recall, so it often says Unknown (i.e., returns low probability scores).
Manually validate the predictions made by the model.
Please, refer to VuTeCo's GitHub repository for loading and using the model in the correct way.
This model was fine-tuned on Java repositories and vulnerabilities from Vul4J. Please refer to VuTeCo's GitHub repository for loading the dataset in the correct way.
Please refer to VuTeCo's GitHub repository for customizing the model training.
Please refer to VuTeCo's GitHub repository for customizing the model evaluation.
Please, refer to the MSR'26 paper for an overview of the main evaluation results. The complete raw results can be found in the paper's online appendix on Zenodo.
[More Information Needed]
N/A
If you use this model, please cite the MSR'26 paper (the publisher's reference will be available soon):
BibTeX:
@misc{iannone2026matchheavenaidrivenmatching,
title={A Match Made in Heaven? AI-driven Matching of Vulnerabilities and Security Unit Tests},
author={Emanuele Iannone and Quang-Cuong Bui and Riccardo Scandariato},
year={2026},
eprint={2502.03365},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2502.03365},
}
pytorch_model.bin 507 MBtraining_args.bin 5.3 kBmicrosoft/unixcoder-base