How to Install bandit in Ubuntu 18.04

Install bandit by entering the following commands in the terminal:

sudo apt update
sudo apt install bandit


Security oriented static analyzer for Python code - Metapackage

Bandit is a tool designed to find common security issues in Python code. To do this Bandit processes each file, builds an Abstract Syntaxt Tree (AST), and runs appropriate plugins against the AST nodes. Once Bandit has finished scanning all the files it generates a report. . This package is a metapackage to install the Python 2.7 or 3.x of bandit.


Version: 1.4.0-0ubuntu2

Section: universe/python