Revert "Update bandit"

This reverts commit 457a0bf3035ac3ac5f5120c448cdd76e8faaac88.