Secure Coding with Python

Initially used in only limited applications, Python has evolved into one of the most widely used frameworks. Named as a joke after the iconic movie Monty Python, its design offers simplicity and readability to improve productivity. Today, security issues linger in legacy APIs, dynamics type conversion, magic methods, control flow, and service stability related to asynchronous computing. This series of lessons examine modern Python by exploring and addressing vulnerabilities like the OWASP Top 10, secure handling of secrets, as well as building a resilient foundation for today’s cloud environments.

39 Modules | 7 Hrs 6 min | 8 Experiments | Green Belt Level
Try Python training modules!

Examples Secure Coding with Python Concepts

  • Functional Programming(Refactoring) For Resilient Code
  • BuildingTestable Code Instead of Spaghetti Code
  • TheZen of Python Applied to Security
  • Preventing SupplyChain Attacks
  • Integrating DefensiveProgramming Principals
  • Mitigating Cross-Site Scripting Attacks (XSS)
  • Storing and Retrieving Secrets

What's Included?

Secure Coding with Python includes our standard 13 Green Belt Secure Development modules with the addition of 14 new Secure Coding with Python modules. Each of our lessons are short and conclude with a brief ten question assessment. The learning module length is purposeful – they are perfect for filling gaps in a developer’s day while code is deploying.

Secure Development Core Lesson Modules
Intro to Secure Development
Intro to Secure Coding
Secure Coding Best Practices: Part 1
Secure Coding Best Practices: Part 2
Language Typing
Securing the Development Environment
Protecting your Code Repository
Producing a Clean, Maintainable, & Secure Code Culture
Secure the Release
Designing a Secure App or Product
Thinking Like A Penetration Tester
Secure Design Principles in Action: Part 1
Secure Design Principles in Action: Part 2
Secure Coding with Python
Green Belt Path
Secure Code Constructs in Python
Django Best Practices I
Django Best Practices II
Input Validation with Python
Introduction to Python Security
Secure Coding with Python I
Secure Coding with Python II
Secure Coding with Python III
Secure OS Interactions​ with Python
Secure Serialization with Python
Storing and Using Secrets with Python​
Python Threat Landscape
Python Toolchain
Secure Control Flow in Python