Python Static Analysis

Open-source Python projects categorized as Static Analysis

Top 23 Python Static Analysis Projects

Static Analysis
  1. 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-21

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

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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.

  4. 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-13

    OWASP Mobile Application Security

  5. checkov

    Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

    Project mention: Building a Monorepository of Terraform Modules on GitLab | dev.to | 2026-07-17

    # 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

  6. slither

    Static Analyzer for Solidity and Vyper

    Project mention: What to have ready before your first smart contract audit | dev.to | 2026-10-13

    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.

  7. apkleaks

    Scanning APK file for URIs, endpoints & secrets.

  8. jedi

    Awesome autocompletion, static analysis and refactoring library for python

  9. Pylint

    It's not just a linter that annoys you!

  10. 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
  11. vulnhuntr

    Zero shot vulnerability discovery using LLMs

  12. 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
  13. CodeBoarding

    Interactive architecture diagrams for codebases

  14. codechecker

    CodeChecker is an analyzer tooling, defect database and viewer extension for static and dynamic analyzer tools.

  15. pyt

    A Static Analysis Tool for Detecting Security Vulnerabilities in Python Web Applications

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

    Project mention: AI Zero-Day Exploits: Developer Defense Guide 2026 | dev.to | 2026-06-16

    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.

  17. CrossHair

    An analysis tool for Python that blurs the line between testing and type systems.

  18. ipyflow

    A reactive Python kernel for Jupyter notebooks.

    Project mention: Reactive Python Notebooks in Jupyter | news.ycombinator.com | 2026-07-24
  19. 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

  20. 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-12

    pip install "git+https://github.com/duriantaco/skylos.git" skylos . --danger

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

  22. 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
  23. privado

    Open Source Static Scanning tool to detect data flows in your code, find data security vulnerabilities & generate accurate Play Store Data Safety Report.

  24. prometeo

    An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Static Analysis discussion

Log in or Post with

Python Static Analysis related posts

  • ต้นทุน ความเสี่ยง และคนที่ต้องเซ็นรับ: สแตกไหนเหมาะกับทีมขนาดไหน?

    4 projects | dev.to | 23 Oct 2026
  • Build a 100-line checker that catches chained-skill approval hijacks

    2 projects | dev.to | 6 Oct 2026
  • How I would start a security audit of a Solidity contract (as someone new to this)

    1 project | dev.to | 2 Oct 2026
  • ImpactGate: A merge gate that scores the structural decay AI adds

    3 projects | news.ycombinator.com | 16 Sep 2026
  • Does anyone find AI code review useful?

    1 project | news.ycombinator.com | 19 Aug 2026
  • Reactive Python Notebooks in Jupyter

    1 project | news.ycombinator.com | 24 Jul 2026
  • Catching Cloud Misconfigurations Before They Ship: SAST for Terraform with Checkov

    2 projects | dev.to | 9 Jul 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com