{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,3]],"date-time":"2026-10-03T01:01:12Z","timestamp":1790989272854,"version":"4.1.0"},"reference-count":0,"publisher":"River Publishers","license":[{"start":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T00:00:00Z","timestamp":1790899200000},"content-version":"unspecified","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["JCSANDM"],"abstract":"<jats:p>A persistent challenge in software vulnerability detection is the failure of many existing approaches to handle highly imbalanced datasets reliably. In practical vulnerability datasets, vulnerable functions usually account for only a small proportion of all samples, which makes model evaluation highly sensitive to feature representation, threshold selection, and class distribution. To address this issue, this study proposes a lightweight feature-based detection pipeline for function-level vulnerability detection. The implemented method combines TF-IDF lexical features with numerical code-statistical features and evaluates several conventional machine-learning classifiers under a unified experimental protocol. PrimeVul is used as the primary dataset, while DiverseVul is introduced for external cross-dataset validation. The experiments include baseline comparison, feature ablation, threshold selection, sensitivity analysis, random-seed stability testing, imbalance-handling evaluation, and cross-dataset assessment. The results show that the proposed feature-based pipeline achieves stable performance under highly imbalanced settings. On the PrimeVul test set, the best configuration achieves an accuracy of approximately 0.9697, an F1-score in the range of 0.26\u20130.27, and a ROC-AUC above 0.83. The external evaluation on DiverseVul further indicates that the learned feature representation retains a certain degree of cross-dataset generalization. These findings suggest that carefully designed lightweight feature representations, combined with systematic multi-metric evaluation, can provide a reproducible and interpretable baseline for practical software vulnerability detection.<\/jats:p>","DOI":"10.13052\/jcsm2245-1439.1553","type":"journal-article","created":{"date-parts":[[2026,10,3]],"date-time":"2026-10-03T00:43:59Z","timestamp":1790988239000},"source":"Crossref","is-referenced-by-count":0,"title":["Vulnerable Function Detection Using Lexical and Structural Features: An Empirical Study on PrimeVul and DiverseVul"],"prefix":"10.13052","author":[{"given":"Jing","family":"Wang","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"5195","published-online":{"date-parts":[[2026,10,2]]},"container-title":["Journal of Cyber Security and Mobility"],"original-title":[],"link":[{"URL":"https:\/\/journals.riverpublishers.com\/index.php\/JCSANDM\/article\/download\/32995\/24262","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.riverpublishers.com\/index.php\/JCSANDM\/article\/download\/32995\/24263","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.riverpublishers.com\/index.php\/JCSANDM\/article\/download\/32995\/24262","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,3]],"date-time":"2026-10-03T00:44:00Z","timestamp":1790988240000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.riverpublishers.com\/index.php\/JCSANDM\/article\/view\/32995"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,2]]},"references-count":0,"URL":"https:\/\/doi.org\/10.13052\/jcsm2245-1439.1553","relation":{},"ISSN":["2245-4578","2245-1439"],"issn-type":[{"value":"2245-4578","type":"electronic"},{"value":"2245-1439","type":"print"}],"subject":[],"published":{"date-parts":[[2026,10,2]]}}}