International Peer-Reviewed Journal•Open Access•ISSN 2456-8880
[email protected]•+91-7433024337

Home / Current Issue / Paper 1725857

1725857 Vol 10 · Issue 5 Download Paper

An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol

Aditya Parag Lohokare Rutuja Tanawde Prof. Sarjerao Ghatge

Subject area: Science,Engineering and Technology  ·  Area of research: Cybersecurity and Computer Science

DOI: 10.64388/ire1725857

Abstract

Language models have become good at reading, explaining and rewriting code, so it is no surprise that people want to use them for security work. The trouble is that most studies tune a single stage of the job, usually detection, and report numbers from benchmarks that flatter the result. We describe a framework that treats vulnerability analysis as a chain of stages, each of which must produce evidence that the next stage can check: detection, correlation, CWE classification, risk scoring, explanation, patch generation and validation. A conventional static analyser and an LLM examine the same code side by side, and their findings are merged without losing track of who found what. Severity comes from CVSS-style metrics instead of the model’s own confidence, explanations are scored against a rubric, and a patch counts only if it compiles, passes the tests, stops triggering re-analysis and actually touches the cited root cause. We also fix the evaluation in advance: PrimeVul as the benchmark, frozen prompts and baselines, six experiments, paired statistics, and a decision rule written before any test result exists. Eight research questions and four hypotheses guide the plan. This is a design and protocol paper. We report no experimental results, and every results table is an empty template.

Keywords

vulnerability detection, large language models, static analysis, explainable AI, automated vulnerability repair, CWE, patch validation, reproducibility

References

[1] OWASP Foundation, “OWASP Top 10 – 2021: The Ten Most Critical Web Application Security Risks,” 2021. [Online]. Available: https://owasp.org/Top10/

[2] X. Zhou, S. Cao, X. Sun, and D. Lo, “Large Language Model for Vulnerability Detection and Repair: Literature Review and the Road Ahead,” ACM Trans. Softw. Eng. Methodol., vol. 34, no. 5, Art. 145, 2025, doi: 10.1145/3708522.

[3] Z. Sheng, Z. Chen, S. Gu, H. Huang, G. Gu, and J. Huang, “LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insights,” ACM Comput. Surv., vol. 58, no. 5, Art. 134, 2025, doi: 10.1145/3769082.

[4] Y. Ding, Y. Fu, O. Ibrahim, C. Sitawarin, X. Chen, B. Alomair, D. Wagner, B. Ray, and Y. Chen, “Vulnerability Detection with Code Language Models: How Far Are We?” in Proc. IEEE/ACM Int. Conf. Software Engineering (ICSE), 2025.

[5] L. B. Germano, R. R. Goldschmidt, R. Choren, and J. C. Duarte, “A Systematic Review on Detection, Repair, and Explanation of Vulnerabilities in Source Code Using Large Language Models,” IEEE Access, vol. 13, pp. 192263–192293, 2025, doi: 10.1109/ACCESS.2025.3631363.

[6] MITRE Corporation, “Common Weakness Enumeration (CWE).” [Online]. Available: https://cwe.mitre.org/

[7] FIRST.org, “Common Vulnerability Scoring System v3.1: Specification Document,” 2019. [Online]. Available: https://www.first.org/cvss/v3.1/specification-document

[8] Z. Li, D. Zou, S. Xu, X. Ou, H. Jin, S. Wang, Z. Deng, and Y. Zhong, “VulDeePecker: A Deep Learning-Based System for Vulnerability Detection,” in Proc. Network and Distributed System Security Symp. (NDSS), 2018.

[9] Z. Li, D. Zou, S. Xu, H. Jin, Y. Zhu, and Z. Chen, “SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities,” IEEE Trans. Dependable Secure Comput., 2021, doi: 10.1109/TDSC.2021.3051525.

[10] Y. Zhou, S. Liu, J. Siow, X. Du, and Y. Liu, “Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks,” in Advances in Neural Information Processing Systems (NeurIPS), 2019.

[11] S. Chakraborty, R. Krishna, Y. Ding, and B. Ray, “Deep Learning Based Vulnerability Detection: Are We There Yet?” IEEE Trans. Softw. Eng., vol. 48, no. 9, pp. 3280–3296, 2022.

[12] Y. Li, S. Wang, and T. N. Nguyen, “Vulnerability Detection with Fine-Grained Interpretations,” in Proc. ACM Joint European Software Engineering Conf. and Symp. on the Foundations of Software Engineering (ESEC/FSE), 2021.

[13] V.-A. Nguyen, D. Q. Nguyen, V. Nguyen, T. Le, Q. H. Tran, and D. Phung, “ReGVD: Revisiting Graph Neural Networks for Vulnerability Detection,” in Proc. ICSE Companion, 2022.

[14] Z. Feng et al., “CodeBERT: A Pre-Trained Model for Programming and Natural Languages,” in Findings of EMNLP, 2020.

[15] D. Guo et al., “GraphCodeBERT: Pre-training Code Representations with Data Flow,” in Int. Conf. Learning Representations (ICLR), 2021.

