lang/python

Free catalog · v0.0.12

Reviews Python for shell injection, unsafe deserialization, disabled TLS, and SQL string building.

Checks

RuleSeverityScans for
python.default-empty-destructive-syncHighSynchronization code defaults a missing response collection to empty and uses it to drive destructive cleanup
python.eval-exec-dynamicCriticaleval() / exec() on non-literal input
python.flask-debugHighFlask/FastAPI/Starlette debug or reload enabled for production entrypoints
python.mark-safe-user-inputHighDjango mark_safe / Jinja |safe on user-influenced data
python.os-systemCriticalos.system / os.popen with dynamic command strings
python.pickle-loadsCriticalpickle.loads / pickle.load / cPickle on non-literal data
python.requests-no-timeoutMediumrequests (or urllib.request) network calls without a timeout
python.shell-trueCriticalsubprocess invoked with shell=True and a non-constant command
python.sql-format-fstringHighSQL built with f-strings / % / .format into execute
python.sqlalchemy-offline-postgres-literalMediumOffline SQLAlchemy PostgreSQL literal rendering strips generated quotes while retaining the default backslash mode
python.tempfile-mktempMediumUse of deprecated tempfile.mktemp or predictable temp paths
python.tls-disabledHighTLS verification disabled on HTTP clients
python.unsafe-yamlCriticalPyYAML yaml.load without SafeLoader / safe_load

More from the registry