We present the first sound program source transformation approach for automatically transforming the code of a legacy web application to employ PREPARE statements in place of unsafe SQL queries. Our approach therefore opens the way for eradicating the SQL injection threat vector from legacy web applications. Key words: Static program transformation, Security by construction, Symbolic evaluation, SQL injection
Prithvi Bisht, A. Prasad Sistla, V. N. Venkatakris