GraftyVul: Synthesising Insecure Programs Through Real-World Vulnerability Grafting
This work presents GraftyVul, a system that constructs vulnerable programs by grafting real-world vulnerabilities into open-source projects, and introduces a language- and context-agnostic semantic embedding that compares vulnerabilities by sink, mechanism and host-feature rather than surface code.