Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This 11-minute video from Snyk tests OpenAI's latest GPT-4.1 model to determine if it can generate secure code. Explore whether AI can help developers create safer, bug-free applications or if it still produces common security vulnerabilities like SQL injection, XSS, and insecure authentication flows. Follow along as the presenter prompts GPT-4.1 to write code, runs the resulting application, identifies issues, and implements fixes. Learn how the code performs against security checks and how GPT-4.1's capabilities compare to previous AI models. The video includes a complete walkthrough from initial prompt to final security assessment, with chapters covering the entire process from code generation to vulnerability testing. Access the GitHub repository with all test materials and discover how to use Snyk's free tools to find and fix security issues in your own applications.
Syllabus
00:00 - Intro
00:17 - Prompt and results
03:28 - Running the app
04:03 - Fixing code
05:14 - Subscribe!
05:23 - Fixing final errors
05:37 - Running and using the app
06:09 - Security checking
08:56 - How does this compare to previous models?
09:40 - Summary
10:13 - Outro
Taught by
Snyk