Examining Zero-Shot Vulnerability Repair with Large Language Models
The DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
Human developers can produce code with cybersecurity bugs. Can emerging ‘smart’ code completion tools help repair those bugs? In this work, we examine the use of large language models (LLMs) for code (such as OpenAI’s Codex and AI21’s Jurassic J-1) for zero-shot vulnerability repair. We investigate challenges in the design of prompts that coax LLMs into generating repaired versions of insecure code. This is difficult due to the numerous ways to phrase key information— both semantically and syntactically—with natural languages. We perform a large scale study of five commercially available, black-box, "off-the-shelf" LLMs, as well as an open-source model and our own locally-trained model, on a mix of synthetic, hand-crafted, and real-world security bug scenarios. Our experiments demonstrate that while the approach has promise (the LLMs could collectively repair 100% of our synthetically generated and hand-crafted scenarios), a qualitative evaluation of the model’s performance over a corpus of historical real-world examples highlights challenges in generating functionally correct code.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“That said, LLMs may also generate secure code as a replacement for insecure code [27] (i.e. may be used for bug patches). Although this was only shown to reliably work for small synthetic examples rather than for case studies taken from real-world vulnerabilities, where the results were inconclusive”
From Lost at C: A User Study on the Security Implications of Large Language Model Code Assistants (2022) · cites this paper as [27]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · cited 2×
“LLMs trained on large corpora of data can inadvertently gain some ability to perform multiple tasks, even in a “zeroshot” setting [5], [6].”
BackgroundKaugeranna, R., Kaugeranna, E., & Aion, (. S. 4. 6. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.giscience.2023.43 · Cited by 13,690
2017 USENIX Annual Technical Conference (USENIX ATC'17)
Quoc, D. L., Beck, M. S., Bhatotia, P., Chen, R., Fetzer, C. W., & Strufe, T. (2017) · Cited by 3,091
Evaluating Large Language Models Trained on Code
Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. D. O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., et al. (2021) · arXiv · doi:10.48550/arxiv.2107.03374 · Cited by 1,436 · cited 8×
“These include OpenAI’s Codex models [1], AI21’s Jurassic-1 models [8], [25], and the ‘polycoder’ model [26].”
BackgroundMethodInfluentialGenProg: A Generic Method for Automatic Software Repair
Le Goues, C., Nguyen, T., Forrest, S., & Weimer, W. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.104 · Cited by 1,085 · cited 3×
“NMT-based approaches steer clear of problems due to “overfitting” test suites [41], a pitfall of generate-and-validate approaches for patch generation (e.g., the seminal GenProg [42]).”
BackgroundInfluentialSimplifying and isolating failure-inducing input
Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,079
Evaluating large language models trained on code
Chen, M. (2024) · TIB Data Manager · doi:10.57702/wbv3e61b · Cited by 737
AddressSanitizer: a fast address sanity checker
Serebryany, K., Bruening, D. L., Potapenko, A., & Vyukov, D. (2012) · USENIX Annual Technical Conference · Cited by 724
A new algorithm for data compression
Gage, P. (1994) · C/C++ users journal · doi:10.5555/177910.177914 · Cited by 700
A systematic evaluation of large language models of code
Xu, F. F., Alon, U., Neubig, G., & Hellendoorn, V. J. (2022) · Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming · doi:10.1145/3520312.3534862 · Cited by 540
Research works printed but not linked: 7
- GitHub Copilot • Your AI pair programmer. Github,
- Discover Use Cases for AI21 Studio and Jurassic-1. AI21.
- Completion -OpenAI API. Openai,
- Jurassic-1: Technical Details and Evaluation. O Lieber, O Sharir, B Lentz, Y Shoham, I21
- Source Code Analysis Tools. OWASP.
- Examples -OpenAI API. Openai,
- What would other programmers do: suggesting solutions to error messages. B Hartmann, D Macdougall, J Brandt, S R Klemmer, Proceedings of the 28th international conference on Human factors in computing systems -CHI '10. the 28th international conference on Human factors in computing systems -CHI '10Atlanta, Georgia, USAACM Press20101019
Cited by
Items 301–400 of 663
Large Language Model-enabled Vulnerability Investigation: A Review
Pan, Z., Liu, J., Dai, Y., & Fan, W. (2024) · International Conference on Intelligent Computing and Next Generation Networks (ICNGN) · doi:10.1109/icngn63705.2024.10871716 · Cited by 8
“LLMs have recently demonstrated significant advancements in cybersecurity applications, including code analysis [1] and vulnerability remediation [2], as highlighted by prior studies [3].”
Assessing and Improving Prompting Large Language Models for Software Vulnerability Analysis
Nong, Y., Yi, G., Aldeen, M. S., Cheng, L., Hu, H., & Cai, H. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3821416 · Cited by 8
Advancing software security: DCodeBERT for automatic vulnerability detection and repair
Bensaoud, A., & Kalita, J. K. (2025) · Journal of Industrial Information Integration · doi:10.1016/j.jii.2025.100834 · Cited by 8
Relation Extraction Techniques in Cyber Threat Intelligence
Arikkat, D. R., Vinod, P., A., R. R. K., Nicolazzo, S., Nocera, A., & Conti, M. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-70239-6_24 · Cited by 8
LLMs for Defect Prediction in Evolving Datasets: Emerging Results and Future Directions
Bhutamapuram, U. S., Chonari, F., Anilkumar, G. K., & Konchada, S. K. (2025) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3696630.3728491 · Cited by 8
Assert-O: Context-based Assertion Optimization using LLMs
Miftah, S. S., Srivastava, A., Kim, H., & Basu, K. (2024) · ACM Great Lakes Symposium on VLSI (GLSVLSI) · doi:10.1145/3649476.3660378 · Cited by 8
“In the subsequent sections, we will elaborate on the steps involved in generating the optimized properties through Assert-O followed by their optimization process.”
MethodNunez, A., Islam, N. T., Jha, S. K., & Najafirad, P. (2024) · arXiv · doi:10.48550/arxiv.2409.10737 · Cited by 7
“While code generated by LLMs excel in functional correctness, they often produce code with security issues [5, 7].”
MethodIs your prompt poisoning code? Defect induction rates and security mitigation strategies
Wang, B., Zhong, Y., Wan, M., Yu, W., Ouyang, Y., Huang, Y., Wu, H., & Li, H. (2026) · Empirical Software Engineering · doi:10.1007/s10664-026-10866-8 · Cited by 8
“We demonstrate that advanced prompting strate - gies–such as chain-of-thought reasoning and self-correction (Madaan et al. 2023; Fu et al. 2022 ) effectively mitigate security risks introduced by low-normativity prompts, thereby offering developers and LLM researchers actionable guidance for safer…”
Exploring and Improving Real-World Vulnerability Data Generation via Prompting Large Language Models
Yi, G., Nong, Y., Li, M., & Cai, H. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3773176 · Cited by 7
Generating and Reviewing Programming Codes with Large Language Models: A Systematic Mapping Study
de Albuquerque, B. V. L., da Cunha, A. F. S., Souza, L., Siqueira, S. W. M., & dos Santos, R. P. (2024) · Anais do Simpósio Brasileiro de Sistemas de Informação (SBSI) · doi:10.1145/3658271.3658342 · Cited by 7
“…problemas de código e correção de vulnerabili-dades: E02 [27] se concentrou na investigação da existência de “ code smells ” nos dados de treinamento dos modelos e na possível propagação desses problemas para o código ge-rado; E08 [22] investigou a utilização de LLM para reparo de vulnerabilidades.”
BackgroundIntegrating Artificial Open Generative Artificial Intelligence into Software Supply Chain Security
Alevizos, V., Papakostas, G. A., Simasiku, A., Malliarou, D., Messinis, A., Edralin, S., Xu, C., & Yue, Z. (2024) · International Conference on Data Analytics for Business and Industry (ICDABI) · doi:10.1109/icdabi63787.2024.10800301 · Cited by 7
“Addressing this challenge, recent advancements have explored the use of LLMs models like OpenAI’s Codex and AI21’s Jurassic J-1 for zero-shot vulnerability repair [11].”
Ann, S., Cho, S.-J., & Kim, H. J. (2024) · International Conference on Ubiquitous and Future Networks · doi:10.1109/icufn61752.2024.10625633 · Cited by 7
“In 2023, at IEEE S&P, Hammond Pearce et al. [13] conducted a comprehensive investigation using various LLMs, evaluating synthesized scenarios, self-made scenarios, and real-world security scenarios.”
BackgroundUsing LLMs for Security Advisory Investigations: How Far are We?
Abdullah, B. F., Nugroho, Y. S., Reid, B., Kula, R. G., Shimari, K., & Matsumoto, K. (2025) · International Conference on Smart Computing, IoT and Machine Learning (SIML) · doi:10.1109/siml65326.2025.11080876 · Cited by 7
“While LLMs show promise in vulnerability detection [9] and automated security bug repair [10], their tendency to hallucinate information [11] raises risks.”
Sheikhi, S., Kostakos, P., & Lovén, L. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11401968 · Cited by 7
“Pearce et al. [9] evaluated GPT models for vulnerability detection, achieving 76% accuracy on known vulnerabilities but with false positive rates reaching 34% on complex codebases.”
Discrete prompt optimization using genetic algorithm for secure Python code generation
Tony, C., Pintor, M., Kretschmann, M., & Scandariato, R. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112682 · Cited by 7
PatchScope: LLM-Enhanced Fine-Grained Stable Patch Classification for Linux Kernel
Liu, R., Shi, H., Liu, S., Hu, C., Li, S., Shen, Y., Wang, R., Shi, X., & Jiang, Y. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728944 · Cited by 7
GitHub's Copilot Code Review: Can AI Spot Security Flaws Before You Commit?
Amro, A., & Alalfi, M. H. (2026) · Proceedings of Machine Learning Research · doi:10.48550/arxiv.2509.13650 · Cited by 7
“In another relevant study, Pearce et al. [7] explored the capabilities of LLMs to fix known security vulnerabilities in a zero-shot setting and found that while some models produced functional patches, success was inconsistent and highly dependent on prompt quality.”
PortGPT: Towards Automated Backporting Using Large Language Models
Li, Z. L., Yu, Z., Song, J., Xu, M., Luo, Y., & Mu, D. (2026) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp63933.2026.00034 · Cited by 7
“LLM have become powerful tools for various software engineering (SE) tasks, such as vulnerability detection [38], [64], code translation [49], [55], program repair [1], [39], [58], [75], and unit test generation [2], [3].”
LineJLocRepair: A line-level method for Automated Vulnerability Repair based on joint training
Hou, J., Han, J., Huang, C., Wang, N., & Li, L. (2024) · Future Generation Computer Systems · doi:10.1016/j.future.2024.107671 · Cited by 7
Frontier AI's Impact on the Cybersecurity Landscape
Potter, Y., Guo, W., Wang, Z., Shi, T., Li, H., Zhang, A., Kelley, P. G., Thomas, K., & Song, D. (2025) · arXiv · doi:10.48550/arxiv.2504.05408 · Cited by 7
Trillo, J. R., Cabrerizo, F. J., Pérez, I. J., Morente-Molinera, J. A., & Herrera‐Viedma, E. (2024) · IEEE Conference on Evolving and Adaptive Intelligent Systems (EAIS) · doi:10.1109/eais58494.2024.10570029 · Cited by 7
“Likewise, in the article [47], an al-gorithm is described that, through the implementation of code in LLM, facilitates the correction of errors in the code under development.”
MethodLAMBDA: LLM-Assisted Malicious Bug Detection and Analysis in Hardware Designs
Paria, S. (2025) · IEEE International Test Conference (ITC) · doi:10.1109/itc58126.2025.00091 · Cited by 7
“Other LLM-based work focused on bug fixes via static analysis and security feedback [19], [20] is limited to simpler designs and does not fully address security for generic bus-based SoCs.”
Dehghankar, M., Erfanian, M., & Asudeh, A. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2411.06360 · Cited by 7
“…LLMs without needing advanced hardware, it introduces additional costs and delays due to network dependency, along with potential privacy concerns stemming from data transmitted to and processed by external servers (Yao et al., 2024; Pearce et al., 2023; Das et al., 2024; Finlayson et al., 2024).”
HALURust: Exploiting Hallucinations of Large Language Models to Detect Vulnerabilities in RustPreprint
Luo, Y., Zhou, H., Zhang, M., Rosa, D. D. L., Ahmed, H., Xu, W., & Xu, D. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2503.10793 · Cited by 7
Well Begun is Half Done: Location-Aware and Trace-Guided Iterative Automated Vulnerability Repair
Ye, Z., Sun, X., Cao, S., Bo, L., & Li, B. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3773218 · Cited by 7
LLM-Powered Autonomous Security Agents for Next-Generation Cyber Defence
Sardar, T. H., Pandey, B., & Aldasheva, L. (2026) · IEEE International Conference on AI in Cybersecurity (ICAIC) · doi:10.1109/icaic67076.2026.11395792 · Cited by 7
“Initial attempts were made to apply LLMs to vulnerability analysis [9] and to security code analysis [10].”
Navigating the Risks: A Review of Safety Issues in Large Language Models
Wang, H., Li, Y., Wang, Y., Liu, P., & Li, P. (2024) · IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C) · doi:10.1109/qrs-c63300.2024.00020 · Cited by 6
“As LLMs present promising opportunities and possibilities, they are gaining increasing attention within the safety community [19].”
BackgroundAssessing the Effectiveness of ChatGPT in Secure Code Development: A Systematic Literature Review
Bouzid, R., & Khoury, R. (2025) · ACM Computing Surveys · doi:10.1145/3744553 · Cited by 6
A Survey of Large Language Models in Cybersecurity
da Silva, G. D. J. C., & Westphall, C. B. (2024) · arXiv · doi:10.48550/arxiv.2402.16968 · Cited by 6
Assessing the Software Security Comprehension of Large Language ModelsPreprint
Siddiq, M. L., Sekerak, N., Antonio, K., Maria, L., Islam-Gomes, A., & Santos, J. C. S. (2025) · arXiv · doi:10.48550/arxiv.2512.21238 · Cited by 6
“For instance, recent studies have benchmarked LLMs on their capacity to detect memory safety issues and injection vulnerabilities [20, 49], while others have explored zero-shot capabilities for automated program repair (APR) of security-critical bugs [50].”
Sankhe, P., Patil, N. P., Ghorpade, M., Prasad, P., & Linkesh, M. (2025) · International Journal For Multidisciplinary Research · doi:10.36948/ijfmr.2025.v07i06.61350 · Cited by 6
Development of an Adaptive User Support System Based on Multimodal Large Language Models
Wang, W., Li, L., Wickramathilaka, S., Grundy, J., Khalajzadeh, H., Obie, H. O., & Madugalla, A. K. (2024) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc60511.2024.00044 · Cited by 6
“Researchers have applied LLMs to a range of tasks in human-computer interaction and software engineering [17]–[21].”
MethodChallenges and Limitations of Using LLMs in Software Security
Albtosh, L. B. (2024) · Advances in information security, privacy, and ethics book series · doi:10.4018/979-8-3693-9311-6.ch012 · Cited by 6
AI-Assisted Hardware Security Verification: A Survey and AI Accelerator Case Study
Hasan, K. T., Hasan, M. A., Alam, N., Islam, M. T., Das, U., & Farahmandi, F. (2026) · IEEE VLSI Test Symposium (VTS) · doi:10.1109/vts69484.2026.11563216 · Cited by 6
LISAA: A Framework for Large Language Model Information Security Awareness Assessment
Cohen, O., Agmon, G. A., Puzis, R., & Shabtai, A. (2026) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/2026.findings-emnlp.1276 · Cited by 6
VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue ResolutionPreprint
Zhang, M., Wang, X., Zhang, J., Meng, X., Zhang, J., & Hu, C. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.13933 · Cited by 6
Pelofske, E., Urias, V. E., & Liebrock, L. M. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2408.00197 · Cited by 6
“[19] studies the task of repairing CWE examples using GPT models.”
MethodJain, R., & Purandare, R. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2501.14326 · Cited by 6
What Do They Fix? LLM-Aided Categorization of Security Patches for Critical Memory Bugs
Li, X., Pu, J., Wu, Y., Zou, X., Zhu, S., Wu, Q., Zhang, Z., Hsu, J., Dong, Y., Qian, Z., et al. (2026) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2026.230328 · Cited by 6
“They include, but are not limited to, patch generation [72], [50], [22], [23], fuzz testing [39], [76], [75], vulnerability detection [59], [61], [55], bug reproduction [31], and assisting static analysis [42], [43].”
Ameen, M. R., Alam, M. T. U., & Islam, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2605.01885 · Cited by 6
“Pearce et al. examined zero-shot vulnerability repair and showed that LLMs can sometimes generate useful fixes, but their outputs require careful checking [24].”
ARSP: Automated Repair of Verilog Designs via Semantic PartitioningPreprint
Yao, B., Wang, N., Liu, X., Du, Y., Hu, Y., Gao, H., Jiang, Z., & Guan, N. (2025) · arXiv · doi:10.48550/arxiv.2508.16517 · Cited by 6
Zaytsev, V. (2013) · Lecture notes in computer science · doi:10.1007/978-3-319-02654-1_7 · Cited by 6
Exploring the Influence of Prompts in LLMs for Security-Related Tasks
Bai, W., Wu, Q., Wu, K., & Lu, K. (2024) · doi:10.14722/aiscc.2024.23015 · Cited by 6
“Previous work [12] indicates that employing structured demonstrations of the in-context learning method, which includes prompts with few-shot [13, 34], one-shot [13], and zero-shot [24].”
BackgroundChondamrongkul, N., Kyaw, M. P. P., Ko, S. M., Paing, P. P., Swe, M. K. T., & Hongthong, T. (2026) · Science of Computer Programming · doi:10.1016/j.scico.2026.103477 · Cited by 5
Automated Code Comments Generation Using Large Language Models: Empirical Evaluation of T5 and BART
Ghale, D. P., & Dabbagh, M. (2025) · IEEE Access · doi:10.1109/access.2025.3597601 · Cited by 3
“While transformer-based models have demonstrated notable success in various tasks, including code generation [45], text summarization [11], and bug fixing [46].”
HiLDE: Intentional Code Generation via Human-in-the-Loop Decoding
Gonzalez, E. A., Rothkopf, R., Lerner, S., & Polikarpova, N. (2025) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl-hcc65237.2025.00032 · Cited by 5
“Most of this work focuses on improving the security of LLM generated code [21]–[23], and using LLMs to patch existing vulnerabilities [24]–[26] In contrast, we use security as a representative domain to investigate how interaction design influences programmers’ awareness, agency, and intent when…”
Large Language Models-Aided Program Debloating
Lin, B., Wang, S., Qin, Y., Chen, L., & Mao, X. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3594673 · Cited by 5
“Multi-Advisor-Aided Program Debloating (addressing Challenge 2) : Existing studies show that LLMs can serve as experts to incorporate diverse perspectives and make reasonable decisions [18], [23], including detecting [46], [85] and repairing [54] vulnerabilities.”
CodingCare: AI Code Generation Security Framework for Common Vulnerability Mitigation
Ding, Z., Wu, S., Zhang, Y., Yang, T., Li, Y., Li, Z., Shao, H., & Shi, Y. (2025) · International Conference on Intelligent Systems, Communications and Computer Networks (ISCCN) · doi:10.1145/3732945.3732990 · Cited by 5
Subahi, A. F. (2026) · IEEE Access · doi:10.1109/access.2026.3663331 · Cited by 6
“In the second work [22], Codex was employed to generate code that manages security vulnerabilities.”
A Semantics-Based Approach on Binary Function Similarity Detection
Zhang, Y., Fang, B., Xiong, Z., Wang, Y., Liu, Y., Zheng, C., & Zhang, Q. (2024) · IEEE Internet of Things Journal · doi:10.1109/jiot.2024.3389014 · Cited by 5
“These models are pretrained on extensive data and have been extensively used in various tasks within the program analysis domain [50], [51], [52].”
MethodEnhancing Code Security Through Open-Source Large Language Models: A Comparative Study
Ridley, N., Branca, E., Kimber, J., & Stakhanova, N. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-57537-2_15 · Cited by 5
Ananbeh, O., Alnozami, W., & Kim, D. (2026) · Automated Software Engineering · doi:10.1007/s10515-026-00622-z · Cited by 5
Jiao, R., Zhang, Y., Li, J., & Ma, Z. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00071 · Cited by 5
“For example, Pearce et al. [37] exemplify this by generating up to 19,600 potential repair patches for 12 real-world project CVEs, with only 982 achieving successful repair.”
Combating Missed Recalls in E-commerce Search: A CoT-Prompting Testing Approach
Wu, S., Hu, Y., Wang, Y., Gu, J., Meng, J., Fan, L., Luan, Z., Wang, X., & Zhou, Y. (2024) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3663529.3663842 · Cited by 5
Integration of LLMs With Traditional Security Tools
Jones, R. K., & Jones, A. J. (2024) · Advances in information security, privacy, and ethics book series · doi:10.4018/979-8-3693-9311-6.ch008 · Cited by 5
Ceran, O. (2025) · Gazi Journal of Engineering Sciences · doi:10.30855/gmbd.070525a13 · Cited by 5
Harnessing the Power of LLMs for Enhancing Hardware Security
Paria, S., & Bhunia, S. (2026) · SN Computer Science · doi:10.1007/s42979-026-04799-8 · Cited by 5
Identifying Helpful Context for LLM-based Vulnerability Repair: A Preliminary Study
Antal, G., Bogenfürst, B., Ferenć, R., & Hegedűs, P. (2025) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3756681.3757078 · Cited by 5
CLMTracing: Black-box User-level Watermarking for Code Language Model Tracing
Zhang, B., He, P., Du, T., Zhang, X., Lei, Y., Chow, K., & Yin, J. (2025) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2025.emnlp-main.1475 · Cited by 5
PerfCoder: Large Language Models for Interpretable Code Performance Optimization
Yang, J., Lu, S., Liu, H., Bagi, S. S. G., Fazel, Z., Czajkowski, T., & Niu, D. (2026) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2026.findings-acl.675 · Cited by 5
Ma, M., Han, L., & Zhou, C. (2024) · arXiv · doi:10.48550/arxiv.2402.07408 · Cited by 5
“There is a lack of publicly available benchmark datasets and open-source baseline methods for webshell detection.”
BackgroundAnka: A Domain-Specific Language for Reliable LLM Code GenerationPreprint
Mazrouei, S. K. S. A. (2025) · arXiv · doi:10.48550/arxiv.2512.23214 · Cited by 5
“Prior work has identified consistent error patterns: incorrect variable scoping, off-by-one errors in iteration, and state management bugs in sequential operations [Pearce et al., 2023, Jesse et al., 2023].”
SecRepoBench: Benchmarking Code Agents for Secure Code Completion in Real-World Repositories
Shen, C., Dilgren, C., Chiniya, P., Griffith, L., Ding, Y., & Chen, Y. (2026) · Proceedings of the 3rd International Workshop on Large Language Models For Code · doi:10.1145/3786181.3788703 · Cited by 4
DroneTest-Copilot: LLM-Powered Automated Detection and Repair of Flaws in Drone Autotest Suites
Liang, Z., HU, L. Z., Fan, Q., Yuan, B., Zhang, Q., Zou, D., & Jin, H. (2026) · IEEE Transactions on Network Science and Engineering · doi:10.1109/tnse.2026.3653678 · Cited by 4
Yardım, A., Serafini, R., Jost, N., Ortloff, A.-M., Speckels, J. G., & Naiakshina, A. (2026) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3772318.3791693 · Cited by 4
Zhang, H., Lu, H., Chen, Y., He, Y., & Tian, Z. (2026) · Big Data Mining and Analytics · doi:10.26599/bdma.2025.9020078 · Cited by 3
Prompt. Exploit. Repeat: Automating Network Security Testing with LLMs
Rigaki, M., Lukáš, O., Catania, C. A., & García, S. (2025) · Lecture notes in computer science · doi:10.1007/978-3-031-87330-0_2 · Cited by 4
Large language model-enhanced probabilistic modeling for effective static analysis alarms
Pan, X., Li, J., Zhou, Z. H., Li, G., Chen, X., Ma, J., Wu, J. F., & Zhang, Q. (2025) · Frontiers of Information Technology & Electronic Engineering · doi:10.1631/fitee.2500038 · Cited by 4
Madani, M., Neumann, K., Nahhas, A., Chernigovskaya, M., Walia, D. S., & Turowski, K. (2025) · International Conference on Foundation and Large Language Models (FLLM) · doi:10.1109/fllm67465.2025.11390990 · Cited by 4
“[6], [21]± [23] Deployment CI/CD support (pipeline/config generation), policy-as-code, and operational safety checks during delivery.”
InfluentialAutomated Code Summarization by Training Large Language Models with Crowdsourced Knowledge
Xia, M., Maharjan, S., & Song, M. (2025) · IEEE/ACIS International Conference on Software Engineering Research, Management and Applications (SERA) · doi:10.1109/sera65747.2025.11154515 · Cited by 4
Can AI Fix Buggy Code? Exploring the Use of Large Language Models in Automated Program Repair
Zhang, L., Singhal, A., Zou, Q., Sun, X., Liu, P., & Lin, H.-Y. (2025) · Computer · doi:10.1109/mc.2025.3527407 · Cited by 4
SecureMind: A Framework for Benchmarking Large Language Models in Memory Bug Detection and Repair
Wang, H., Jacob, D., Kelly, D., Elkhatib, Y., Singer, J., & Wang, Z. (2025) · ACM SIGPLAN International Symposium on Memory Management (ISMM) · doi:10.1145/3735950.3735954 · Cited by 4
Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair
Han, W., Kwak, Y., Yu, M., Kim, K., Lee, Y., Moon, H., & Paek, Y. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3773167 · Cited by 4
AI-Driven Penetration Testing: Automating Exploits with LLMs and Metasploit-A VSFTPD Case Study
Salem, M., & Mrian, M. (2025) · International Conference on New Trends in Computing Sciences (ICTCS) · doi:10.1109/ictcs65341.2025.10989363 · Cited by 4
ZeroLeak: Automated Side-Channel Patching in Source Code Using LLMs
Tol, M. C., & Sunar, B. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-70879-4_15 · Cited by 4
Amoah, A. A., & Liu, Y. (2025) · Machine Learning and Knowledge Extraction · doi:10.3390/make7040149 · Cited by 4
“Prior work by Pearce et al. [23] uses CodeQL [57] on their own synthetically generated dataset to verify whether vulnerabilities are present in the snippets before applying repairs and whether vulnerabilities are resolved afterward.”
Guo, H., Xie, X., Dai, H.-N., Di, P., Zhang, Y., Tao, B., & Zheng, Z. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2507.10103 · Cited by 4
Hong, H., Lee, S., Ryu, D., & Baik, J. (2025) · Communications in computer and information science · doi:10.1007/978-3-031-75110-3_3 · Cited by 4
Jiang, M., Huang, J., Wang, J., Xie, Z., Fang, N., Cheng, G., Hu, X., & Wu, H. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.01154 · Cited by 4
XRFix: Exploring Performance Bug Repair of Extended Reality Applications with Large Language Models
Wu, J.-W., Guo, H.-Y., Dai, H.-N., & Luo, X.-P. (2026) · Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering · doi:10.1145/3744916.3773120 · Cited by 3
Jailbreak-Free LLM-Assisted Malware Generation: An Empirical and Conceptual Analysis
Sugio, N., & Ito, H. (2026) · IEEE Access · doi:10.1109/access.2026.3681295 · Cited by 4
“Prior research has investigated their use for open-source intelligence gathering [23], vulnerability detection [24], and automated code remediation [25].”
Singh, Y., Patel, N., & Shandilya, S. K. (2024) · Research Square · doi:10.21203/rs.3.rs-5615639/v1 · Cited by 4
LLM-driven automation in vulnerability management
Mohammed, K. (2024) · Open Access Research Journal of Science and Technology · doi:10.53022/oarjst.2024.12.1.0114 · Cited by 4
PatchBench: Evaluating AI Agents for Vulnerability Patching
Shen, C., Li, J., Mahajan, A., Tian, J. S., Kwon, Y., & Chen, Y. (2026) · arXiv
“Following prior studies [24,41,43], for each task, we extract the vulnerable code identified by the developer patch, including the enclosing entity, e.g. function or structure, together with header macros, and ask the model to generate a patch given this context.”
Muppidi, N. K. R. (2026) · International Conference on Electronics Representation and Algorithm (ICERA) · doi:10.1109/icera72709.2026.11666669 · Cited by 4
“LLM-based review research has explored code-review automation and vulnerability reasoning [6]–[8], while prompt-injection and LLM application-security work has shown that retrieved context can become an attack surface [9]– [11].”
Root-Cause-Driven Automated Vulnerability RepairPreprint
Wang, H., Basque, Z. L., Hu, J., Bajaj, A. P., Liu, Y., Zhu, S., Kobakhia, G., Chapre, N. C., Rosenberg, W., Mishra, S., et al. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2605.04251 · Cited by 4
Enhancing Security Awareness and Education for LLMs
Panichella, S. (2024) · Springer eBooks · doi:10.1007/978-3-031-54827-7_18 · Cited by 3
Zhu, T., Wen, Z.-Z., Liu, S.-Q., Li, Y., Zhang, T., & Xia, X. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3808230 · Cited by 3
How Secure is AI-based Coding?: A Security Analysis Using STRIDE and Data Flow Diagrams
Hossain, I., Chowdhury, N. M. I., & Hasan, R. (2023) · IEEE Virtual Conference on Communications (VCC) · doi:10.1109/vcc60689.2023.10474718 · Cited by 3
“With the increasing popularity of coding tools, it is noticeable that Copilot (an AI-based coding platform) generates 40% of insecure code according to Open Source Security and Risk Analysis (OSSRA) [3], [4].”
BackgroundJang, Y., Sakashita, M., Niinuma, K., & Gupta, A. (2026) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3772318.3791260 · Cited by 3
A Systematic Survey on Large Language Models for Static Code Analysis
Salih, H. A. M., & Sarhan, Q. I. (2025) · ARO-The Scientific Journal of Koya University · doi:10.14500/aro.12082 · Cited by 3
Lowering the Bar: How Large Language Models Can be Used as a Copilot by Hardware Hackers
Blocklove, J., Pearce, H. A., & Karri, R. (2025) · IEEE Security & Privacy · doi:10.1109/msec.2025.3600140 · Cited by 3
“12,13”
Self-citationComparative Study of Code Generation by AI Models
Panthi, A., Sharma, N. K., Khanal, A., & Sharma, K. (2025) · International Conference on Computational Robotics, Testing and Engineering Evaluation (ICCRTEE) · doi:10.1109/iccrtee64519.2025.11052899 · Cited by 3
SCCA: A Multi-Agent Code Security Analysis Framework for AI-Assisted Code Generation
Jiao, R., Zhang, Y., Li, J., & Ma, B. (2025) · IEEE International Conference on Mobile Ad-Hoc and Sensor Systems (MASS) · doi:10.1109/mass66014.2025.00089 · Cited by 3
“While recent studies have shown LLMs’ effectiveness in vulnerability repair tasks [14], [15], their capabilities remain constrained by the requirement for precise solutions rather than the varied outputs acceptable in natural language tasks.”
HoneyLLMd: A Large Language Model-Powered Adaptive Honeypot System
Fan, W., Du, F., Wang, Z., Cao, Q., Liu, L., Chang, K., & Chang, S. (2026) · IEEE Transactions on Network Science and Engineering · doi:10.1109/tnse.2026.3683862 · Cited by 3
“These models have showcased exceptional capabilities across various fields [56], [57] with significant contributions to cybersecurity, including areas like code analysis [58], vulnerability remediation [59], generation of control code [60], reverse engineering [61], and protocol fuzzing [62].”
CodeEnhancer: LLM-generated Python code enhancement through SAST integration and fine-tuning
Lee, J., Mai, K., Ghate, N. D., Yagyu, T., Beuran, R., & Tan, Y. (2026) · Knowledge-Based Systems · doi:10.1016/j.knosys.2026.115925 · Cited by 3
Anaedevha, R. N., Trofimov, A. G., & Borodachev, Y. V. (2026) · Complex & Intelligent Systems · doi:10.1007/s40747-026-02291-7 · Cited by 3
Unveiling the power of code pre-trained models in automated program repair: A systematic review
Zhan, S., Wang, X. J., Wei, D., Xiang, X., Lin, Y., Wu, H., & Lu, J. (2026) · Journal of Systems and Software · doi:10.1016/j.jss.2026.113015 · Cited by 3
NexuSym: Marrying symbolic path finders with large language models
Wang, J., Yu, P., Qin, Y., Jiang, Y., Yao, Y., & Ma, X. (2025) · Automated Software Engineering · doi:10.1007/s10515-025-00529-1 · Cited by 3
“Beyond traditional test input generation, LLMs are also leveraged for bug analysis (Feng and Chen 2024; Zhang et al. 2023) and program repair (Pearce et al. 2023; Fan et al. 2023).”
Metadata
- Authors
- Pearce, H., Tan, B., Ahmad, B., Karri, R., & Dolan-Gavitt, B.
- Affiliations
- New York University
- University of Calgary (CA)
- New York University (US)
- Venue
- 2023 IEEE Symposium on Security and Privacy (SP)
- Publisher
- IEEE
- Published
- 2023-05
- Pages
- 2339-2356
- ISSN
- 1081-6011 (ISSN-L)
- OpenAlex
- W4385187279
- Semantic Scholar
- a5731122200fbb8b37f048010a1e1ca4474aa606
- Cited by
- 131
- References
- 40
- Citations by year
- 2026: 52 · 2025: 32 · 2024: 40 · 2023: 7
- FWCI
- 33.67
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- IEEE Symposium on Security and Privacy (S&P) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Web Application Security Vulnerabilities
- Keywords
- large language models, code completion, prompt engineering, secure code generation, codices
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.