[16] Y. Wang, W. Wang, S. Joty, and S. C. H. Hoi, “CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation,” in Proc. EMNLP, 2021.

[17] W. Ahmad, S. Chakraborty, B. Ray, and K.-W. Chang, “Unified Pre-training for Program Understanding and Generation,” in Proc. NAACL, 2021.

[18] D. Guo, S. Lu, N. Duan, Y. Wang, M. Zhou, and J. Yin, “UniXcoder: Unified Cross-Modal Pre-training for Code Representation,” in Proc. ACL, 2022.

[19] M. Fu and C. Tantithamthavorn, “LineVul: A Transformer-based Line-Level Vulnerability Prediction,” in Proc. IEEE/ACM Int. Conf. Mining Software Repositories (MSR), 2022.

[20] H. Hanif and S. Maffeis, “VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detection,” in Proc. Int. Joint Conf. Neural Networks (IJCNN), 2022.

[21] J. Fan, Y. Li, S. Wang, and T. N. Nguyen, “A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries,” in Proc. Int. Conf. Mining Software Repositories (MSR), 2020.

[22] G. Bhandari, A. Naseer, and L. Moonen, “CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software,” in Proc. Int. Conf. Predictive Models and Data Analytics in Software Engineering (PROMISE), 2021.

[23] K. Tamberg and H. Bahsi, “Harnessing Large Language Models for Software Vulnerability Detection: A Comprehensive Benchmarking Study,” arXiv:2405.15614, 2024.

[24] M. Dozono, T. Gasiba, and A. Stocco, “Empirical Multi-Language Evaluation of Large Language Models for Software Vulnerability Detection and CWE Classification,” arXiv:2408.06428, 2024.

[25] H. Li, Y. Hao, Y. Zhai, and Z. Qian, “Enhancing Static Analysis for Practical Bug Detection: An LLM-Integrated Approach,” Proc. ACM Program. Lang., vol. 8, no. OOPSLA1, 2024.

[26] U. Kulsum, H. Zhu, B. Xu, and M. d’Amorim, “A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback,” in Proc. ACM Int. Conf. AI-Powered Software Engineering (AIware), 2024.

How to cite this paper

Aditya Parag Lohokare, Rutuja Tanawde, Prof. Sarjerao Ghatge "An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol" Iconic Research And Engineering Journals Volume 10 Issue 5 2026 Page 7045-7064 https://doi.org/10.64388/ire1725857
Aditya Parag Lohokare, Rutuja Tanawde, Prof. Sarjerao Ghatge "An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol" Iconic Research And Engineering Journals, vol. 10, no. 5, Nov. 2026, doi: https://doi.org/10.64388/ire1725857
Aditya Parag Lohokare, Rutuja Tanawde, Prof. Sarjerao Ghatge (2026). An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol. Iconic Research And Engineering Journals, 10(5). doi: https://doi.org/10.64388/ire1725857
Aditya Parag Lohokare, Rutuja Tanawde, Prof. Sarjerao Ghatge "An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol" Iconic Research And Engineering Journals, vol. 10, no. 5, Nov. 2026. Crossref, https://doi.org/10.64388/ire1725857
@article{1725857,
      author = {Aditya Parag Lohokare, Rutuja Tanawde, Prof. Sarjerao Ghatge},
      title = {An Explainable, Validation-Oriented LLM–SAST Hybrid Framework for Vulnerability Detection, Classification, Risk Assessment and Secure-Code Remediation: Design and Pre-Registered Evaluation Protocol},
      journal = {Iconic Research And Engineering Journals},
      year = {2026},
      volume = {10},
      number = {5},
      pages = {7045-7064},
      issn = {2456-8880},
      url = {https://www.irejournals.com/formatedpaper/1725857.pdf},
      abstract = {Language models have become good at reading, explaining and rewriting code, so it is no surprise that people want to use them for security work. The trouble is that most studies tune a single stage of the job, usually detection, and report numbers from benchmarks that flatter the result. We describe a framework that treats vulnerability analysis as a chain of stages, each of which must produce evidence that the next stage can check: detection, correlation, CWE classification, risk scoring, explanation, patch generation and validation. A conventional static analyser and an LLM examine the same code side by side, and their findings are merged without losing track of who found what. Severity comes from CVSS-style metrics instead of the model’s own confidence, explanations are scored against a rubric, and a patch counts only if it compiles, passes the tests, stops triggering re-analysis and actually touches the cited root cause. We also fix the evaluation in advance: PrimeVul as the benchmark, frozen prompts and baselines, six experiments, paired statistics, and a decision rule written before any test result exists. Eight research questions and four hypotheses guide the plan. This is a design and protocol paper. We report no experimental results, and every results table is an empty template.},
      keywords = {vulnerability detection, large language models, static analysis, explainable AI, automated vulnerability repair, CWE, patch validation, reproducibility},
      month = {November},
      doi = {https://doi.org/10.64388/ire1725857}
  }