ENNAENNA

Bandit vs cwe_checker

GitHub Stats

7.9k
Stars
1.3k
751
Forks
142
227
Issues
27
7d ago
Updated
1y ago
Apache-2.0
License
LGPL-3.0
Python
Language
Rust

About Bandit

Bandit is an open-source static analysis security linter maintained by PyCQA that scans Python codebases to identify common security issues and coding practices that introduce vulnerabilities. It detects problems including use of unsafe functions, hardcoded passwords, SQL injection via string formatting, insecure cryptographic configurations, and subprocess shell injection risks through a plugin-based architecture with configurable severity and confidence levels. Python developers, security engineers, and DevSecOps teams integrate Bandit into CI/CD pipelines and pre-commit hooks to catch security issues during development before they reach code review or production. The tool provides clear, actionable output with CWE references and line-level findings, making it an essential component of secure Python development workflows alongside general-purpose linters like pylint and flake8.

About cwe_checker

cwe_checker is a binary analysis tool written in Rust that detects common bug classes (CWEs) in compiled executables without requiring source code access, using the Ghidra disassembler as its analysis backend. It identifies vulnerability patterns including buffer overflows, use-after-free, null pointer dereferences, integer overflows, and other memory safety issues by analyzing the program's control flow and data flow at the binary level. Firmware security analysts, vulnerability researchers, and reverse engineers use cwe_checker to perform automated security assessments of compiled software, particularly embedded firmware and closed-source binaries where source code is unavailable. The tool maps its findings to CWE identifiers, provides detailed location information within the binary, and can process ELF and PE binaries across multiple architectures, making it a valuable first-pass triage tool for binary vulnerability assessment.

Platform Support

๐Ÿงlinux๐ŸŽmacos๐ŸชŸwindows
๐Ÿงlinux๐ŸŽmacos

Tags

Bandit only

sastpythonsecuritylinting

cwe_checker only

binarycwevulnerabilityghidra