mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
898 B
898 B
Improvements to Python analysis
- Importing
semmle.python.web.HttpRequestwill no longer importUntrustedStringKindtransitively.UntrustedStringKindis the most commonly used non-abstract subclass ofExternalStringKind. If not imported (by one mean or another), taint-tracking queries that concernExternalStringKindwill not produce any results. Please ensure such queries contain an explicit import (import semmle.python.security.strings.Untrusted). - Added model of taint sources for HTTP servers using
http.server. - Added taint modeling of routed parameters in Flask.
- Improved modeling of built-in methods on strings for taint tracking.
- Improved classification of test files.
- New class
BoundMethodValuerepresents a bound method during runtime. - The query
py/command-line-injectionnow recognizes command execution with thefabricandinvokePython libraries.