Rasmus Wriedt Larsen
|
1f90dcadf1
|
Python: Use backtracker for verify arg
|
2021-11-10 12:54:23 +01:00 |
|
Rasmus Wriedt Larsen
|
985cd1ebdb
|
Python: Port py/request-without-cert-validation to use API graphs
|
2021-11-09 16:37:50 +01:00 |
|
Rasmus Wriedt Larsen
|
59581690fd
|
Python: Add py/request-without-cert-validation tests
|
2021-11-09 16:29:57 +01:00 |
|
Rasmus Wriedt Larsen
|
9e2bc41648
|
Python: Improve hashlib.new modeling
By using a backwards type-tracker to find possible hashing algorithm
names.
|
2021-11-04 15:36:32 +01:00 |
|
Rasmus Wriedt Larsen
|
9e91f3a341
|
Python: Highlight shortcomings of hashlib.new modeling
|
2021-11-04 15:29:40 +01:00 |
|
Mathias Vorreiter Pedersen
|
4a2894a707
|
Merge pull request #7025 from MathiasVP/nomagic-parameterCand
Dataflow: Replace a 'noinline' pragma with a 'nomagic' pragma
|
2021-11-02 20:40:44 +00:00 |
|
yoff
|
97625d7c2c
|
Merge pull request #7023 from RasmusWL/toml
Python: Add modeling of `toml`
|
2021-11-02 14:42:06 +01:00 |
|
yoff
|
0240631510
|
Merge pull request #6782 from RasmusWL/fastapi
Python: Model FastAPI
|
2021-11-02 14:16:12 +01:00 |
|
Rasmus Wriedt Larsen
|
c52e453342
|
Python: Minor rewrite
|
2021-11-02 13:37:50 +01:00 |
|
Anders Schack-Mulligen
|
7d0152f3c0
|
Merge pull request #6932 from aschackmull/dataflow/flow-features
Dataflow: Add support for call context restrictions on sources/sinks.
|
2021-11-02 13:24:17 +01:00 |
|
Mathias Vorreiter Pedersen
|
6f4107ff23
|
Dataflow: Replace a 'noinline' pragma with a 'nomagic' pragma.
|
2021-11-02 11:37:40 +00:00 |
|
Rasmus Wriedt Larsen
|
8ee804a8c2
|
Python: Add toml modeling
|
2021-11-02 11:57:15 +01:00 |
|
Rasmus Wriedt Larsen
|
14bc297946
|
Python: Add toml encode/decode test
|
2021-11-02 11:57:06 +01:00 |
|
Tom Hvitved
|
302373d154
|
Merge pull request #6858 from hvitved/python/type-tracker-changes
Python: Type tracker changes
|
2021-11-02 11:47:01 +01:00 |
|
CodeQL CI
|
d5e2026a26
|
Merge pull request #6934 from erik-krogh/more-instanceof
Approved by MathiasVP, esbena, yoff
|
2021-11-02 03:46:23 -07:00 |
|
CodeQL CI
|
5d62aa5b29
|
Merge pull request #6994 from erik-krogh/redundant-cast
Approved by RasmusWL, aschackmull, esbena, geoffw0, hvitved, nickrolfe
|
2021-11-02 03:45:48 -07:00 |
|
Tom Hvitved
|
1e64893742
|
Update python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll
Co-authored-by: Taus <tausbn@github.com>
|
2021-11-02 11:16:32 +01:00 |
|
Tom Hvitved
|
660398aa78
|
Python: Introduce TypeBackTracker::getACompatibleTypeTracker()
|
2021-11-02 11:16:32 +01:00 |
|
Tom Hvitved
|
73fd66cfed
|
Python: Cache TypeBackTracker::prepend
|
2021-11-02 11:16:32 +01:00 |
|
Rasmus Wriedt Larsen
|
b7b9120724
|
Python: Better handling of Pydantic models
|
2021-11-02 10:29:17 +01:00 |
|
Rasmus Wriedt Larsen
|
c207580ed9
|
Python: Add extra FastAPI taint tests
|
2021-11-02 10:20:09 +01:00 |
|
Rasmus Wriedt Larsen
|
17da28118a
|
Python: Small refactor to use extends .. instanceof
|
2021-11-02 10:06:11 +01:00 |
|
Erik Krogh Kristensen
|
0897b004eb
|
revert removal of redundant inline casts in some python files
|
2021-10-29 14:40:27 +02:00 |
|
Erik Krogh Kristensen
|
d36c66cfca
|
remove redundant inline casts in arguments where the type is inferred by the call target
|
2021-10-29 14:37:56 +02:00 |
|
yoff
|
1c78c792ff
|
Merge pull request #6991 from RasmusWL/flask-blueprints
Python: Support `flask.blueprints.Blueprint`
|
2021-10-29 14:06:43 +02:00 |
|
Rasmus Wriedt Larsen
|
7e7c363e43
|
Python: Apply suggestions from code review
Co-authored-by: yoff <lerchedahl@gmail.com>
|
2021-10-29 13:59:36 +02:00 |
|
Rasmus Wriedt Larsen
|
85f00fda19
|
Merge pull request #6776 from yoff/python/model-asyncpg
Python: Model `asyncpg`
|
2021-10-29 13:54:44 +02:00 |
|
Anders Schack-Mulligen
|
3a1836c9f6
|
Merge pull request #7000 from aschackmull/dataflow/interface-refactor
Dataflow: Refactor public references to DataFlowCallable
|
2021-10-29 12:21:13 +02:00 |
|
Anders Schack-Mulligen
|
5951ae79b9
|
Dataflow: Add language specific predicates.
|
2021-10-29 11:11:35 +02:00 |
|
Anders Schack-Mulligen
|
00df6798b1
|
Dataflow: Sync
|
2021-10-29 11:00:23 +02:00 |
|
Erik Krogh Kristensen
|
6fffdf6101
|
Merge pull request #6855 from erik-krogh/secCookie
JS: Move cookie queries out of experimental.
|
2021-10-29 10:23:48 +02:00 |
|
Rasmus Lerchedahl Petersen
|
0f2f68bcbb
|
Python: rename file
|
2021-10-28 19:14:02 +02:00 |
|
yoff
|
8f9741ae72
|
Update python/ql/lib/semmle/python/internal/Awaited.qll
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
|
2021-10-28 19:13:08 +02:00 |
|
Erik Krogh Kristensen
|
15c90adec5
|
remove redundant cast where the type is enforced by an equality comparison
|
2021-10-28 18:08:20 +02:00 |
|
Erik Krogh Kristensen
|
e75448ebb0
|
remove redundant inline casts
|
2021-10-28 16:35:53 +02:00 |
|
Rasmus Lerchedahl Petersen
|
8c72cc0cdd
|
Python: update change note
|
2021-10-28 14:53:46 +02:00 |
|
Rasmus Lerchedahl Petersen
|
c92249525b
|
Python: update test expectations
|
2021-10-28 14:03:09 +02:00 |
|
Rasmus Wriedt Larsen
|
a33a8fd518
|
Python: Support flask.blueprints.Blueprint
Thanks to @haby0 who originally proposed this as part of
https://github.com/github/codeql/pull/6977
|
2021-10-28 14:02:03 +02:00 |
|
Rasmus Lerchedahl Petersen
|
3abe3e43d0
|
Python: autoformat
|
2021-10-28 13:58:01 +02:00 |
|
Rasmus Wriedt Larsen
|
0acf6aaec8
|
Python: Add change-note
|
2021-10-28 13:45:34 +02:00 |
|
Rasmus Wriedt Larsen
|
8c3349f40f
|
Python: Properly model flask.send_from_directory
To not include `filename` as path-injection sink.
|
2021-10-28 13:41:39 +02:00 |
|
Rasmus Wriedt Larsen
|
228e9e973a
|
Python: Minor flask refactor
|
2021-10-28 13:36:03 +02:00 |
|
Rasmus Wriedt Larsen
|
6648a695eb
|
Python: Add flask specific path-injection test
|
2021-10-28 13:34:18 +02:00 |
|
Rasmus Lerchedahl Petersen
|
b3ba75a00f
|
Python: Fix tests by managing local sources
`API::Node::getAwaited` is restriced to local sources
|
2021-10-28 13:22:59 +02:00 |
|
Rasmus Wriedt Larsen
|
436152a46d
|
Python: Refactor flask file sending tests
|
2021-10-28 12:37:07 +02:00 |
|
Rasmus Wriedt Larsen
|
6d09334cba
|
Merge pull request #6330 from porcupineyhairs/pyPathTraversal
Python : Add Flask sinks for path injection query
|
2021-10-28 11:39:40 +02:00 |
|
Rasmus Wriedt Larsen
|
3fa66519f5
|
Merge branch 'main' into fastapi
|
2021-10-28 11:37:40 +02:00 |
|
Rasmus Wriedt Larsen
|
d9e5d179d2
|
Python: Minor fix to QLDoc
and auto-formatting
|
2021-10-28 11:15:34 +02:00 |
|
Rasmus Wriedt Larsen
|
358663ffbb
|
Python: Fix tests
|
2021-10-28 11:14:41 +02:00 |
|
yoff
|
9478faf040
|
Merge pull request #6967 from RasmusWL/ruamel.yaml
Python: Model `ruamel.yaml` PyPI package
|
2021-10-28 10:19:08 +02:00 |
|