Aalexbit-codemod

python-s8375-flask-preprocess-request-mining

Mine python:S8375: Flask preprocess_request() return values should be handled; read-only metrics with blocking severity

miningmetricspythonsecuritypython:S8375
Public
0 executions

Run locally

npx codemod python-s8375-flask-preprocess-request-mining

python-s8375-flask-preprocess-request-mining

Read-only mining codemod for python:S8375: Flask preprocess_request() return values should be handled.

Emits python_security_finding metric rows with blocking severity. Source files are never modified.

Rule

  • ID: python:S8375
  • Severity: blocking
  • Remediation: Handle or propagate return values from preprocess_request hooks

Usage

bash

Development

bash

Ready to contribute?

Build your own codemod and share it with the community.