Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PyCQA/bandit
Bandit is a tool designed to find common security issues in Python code.
https://github.com/PyCQA/bandit
bandit linter python security security-scanner security-tools static-code-analysis
Last synced: about 2 months ago
JSON representation
Bandit is a tool designed to find common security issues in Python code.
- Host: GitHub
- URL: https://github.com/PyCQA/bandit
- Owner: PyCQA
- License: apache-2.0
- Created: 2018-04-26T09:08:12.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T18:29:20.000Z (2 months ago)
- Last Synced: 2024-10-22T10:14:05.210Z (2 months ago)
- Topics: bandit, linter, python, security, security-scanner, security-tools, static-code-analysis
- Language: Python
- Homepage: https://bandit.readthedocs.io
- Size: 5.49 MB
- Stars: 6,416
- Watchers: 65
- Forks: 603
- Open Issues: 191
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-devsecops - Bandit - _Python Code Quality Authority_ - Find common security vulnerabilities in Python code. (Tools / Static Analysis)
- DevSecOps - https://github.com/PyCQA/bandit - the-badge) | (SAST)
- awesome-repositories - PyCQA/bandit - Bandit is a tool designed to find common security issues in Python code. (Python)
- Python-Security-Tool-Database - Bandit - Slight change up to the rest of the tools in this list, but Bandit is still pretty useful. It's a static code analysis tool for Python scripts. Can be helpful for finding vulnerabilities in home brew applications and it's just a nice tool to have around if you're going to be building anything on your own with Python so you're not making any egregious slip ups. (Synopsis / Table of Contents)
- awesome-list - Bandit - A tool designed to find common security issues in Python code. (Security / For Java)
- awesome-python-security - Bandit - Bandit is a tool designed to find common security issues in Python code. (Static Code Analysis)
- best-of-python-dev - GitHub - 28% open · ⏱️ 10.05.2024): (Code Security)
- awesome-python-testing - Bandit - is a tool designed to find common security issues in Python code. (Static Checks)
- awesome-projects - bandit
- awesome-github-repos - PyCQA/bandit - Bandit is a tool designed to find common security issues in Python code. (Python)
- stars - PyCQA/bandit - Bandit is a tool designed to find common security issues in Python code. (Python)
- stars - PyCQA/bandit - Bandit is a tool designed to find common security issues in Python code. (Python)
README
.. image:: https://raw.githubusercontent.com/pycqa/bandit/main/logo/logotype-sm.png
:alt: Bandit======
.. image:: https://github.com/PyCQA/bandit/actions/workflows/pythonpackage.yml/badge.svg?branch=main
:target: https://github.com/PyCQA/bandit/actions?query=workflow%3A%22Build+and+Test+Bandit%22+branch%3Amain
:alt: Build Status.. image:: https://readthedocs.org/projects/bandit/badge/?version=latest
:target: https://readthedocs.org/projects/bandit/
:alt: Docs Status.. image:: https://img.shields.io/pypi/v/bandit.svg
:target: https://pypi.org/project/bandit/
:alt: Latest Version.. image:: https://img.shields.io/pypi/pyversions/bandit.svg
:target: https://pypi.org/project/bandit/
:alt: Python Versions.. image:: https://img.shields.io/pypi/format/bandit.svg
:target: https://pypi.org/project/bandit/
:alt: Format.. image:: https://img.shields.io/badge/license-Apache%202-blue.svg
:target: https://github.com/PyCQA/bandit/blob/main/LICENSE
:alt: License.. image:: https://img.shields.io/discord/825463413634891776.svg
:target: https://discord.gg/qYxpadCgkx
:alt: DiscordA security linter from PyCQA
* Free software: Apache license
* Documentation: https://bandit.readthedocs.io/en/latest/
* Source: https://github.com/PyCQA/bandit
* Bugs: https://github.com/PyCQA/bandit/issues
* Contributing: https://github.com/PyCQA/bandit/blob/main/CONTRIBUTING.mdOverview
--------Bandit is a tool designed to find common security issues in Python code. To do
this Bandit processes each file, builds an AST from it, and runs appropriate
plugins against the AST nodes. Once Bandit has finished scanning all the files
it generates a report.Bandit was originally developed within the OpenStack Security Project and
later rehomed to PyCQA... image:: https://raw.githubusercontent.com/pycqa/bandit/main/bandit-terminal.png
:alt: Bandit Example Screen ShotShow Your Style
---------------.. image:: https://img.shields.io/badge/security-bandit-yellow.svg
:target: https://github.com/PyCQA/bandit
:alt: Security StatusUse our badge in your project's README!
using Markdown::
[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
using RST::
.. image:: https://img.shields.io/badge/security-bandit-yellow.svg
:target: https://github.com/PyCQA/bandit
:alt: Security StatusReferences
----------Python AST module documentation: https://docs.python.org/3/library/ast.html
Green Tree Snakes - the missing Python AST docs:
https://greentreesnakes.readthedocs.org/en/latest/Documentation of the various types of AST nodes that Bandit currently covers
or could be extended to cover:
https://greentreesnakes.readthedocs.org/en/latest/nodes.htmlContainer Images
----------------Bandit is available as a container image, built within the bandit repository
using GitHub Actions. The image is available on ghcr.io:.. code-block:: console
docker pull ghcr.io/pycqa/bandit/bandit
The image is built for the following architectures:
* amd64
* arm64
* armv7
* armv8To pull a specific architecture, use the following format:
.. code-block:: console
docker pull --platform= ghcr.io/pycqa/bandit/bandit:latest
Every image is signed with sigstore cosign and it is possible to verify the
source of origin using the following cosign command:.. code-block:: console
cosign verify ghcr.io/pycqa/bandit/bandit:latest \
--certificate-identity https://github.com/pycqa/bandit/.github/workflows/build-publish-image.yml@refs/tags/ \
--certificate-oidc-issuer https://token.actions.githubusercontent.comWhere `` is the release version of Bandit.
Sponsors
--------The development of Bandit is made possible by the following sponsors:
.. list-table::
:width: 100%
:class: borderless* - .. image:: https://github.githubassets.com/assets/tidelift-8cea37dea8fc.svg
:target: https://tidelift.com/lifter/search/pypi/bandit
:alt: Tidelift
:width: 88- .. image:: https://avatars.githubusercontent.com/u/110237746?s=200&v=4
:target: https://stacklok.com/
:alt: Stacklok
:width: 88- .. image:: https://avatars.githubusercontent.com/u/1396951?s=70&v=4
:target: https://sentry.io/
:alt: Sentry
:width: 88If you also ❤️ Bandit, please consider sponsoring.