Ed Minnix
55fae2daaa
Added ESAPI sanitizer
2023-08-17 13:05:37 -04:00
Ed Minnix
97d6e82869
Stubs for org.owasp.esapi
2023-08-17 13:05:37 -04:00
Ed Minnix
f58590c6a9
Trust Boundary Work
2023-08-17 13:05:37 -04:00
Ed Minnix
2aba425464
TrustBoundary test ql file
2023-08-17 13:05:36 -04:00
Ed Minnix
ab9f0240d3
Add taint steps for HTML encoding methods
2023-08-17 13:05:36 -04:00
Ed Minnix
b9f2da7875
Comments and import fixes
2023-08-17 13:05:36 -04:00
Ed Minnix
3e7444cd66
Style fixes
2023-08-17 13:05:36 -04:00
Ed Minnix
15370506b8
Add missing security severity
2023-08-17 13:05:36 -04:00
Ed Minnix
a8b7e70d01
Convert trust boundary models to MaD
2023-08-17 13:05:36 -04:00
Ed Minnix
76438f13b6
Trust Boundary Query
2023-08-17 13:05:36 -04:00
Edward Minnix III
41a527cf72
Merge pull request #13934 from egregius313/egregius313/add-dashes-to-sha-algorithms
...
Java: Add dashes to SHA algorithm names in `Encryption.qll`
2023-08-17 13:03:15 -04:00
Michael B. Gale
109b96f038
Add comment explaining TaintStep test
2023-08-17 17:50:41 +01:00
Michael B. Gale
e65269be69
Add DefaultTaintSanitizer for clear
2023-08-17 17:49:46 +01:00
Geoffrey White
59e2b0482c
Merge branch 'main' into closuremodels
2023-08-17 17:16:44 +01:00
Paolo Tranquilli
3de7b75853
Swift: remove uneeded include
2023-08-17 17:36:36 +02:00
Paolo Tranquilli
970b3d06be
Swift: upgrade clang-formatting to 15.0.7
2023-08-17 17:24:42 +02:00
Paolo Tranquilli
7c764f3b50
Swift: use C++20 constraints and concepts to simplify code
...
This simplifies several instances of metaprogramming by leveraging
[constraints and concepts from C++20][1]. This:
* gets rid of `std::enable_if` by usage of `requires`, making it more
readable and yield better compiler messages.
* uses `requires` instead of `static_assert` to enforce `TrapLabel`
typing
* simplifies all compile-time tests for validity of a given expression
* uses some standard library concepts where possible
* generalizes and simplifies `SwiftLocationExtractor`
Notice that in order to use the `std::derived_from` concept, `virtual`
inheritance had to be added to the label tags, because diamond
inheritance is a problem otherwise. That's because
`std::derived_from<T, U>` requires that `T*` be convertible to `U*`,
which is false if there are multiple non-virtual inheritance paths from
`U` to `T`. As tags never get actually instantiated, there is no runtime
performance penalty in using `virtual` inheritance.
[1]: https://en.cppreference.com/w/cpp/language/constraints
2023-08-17 17:24:42 +02:00
Rasmus Wriedt Larsen
cf54d3f4ca
Python: Move paramiko tests to own folder
2023-08-17 15:45:28 +02:00
Rasmus Wriedt Larsen
4c693b4fc3
Python: Port py/xslt-injection to new data-flow
2023-08-17 15:45:07 +02:00
Rasmus Wriedt Larsen
ef139f2ee9
Python: Delete XsltSinks.ql test
2023-08-17 15:45:07 +02:00
Rasmus Wriedt Larsen
779fe6498c
Python: Rename to XsltInjection.ql
2023-08-17 15:45:07 +02:00
Rasmus Wriedt Larsen
0336c76871
Python: Rename template injection tests
2023-08-17 15:45:04 +02:00
Rasmus Wriedt Larsen
91edde72c4
Python: Port py/template-injection to new data-flow
...
I kept all the modeling in _one_ file, since that makes it easy to work
with such an external contribution... and I would certainly propose this
file setup for the future 👍
2023-08-17 15:44:26 +02:00
Paolo Tranquilli
700f383bab
Merge pull request #13988 from github/redsun82/swift-version-macro
...
Swift: fix version check macro to be lexicographic
2023-08-17 15:34:04 +02:00
Anders Schack-Mulligen
e27aad9d6c
Merge pull request #13987 from aschackmull/java/rangeanalysis-joinorder-fix
...
Java: Join-order fix in RangeAnalysis.
2023-08-17 14:47:26 +02:00
Mathias Vorreiter Pedersen
af7fe89c5a
Merge pull request #13989 from MathiasVP/add-invalid-ptr-false-positive-3
...
C++: Add `cpp/invalid-pointer-deref` false positive
2023-08-17 12:50:55 +01:00
Mathias Vorreiter Pedersen
5f5a87e2c7
C++: Add false positive.
2023-08-17 12:13:16 +01:00
Paolo Tranquilli
75cc1d8f75
Swift: fix version check macro to be lexicographic
2023-08-17 12:19:28 +02:00
Anders Schack-Mulligen
f8a0b6cd22
Java: Add nomagic
2023-08-17 11:20:02 +02:00
Anders Starcke Henriksen
1b31c4dd4c
Update filter to point to right pack.
2023-08-17 11:07:27 +02:00
Anders Schack-Mulligen
0afda68ba1
Java: Join-order fix in RangeAnalysis.
2023-08-17 11:07:24 +02:00
Rasmus Wriedt Larsen
4277be5819
Python: Add change-note
2023-08-17 10:46:36 +02:00
Tom Hvitved
7cc01ea8b5
Merge pull request #13595 from hvitved/csharp/use-shared-cfg-pack
...
C#: Adopt shared CFG construction library from shared `controlflow` pack
2023-08-17 10:37:09 +02:00
Rasmus Wriedt Larsen
24f9f13790
Python: Fix tests
2023-08-17 10:15:36 +02:00
Anders Starcke Henriksen
56871c77f5
Merge branch 'main' into starcke/automodel-pack
2023-08-17 10:04:44 +02:00
Tony Torralba
67c557115b
Merge pull request #13915 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2023-08-17 10:03:04 +02:00
Tom Hvitved
fe0f766994
Merge pull request #13966 from hvitved/csharp/mad-repr-fix
...
C#: Fix `getMadRepresentationSpecific`
2023-08-17 09:40:41 +02:00
Tom Hvitved
da8005dbd3
Code review suggestions
2023-08-17 09:26:58 +02:00
github-actions[bot]
b0da1ef892
Add changed framework coverage reports
2023-08-17 00:14:13 +00:00
Jeroen Ketema
33e8310625
Merge branch 'main' into shared-taint-tracking
2023-08-17 00:14:25 +02:00
Ian Lynagh
1fb4e13e0a
Merge pull request #13960 from igfoo/igfoo/parent
...
Kotlin: Handle Kotlin 2 parents better
2023-08-16 16:27:15 +01:00
Mathias Vorreiter Pedersen
e56cd0b498
Merge pull request #13984 from MathiasVP/fix-expected-for-swift
...
Swift: Fix expected files after a semantic merge conflict
2023-08-16 15:06:27 +01:00
Maiky
5f502ec6bb
rename change-note
2023-08-16 15:32:53 +02:00
yoff
7f2f6f14e7
Merge pull request #13729 from yoff/python/model-aws-lambdas
...
Python/JavaScript: Shared module for serverless functions
2023-08-16 15:14:08 +02:00
Rasmus Wriedt Larsen
0443057608
Merge branch 'main' into amammad-python-WebAppsConstatntSecretKeys
2023-08-16 15:06:08 +02:00
Mathias Vorreiter Pedersen
b2c7c57815
Swift: Fix expected files after a semantic merge conflict.
2023-08-16 13:52:06 +01:00
Mathias Vorreiter Pedersen
66d13dc0d5
Merge pull request #13981 from MathiasVP/fix-orig-delta-for-subtraction
...
C++: Fix original delta calculation for subtraction in new range analysis
2023-08-16 13:28:21 +01:00
Tom Hvitved
570654d1f0
Data flow: Earlier call-context based dispatch filtering
2023-08-16 14:24:45 +02:00
Mathias Vorreiter Pedersen
20df63f26d
C++: Respond to review comments.
2023-08-16 12:50:41 +01:00
Jeroen Ketema
591565a0db
Merge pull request #13971 from jketema/float
...
C++: Update test after float128 related extractor changes
2023-08-16 13:11:35 +02:00