SeqTrans: Automatic Vulnerability Fix via Sequence to Sequence Learning
Not on the map. Why?
Abstract (arXiv)
Software vulnerabilities are now reported at an unprecedented speed due to the recent development of automated vulnerability hunting tools. However, fixing vulnerabilities still mainly depends on programmers' manual efforts. Developers need to deeply understand the vulnerability and try to affect the system's functions as little as possible. In this paper, with the advancement of Neural Machine Translation (NMT) techniques, we provide a novel approach called SeqTrans to exploit historical vulnerability fixes to provide suggestions and automatically fix the source code. To capture the contextual information around the vulnerable code, we propose to leverage data flow dependencies to construct code sequences and fed them into the state-of-the-art transformer model. The fine-tuning strategy has been introduced to overcome the small sample size problem. We evaluate SeqTrans on a dataset containing 1,282 commits that fix 624 vulnerabilities in 205 Java projects. Results show that the accuracy of SeqTrans outperforms the latest techniques and achieves 23.3% in statement-level fix and 25.3% in CVE-level fix. In the meantime, we look deep inside the result and observe that NMT model performs very well in certain kinds of vulnerabilities like CWE-287 (Improper Authentication) and CWE-863 (Incorrect Authorization).
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 5; 2025: 2; 2026: 3.
11 papers.
- 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugscited by 7
- 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repaircited by 7
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Taskscited by 5
- 2024AI for DevSecOps: A Landscape and Future Opportunitiescited by 4
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2024Risks of ignoring uncertainty propagation in AI-augmented security pipelinescited by 1
- 2025Using ML filters to help automated vulnerability repairs: when it helps and when it doesn'tcited by 1
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repaircited by 1
- 2026AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigationcited by 0
- 2026AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigation26 Aug 2026
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair21 Jun 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repair10 Apr 2025
- 2025Using ML filters to help automated vulnerability repairs: when it helps and when it doesn't9 Apr 2025
- 2024Can GPT-O1 Kill All Bugs? An Evaluation of GPT-Family LLMs on QuixBugs16 Sep 2024
- 2024Risks of ignoring uncertainty propagation in AI-augmented security pipelines14 Jul 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024AI for DevSecOps: A Landscape and Future Opportunities7 Apr 2024
- 2024A Survey of Source Code Representations for Machine Learning-Based Cybersecurity Tasks15 Mar 2024
- 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Code16 Apr 2021