# python-security/pyt

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

Repository: https://github.com/python-security/pyt
Canonical: https://ross.abutalabs.com/products/pyt
Language: Python
License: GPL-2.0
License Family: copyleft
Topics: pyt, control-flow-graph, static-analysis, python, python3, security, static-code-analysis, program-analysis, fixed-point, fixed-point-analysis, dataflow, dataflow-analysis, taint, taint-analysis, abstract-syntax-tree, abstract-syntax, flask
Last push: 2020-12-25T03:47:37+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3598, "days_push": 2077, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2201, forks 246 (observed 2026-08-28T04:06:25.631000+00:00)

## What it is
PyT (Python Taint) is a static analysis tool that detects security vulnerabilities like injection flaws in Python web applications using taint analysis, control flow graphs, and fixed-point dataflow analysis. It is no longer maintained; the README recommends Facebook's Pyre/Pysa instead.

## Use cases
- find sql injection vulnerabilities in python flask app
- static taint analysis for python web application
- detect xss vulnerabilities in python code
- scan python codebase for security vulnerabilities without running it
- learn how taint analysis and control flow graphs work

## When to choose
- you need a dependency-free static taint analysis tool for a Python 3.6-era Flask codebase
- you want to study the internals of a taint-analysis SAST implementation

## When to avoid
- you need an actively maintained tool - use Pysa/Pyre or Bandit instead
- your codebase uses modern Python versions beyond 3.6
- you need low false positives in production CI

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: security, vulnerability-scanning, parser, static-site-generator
- domain: security, web-development, developer-tools
- platform: python, cli, windows
- tags: taint-analysis, static-analysis, control-flow-graph, dataflow-analysis, flask, sast, python, linux, macos

## Member repositories
- python-security/pyt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.631000+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:04.028301+00:00, confidence not recorded.
  - readme: https://github.com/python-security/pyt (fetched 2026-08-28T04:06:25.631000+00:00, sha 9f0b09310b54)
- Data as of 2026-08-30T08:39:29.467469+00:00.
