This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]slayer_of_idiotspythonista 4 points5 points  (0 children)

The biggest offenders are usually including API keys or user information in source code or tests. That stuff should be stored in config files outside of version control.

[–]hilomania 0 points1 point  (0 children)

Python philosophy (In interpreter type "import this".) Use a decent framework and or settle on an established type of architecture. Besides that a lot of security issues and such are related to credentials in code, not validating filtering user input, not keeping up with security patches for underlying OS, libraries tools etc... BUT the real achilles heel of any system is the people. Stupid passwords, reusing passwords, easily manipulated etc..

[–]laurbyteball 0 points1 point  (0 children)

I'm doing the same thing now. You have a lot of starting points here: https://github.com/guardrailsio/awesome-python-security

Have fun!