Secure code generation

SecureSWE

OpenAI’s internal evaluation of writing code that is both functional and secure

Rankings

Higher is better

Scores marked “via” above are quoted with attribution from OpenAI GPT-6.2 launch, retrieved 17 November 2026.

SecureSWE — frequently asked questions

OpenAI’s internal evaluation of writing code that is both functional and secure