SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Static Analysis Projects
-
code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Project mention: Put code-review-graph Behind a Read-Only MCP Boundary Before Connecting Your Repository | dev.to | 2026-07-21code-review-graph is trending because it promises a useful trade: build a persistent local map of a codebase so an AI reviewer reads relevant context instead of ingesting the whole repository. The repository is MIT-licensed and exposes MCP and CLI interfaces.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Mobile-Security-Framework-MobSF
Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.
-
mastg
The OWASP Mobile Application Security Testing Guide (MASTG) is a comprehensive manual for mobile app security testing and reverse engineering. It describes technical processes for verifying the OWASP Mobile Security Weakness Enumeration (MASWE) weaknesses, which are in alignment with the OWASP MASVS.
Project mention: Post-Quantum Cryptography Explained: Why Today's Encryption Needs an Upgrade | dev.to | 2026-11-13OWASP Mobile Application Security
-
checkov
Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: end-of-file-fixer - id: check-merge-conflict - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - id: check-shebang-scripts-are-executable # YAML - id: check-yaml # Cross platform - id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems. - id: mixed-line-ending # replaces or checks mixed line ending. args: [--fix=lf] - repo: https://github.com/antonbabenko/pre-commit-terraform # Ensure the PRE_COMMIT_TERRAFORM_VERSION value is the same in .gitlab-ci.yml rev: v1.105.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs args: ["--args=--lockfile=false"] - id: terraform_tflint - id: terraform_checkov args: - --args=--framework=terraform - --args=--soft-fail - --args=--config-file=__GIT_WORKING_DIR__/.checkov.yaml - --args=--skip-path=__GIT_WORKING_DIR__/.cache/pre-commit - repo: https://github.com/bridgecrewio/checkov.git rev: 3.2.524 hooks: - id: checkov_secrets args: [--directory, ., --framework, secrets, --config-file, .checkov.yaml, --skip-path, .cache/pre-commit] pass_filenames: false - repo: https://github.com/hashicorp/copywrite rev: v0.25.3 hooks: - id: add-headers
-
Run static analysis and deal with every warning. Slither takes seconds. Fix the warnings or write down why each one is a false positive. Handing over 50 untriaged warnings means someone you're paying will triage them for you.
-
-
-
-
Flake8
flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
Project mention: How to Set Up Pre-Commit Hooks for Teams Using AI Coding Assistants | dev.to | 2026-04-19 -
-
mantis
A modular, stack-agnostic toolkit for AI coding agents to autonomously find, reproduce, and patch vulnerabilities.
Project mention: Trabalhar Acima do Loop: O Que Aprendi no Capacita+ Sobre a Realidade dos Agentes de IA | dev.to | 2026-10-19 -
-
codechecker
CodeChecker is an analyzer tooling, defect database and viewer extension for static and dynamic analyzer tools.
-
-
Awesome-LLMs-for-Vulnerability-Detection
The community's most comprehensive, continuously-updated index of research on Large Language Models for software vulnerability detection — papers across function-level, repository-level, agentic, and smart-contract detection, plus datasets, benchmarks, and surveys.
AI-powered vulnerability detection uses ML models trained on CVE databases and CWE patterns to identify insecure code patterns in real-time during code review. Same technology, applied defensively.
-
-
-
dagda
a tool to perform static analysis of known vulnerabilities, trojans, viruses, malware & other malicious threats in docker images/containers and to monitor the docker daemon and running docker containers for detecting anomalous activities
-
skylos
Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer to https://duriantaco.github.io/skylos/repo-map/
Project mention: GitHub Actions Security and GitLab CI Security: Static Analysis for CI/CD | dev.to | 2026-05-12pip install "git+https://github.com/duriantaco/skylos.git" skylos . --danger
-
mobsfscan
mobsfscan is a static analysis tool that can find insecure code patterns in your Android and iOS source code. Supports Java, Kotlin, Swift, and Objective C Code. mobsfscan uses MobSF static analysis rules and is powered by semgrep and libsast pattern matcher.
-
packj
Packj stops :zap: Solarwinds-, ESLint-, and PyTorch-like attacks by flagging malicious/vulnerable open-source dependencies ("weak links") in your software supply-chain
Project mention: Open Source tool to detect software supply chain attacks | news.ycombinator.com | 2026-08-30 -
privado
Open Source Static Scanning tool to detect data flows in your code, find data security vulnerabilities & generate accurate Play Store Data Safety Report.
-
prometeo
An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing
Python Static Analysis discussion
Python Static Analysis related posts
-
ต้นทุน ความเสี่ยง และคนที่ต้องเซ็นรับ: สแตกไหนเหมาะกับทีมขนาดไหน?
-
Build a 100-line checker that catches chained-skill approval hijacks
-
How I would start a security audit of a Solidity contract (as someone new to this)
-
ImpactGate: A merge gate that scores the structural decay AI adds
-
Does anyone find AI code review useful?
-
Reactive Python Notebooks in Jupyter
-
Catching Cloud Misconfigurations Before They Ship: SAST for Terraform with Checkov
-
A note from our sponsor - SaaSHub
www.saashub.com | 13 Nov 2026
Index
What are some of the best open-source Static Analysis projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | code-review-graph | 32,744 |
| 2 | Mobile-Security-Framework-MobSF | 22,207 |
| 3 | mastg | 13,318 |
| 4 | checkov | 9,156 |
| 5 | slither | 6,411 |
| 6 | apkleaks | 6,259 |
| 7 | jedi | 6,186 |
| 8 | Pylint | 5,745 |
| 9 | Flake8 | 3,833 |
| 10 | vulnhuntr | 2,815 |
| 11 | mantis | 2,759 |
| 12 | CodeBoarding | 2,665 |
| 13 | codechecker | 2,632 |
| 14 | pyt | 2,201 |
| 15 | Awesome-LLMs-for-Vulnerability-Detection | 1,595 |
| 16 | CrossHair | 1,344 |
| 17 | ipyflow | 1,276 |
| 18 | dagda | 1,248 |
| 19 | skylos | 887 |
| 20 | mobsfscan | 801 |
| 21 | packj | 693 |
| 22 | privado | 665 |
| 23 | prometeo | 654 |