Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
bandit — Bandit 是一款用于发现 Python 代码中常见安全问题的工具。 | Kitploit
工具/GitHubGitHub/pycqa/bandit
静态代码分析 (SAST)漏洞分析代码分析代码分析 分类第 8 名静态代码分析 (SAST) 分类第 5 名
GitHubpycqa/bandit

bandit

Bandit 是一款用于发现 Python 代码中常见安全问题的工具。

查看仓库
8.2k8112352026年11月30日Kitploit 审核通过
分享
网站

.. 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: Discord

来自PyCQA的安全代码检查工具

  • 自由软件:Apache许可证
  • 文档:https://bandit.readthedocs.io/en/latest/
  • 源代码:https://github.com/PyCQA/bandit
  • Bug反馈:https://github.com/PyCQA/bandit/issues
  • 贡献指南:https://github.com/PyCQA/bandit/blob/main/CONTRIBUTING.md

概述

Bandit 是一款旨在发现 Python 代码中常见安全问题的工具。为此,Bandit 会处理每个文件,构建其抽象语法树(AST),并针对 AST 节点运行相应的插件。当 Bandit 完成所有文件的扫描后,它会生成一份报告。

Bandit 最初是在 OpenStack 安全项目内部开发的,后来迁至 PyCQA。

.. image:: https://raw.githubusercontent.com/pycqa/bandit/main/bandit-terminal.png :alt: Bandit 示例截图

展示你的风格

.. image:: https://img.shields.io/badge/security-bandit-yellow.svg :target: https://github.com/PyCQA/bandit :alt: Security Status

在你的项目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 Status

参考

Python AST 模块文档:https://docs.python.org/3/library/ast.html

Green Tree Snakes - 缺失的 Python AST 文档: https://greentreesnakes.readthedocs.org/en/latest/

Bandit 当前覆盖或可扩展覆盖的各种 AST 节点类型的文档: https://greentreesnakes.readthedocs.org/en/latest/nodes.html

容器镜像

Bandit 可作为容器镜像使用,通过 GitHub Actions 在 bandit 仓库内构建。该镜像可在 ghcr.io 获取:

.. code-block:: console

docker pull ghcr.io/pycqa/bandit/bandit

该镜像为以下架构构建:

  • amd64
  • arm64
  • armv7
  • armv8

要拉取特定架构,请使用以下格式:

.. code-block:: console

docker pull --platform=<architecture> ghcr.io/pycqa/bandit/bandit:latest

每个镜像均使用 sigstore cosign 签名,并可通过以下 cosign 命令验证来源:

.. 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/<version> \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

其中 <version> 是 Bandit 的发布版本。

赞助商

Bandit 的开发离不开以下赞助商的支持:

.. list-table:: :width: 100% :class: borderless

    • .. image:: https://avatars.githubusercontent.com/u/34240465?s=200&v=4 :target: https://opensource.mercedes-benz.com/ :alt: Mercedes-Benz :width: 88

    • .. 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

如果你也 ❤️ Bandit,请考虑赞助我们。

下载工具

相关工具

  • semgrep

    轻量级多语言静态分析。通过类似源代码的模式查找Bug变种。

  • codeql

    CodeQL:为全球安全研究人员提供支持,以及GitHub高级安全中代码扫描功能的库和查询。

  • sonarqube

    代码质量与静态分析平台,具备质量门禁、多语言扫描以及以安全为核心的规则,可在CI/CD工作流中检测漏洞和可维护性问题。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    849
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    450
  • 4

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    383
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    351
  • 6

    faraday

    infobyte/faraday

    面向攻击性安全、漏洞管理和自主渗透测试的开源及AI驱动的网络安全工具。由拉丁美洲的黑客构建,供全球使用。

    345

探索所有工具

浏览我们的工具集合

查看所有工具 →