python-security-pitfalls-playground icon indicating copy to clipboard operation
python-security-pitfalls-playground copied to clipboard

Python Security Pitfalls Playground

Python Security Pitfalls Playground

This repository contains common security pitfalls for Python with descriptions and test cases for interactive learning.

Cases

  • Decorators
  • Join Paths
  • Mutable Default Objects
  • Regular Expression
  • Temporary File and Directory
  • URL join

How to run tests?

# cd <folder>
# python3 <test-case>
# for example:
cd url_join
python3 urllib_parse_urljoin.py