Taus
|
24000a50e6
|
Python: Fix bad join in py/redundant-assignment
A minor thing, but still best avoided:
```
Tuple counts for RedundantAssignment::pyflakes_commented_line#bb/2@0477c7 after 14.2s:
160826 ~0% {2} r1 = SCAN py_comments OUTPUT In.2, In.1
160826 ~0% {3} r2 = JOIN r1 WITH project#Files::Location::hasLocationInfo_dispred#bfffff ON FIRST 1 OUTPUT Rhs.1, Lhs.1, Rhs.2 'result'
160826 ~3% {3} r3 = JOIN r2 WITH files_10#join_rhs ON FIRST 1 OUTPUT Lhs.2 'result', Lhs.1, Rhs.1 'file'
46672419 ~4% {4} r4 = JOIN r3 WITH Files::Location::getStartLine_dispred#bf_10#join_rhs ON FIRST 1 OUTPUT Rhs.1, Lhs.2 'file', Lhs.1, Lhs.0 'result'
3951 ~0% {4} r5 = JOIN r4 WITH Files::Location::getFile_dispred#bf ON FIRST 2 OUTPUT Lhs.2, Lhs.3 'result', Lhs.1 'file', toLower(Lhs.2)
0 ~0% {4} r6 = SELECT r5 ON In.3 contains "pyflakes"
0 ~0% {2} r7 = SCAN r6 OUTPUT In.2 'file', In.1 'result'
return r7
```
|
2021-11-09 20:31:44 +00: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
|
9710aeecbf
|
Python/C#: Add CWE-1333 to redos queries
As is already done in JS and Ruby.
|
2021-11-09 16:10:38 +01:00 |
|
jorgectf
|
83e3de1fed
|
Polish documentation.
|
2021-11-05 21:05:33 +01:00 |
|
jorgectf
|
cf47e8eb9c
|
Fix endpoints' naming
|
2021-11-05 20:12:35 +01:00 |
|
jorgectf
|
b3258ce20f
|
Add CookieInjection sample and .qhelp
|
2021-11-05 20:12:05 +01:00 |
|
jorgectf
|
4cb78ac654
|
Fix typo
|
2021-11-05 20:08:37 +01:00 |
|
Erik Krogh Kristensen
|
02f500b9c2
|
Merge branch 'main' into htmlReg
|
2021-11-04 12:58:42 +01:00 |
|
Rasmus Wriedt Larsen
|
cb6bcada4c
|
Merge branch 'main' into django-rest-framework
|
2021-11-02 14:33:16 +01:00 |
|
Rasmus Wriedt Larsen
|
5c2734c643
|
Python: Fix experimental Django.qll
|
2021-11-02 10:55:44 +01:00 |
|
Rasmus Wriedt Larsen
|
f1307b772a
|
Python: Add RequestHandler meta query
|
2021-11-02 10:55:44 +01: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 |
|
jorgectf
|
066b40098c
|
Add lxml.etree.XMLParser missing resolve_entities dangerous case
|
2021-10-28 19:34:15 +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 |
|
jorgectf
|
47b14f1adc
|
Polish Concepts.qll qldocs
|
2021-10-28 17:55:34 +02:00 |
|
jorgectf
|
b3ec82cd36
|
Merge branch 'jorgectf/python/jwt-queries' of https://github.com/jorgectf/codeql into jorgectf/python/jwt-queries
|
2021-10-28 17:40:33 +02:00 |
|
jorgectf
|
a6c285ad32
|
Apply getItem(_) and extend verifiesSignature readability
|
2021-10-28 17:40:27 +02:00 |
|
Jorge
|
f4d63cc5e7
|
Apply suggestions from code review
Co-authored-by: Taus <tausbn@github.com>
|
2021-10-28 17:34:11 +02:00 |
|
jorgectf
|
ef4a27ff8c
|
Apply code review suggestions
|
2021-10-28 17:31:52 +02:00 |
|
jorgectf
|
3dec222922
|
Merge remote-tracking branch 'origin/main' into jorgectf/python/jwt-queries
|
2021-10-28 13:11:46 +02:00 |
|
jorgectf
|
7069f45864
|
Polish documentation
|
2021-10-28 13:09:28 +02:00 |
|
Rasmus Wriedt Larsen
|
58bc1102e5
|
Merge branch 'main' into jorgectf/python/deserialization
|
2021-10-28 12:31:34 +02:00 |
|
jorgectf
|
cf9e9f9dd4
|
Add cookie injection query missing proper tests
|
2021-10-28 10:28:45 +02:00 |
|
jorgectf
|
5dc1ad6f8a
|
Polish .ql
|
2021-10-28 09:25:47 +02:00 |
|
jorgectf
|
48c3c3d8a8
|
Broaden scope
|
2021-10-27 21:00:50 +02:00 |
|
jorgectf
|
28ec8c9dee
|
Merge remote-tracking branch 'origin/main' into jorgectf/python/insecure-cookie
|
2021-10-27 19:00:55 +02:00 |
|
jorgectf
|
350cbb4c5d
|
Polish qhelp and libraries
|
2021-10-27 18:47:19 +02:00 |
|
Rasmus Lerchedahl Petersen
|
fed6a97eb8
|
Python: Promote ReDoS queries
|
2021-10-27 11:03:57 +02:00 |
|
Erik Krogh Kristensen
|
44afa34e37
|
Merge branch 'main' of github.com:github/codeql into htmlReg
|
2021-10-26 14:46:27 +02:00 |
|
Erik Krogh Kristensen
|
a3c55c2aec
|
use set literal instead of big disjunction of literals
|
2021-10-26 12:55:25 +02:00 |
|
Rasmus Wriedt Larsen
|
852e9875bd
|
Python: Apply suggestions from code review
Co-authored-by: Taus <tausbn@github.com>
|
2021-10-21 10:24:34 +02:00 |
|
Rasmus Wriedt Larsen
|
8f28684d10
|
Python: Rename ExtractionErrors.ql -> ExtractionWarnings.ql
|
2021-10-20 17:01:33 +02:00 |
|
Rasmus Wriedt Larsen
|
605494c3d1
|
Python: Treat SyntaxErrors as warnings in diagnostics
Rename going to happen in second commit, so git doesn't get too confused
I don't actually recall where to lookup that warning is 1, and error is
2, but I took this from
https://github.com/github/codeql/pull/6830/files#diff-460fc20823ced3b074784db804f2d4d6cfcad4f23fe5d264dc7496c782629a2eR121-R123
|
2021-10-20 16:59:00 +02:00 |
|
Rasmus Wriedt Larsen
|
b0af805460
|
Merge pull request #6899 from thepurpleowl/patch-1
Python SignatureOverriddenMethod: Rmv duplicate condition
|
2021-10-19 11:24:01 +02:00 |
|
Surya Prakash Sahu
|
2871bdb206
|
Python SignatureOverriddenMethod: Rmv duplicate condition
|
2021-10-17 18:04:20 +05:30 |
|
jorgectf
|
14c50e993b
|
Add django GET.get RFS
|
2021-10-16 13:10:48 +02:00 |
|
jorgectf
|
45146bc798
|
Merge branch 'main' into jorgectf/python/headerInjection
|
2021-10-16 12:46:57 +02:00 |
|
jorgectf
|
2db1ffef1e
|
Merge remote-tracking branch 'origin/main' into jorgectf/python/headerInjection
|
2021-10-16 10:40:52 +02:00 |
|
jorgectf
|
f1a73e3009
|
Merge branch 'jorgectf/python/deserialization' of https://github.com/jorgectf/codeql into jorgectf/python/deserialization
|
2021-10-16 10:07:13 +02:00 |
|
jorgectf
|
c2046f1777
|
Improve readability for xmlDom()
|
2021-10-16 10:07:11 +02:00 |
|
Jorge
|
be424704a6
|
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
|
2021-10-16 10:04:50 +02:00 |
|
jorgectf
|
320a00be31
|
Delete simple API::Nodes
|
2021-10-16 10:02:43 +02:00 |
|
jorgectf
|
5b66a15de3
|
Extend mayBeDangerous() QLDoc
|
2021-10-16 09:57:28 +02:00 |
|
Rasmus Wriedt Larsen
|
7cd5e681dd
|
Merge pull request #6693 from yoff/python/promote-regex-injection
Python: Promote `py/regex-injection`
|
2021-10-14 14:49:05 +02:00 |
|
Mathias Vorreiter Pedersen
|
47a85bbb1d
|
Merge pull request #6869 from MathiasVP/fix-prefix/suffix-equality
Java/JS/Python: Replace '.prefix'/'.suffix' with '.matches'
|
2021-10-14 13:47:03 +01:00 |
|
Mathias Vorreiter Pedersen
|
a2371370ff
|
Merge pull request #6865 from MathiasVP/fix-if-none
C++/C#/JS/Python: Replace 'if p() then q() else none()' with a conjunction
|
2021-10-13 19:47:55 +01:00 |
|
Mathias Vorreiter Pedersen
|
a80860cdc6
|
Python: Replace '.prefix'/'.suffix' with '.matches'.
|
2021-10-13 13:23:12 +01:00 |
|
Mathias Vorreiter Pedersen
|
bdc54bcda7
|
Python: Replace 'if p() then q() else none()' with a conjunction.
|
2021-10-13 12:13:55 +01:00 |
|
Rasmus Lerchedahl Petersen
|
61008fd3d0
|
Merge branch 'main' of github.com:github/codeql into python/promote-regex-injection
|
2021-10-12 11:28:12 +02:00 |
|
yoff
|
43f7eede0b
|
Merge pull request #6182 from haby0/python/LogInjection
Python: CWE-117 Log injection
|
2021-10-12 10:54:45 +02:00 |
|