Member-only story

This Python package checks the security of your project

Manpreet Singh
2 min readOct 14, 2021

--

Welcome back! Python is one of my favorite programming languages, it can practically do anything you can think of, but one thing I find myself glossing over is the security of my project, so what if there was a way to check the security of my Python project? Well, there actually is! In this specific case we’ll be taking a look at the Bandit package, if you want to check out their GitHub page, check out their GitHub page below:

This specific package will actually scan your Python code, find common issues within that project, then generate a report for your projects security. If that sounds like something that’s important to you, then definitely install this package with the following pip command:

pip install bandit
pip3 install bandit

Once installed you can run this command:

bandit -r path/to/your/code

There are a few configurations you can make to bandit, you can change the baseline path of your report, this makes it easier to ignore known vulnerabilities that may not be important for…

--

--

Manpreet Singh
Manpreet Singh

Responses (1)