EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

A Lightweight Hybrid Graph-Neural-Network and Heuristic Framework for Practical Software Vulnerability Assessment in Production Codebases

Ahmed M. Elalfy, Gamal A. Ebrahim, Marvy Badr Monir Mansour

Computers · 19.08.2026 · 15 (8) · 542

DOI: 10.3390/computers15080542 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Computers, online erschienen am 19.08.2026. Verfasst von Ahmed M. Elalfy und 2 weiteren Autor:innen. Die Arbeit nennt 37 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The deployment of deep-learning vulnerability detectors in production remains difficult. Models are large, false-positive rates are high, output is opaque, and a persistent gap separates benchmark performance from real-world utility. The objective of this work is to close part of that gap by combining a learned detector with interpretable rules so that accuracy, efficiency, and actionability are achieved together. A hybrid framework is therefore presented in which a lightweight edge-conditioned GNN of 71,810 parameters, named FastVulnGNN, trained in 96.2 s on a single CPU core, is paired with rule-based heuristic detection for six C/C++ vulnerability classes, namely buffer overflows, format-string defects, null-pointer dereferences, double-free errors, integer overflows, and race conditions. On the MegaVul dataset, an accuracy of 71.1%, an F1 score of 0.70, and an AUC-ROC of 0.77 are obtained by the GNN component. On a production codebase of 499 files and 312,758 lines of code, the full hybrid scan completes in 5.5 s, which corresponds to about 57,000 lines per second, without any GPU hardware. Per-file risk tiers and pattern-level explanations are produced, and these are suitable for continuous-integration use. The significance of this work lies in demonstrating that a deployable, explainable detector can be assembled from compact components, and an edge-type ablation study, a cross-dataset evaluation, and a per-vulnerability analysis are reported to characterize the approach.

Zitieren

APA

Elalfy, A. M., Ebrahim, G. A., & Mansour, M. B. M. (2026). A Lightweight Hybrid Graph-Neural-Network and Heuristic Framework for Practical Software Vulnerability Assessment in Production Codebases. Computers, 15(8), 542. https://doi.org/10.3390/computers15080542

Vancouver

Elalfy AM, Ebrahim GA, Mansour MBM. A Lightweight Hybrid Graph-Neural-Network and Heuristic Framework for Practical Software Vulnerability Assessment in Production Codebases. Computers. 2026;15(8):542. doi:10.3390/computers15080542

BibTeX
@article{Elalfy2026,
  author = {Elalfy, Ahmed M. and Ebrahim, Gamal A. and Mansour, Marvy Badr Monir},
  title = {A Lightweight Hybrid Graph-Neural-Network and Heuristic Framework for Practical Software Vulnerability Assessment in Production Codebases},
  journal = {Computers},
  year = {2026},
  volume = {15},
  number = {8},
  pages = {542},
  doi = {10.3390/computers15080542}
}
Kostenlos starten →