mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge branch 'main' into flask-clean-models
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
example uses AES, which is a stronger modern algorithm.
|
||||
</p>
|
||||
|
||||
<sample src="examples/weak_crypto_algorithm.py" />
|
||||
<sample src="examples/broken_crypto.py" />
|
||||
|
||||
<p>
|
||||
WARNING: Although the second example above is more robust,
|
||||
@@ -180,7 +180,7 @@ private newtype TTypeTracker = MkTypeTracker(Boolean hasCall, OptionalAttributeN
|
||||
* It is recommended that all uses of this type are written in the following form,
|
||||
* for tracking some type `myType`:
|
||||
* ```
|
||||
* DataFlow::Node myType(DataFlow::TypeTracker t) {
|
||||
* DataFlow::LocalSourceNode myType(DataFlow::TypeTracker t) {
|
||||
* t.start() and
|
||||
* result = < source of myType >
|
||||
* or
|
||||
@@ -189,7 +189,7 @@ private newtype TTypeTracker = MkTypeTracker(Boolean hasCall, OptionalAttributeN
|
||||
* )
|
||||
* }
|
||||
*
|
||||
* DataFlow::Node myType() { result = myType(DataFlow::TypeTracker::end()) }
|
||||
* DataFlow::Node myType() { myType(DataFlow::TypeTracker::end()).flowsTo(result) }
|
||||
* ```
|
||||
*
|
||||
* Instead of `result = myType(t2).track(t2, t)`, you can also use the equivalent
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/BindToAllInterfaces/BindToAllInterfaces.ql
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/FlaskRunWithDebug/FlaskDebug.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle-extractor-options: --max-import-depth=2 -p ../../lib
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/HTTPSRequestWithoutCertValidation/HTTPSRequestWithoutCertValidation.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle-extractor-options: -p ../../lib --max-import-depth=3
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/HardcodedCredentials/HardcodedCredentials.ql
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/IncompleteUrlSanitizer/IncompleteHostnameRegExp.ql
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/IncompleteUrlSanitizer/IncompleteUrlSubstringSanitization.ql
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/InsecureTemporaryFile/InsecureTemporaryFile.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle-extractor-options: -p ../../lib --max-import-depth=3
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/Jinja2RenderWithoutEscape/Jinja2WithoutEscaping.ql
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/SSHMissingHostKeyValidation/SSHMissingHostKeyValidation.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle-extractor-options: -p ../../lib --max-import-depth=3
|
||||
@@ -1 +0,0 @@
|
||||
Security/BadPractice/WeakFilePermissions/WeakFilePermissions.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle-extractor-options: --max-import-depth=2 -p ../../lib
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user