https://bandit.readthedocs.io/en/latest/ can do that for python.