Jami Cogswell
|
cf39cc0909
|
updates to android debug query
|
2022-08-15 15:49:59 -04:00 |
|
Jami Cogswell
|
6720dba8e7
|
draft android debug query
|
2022-08-15 15:49:59 -04:00 |
|
Chris Smowton
|
774e379eb1
|
Merge pull request #9742 from smehta23/feat/SM/java_partial_path_traversal_vulnerability
[JAVA] Partial Path Traversal Vuln Query
|
2022-08-15 12:56:16 +01:00 |
|
Erik Krogh Kristensen
|
0adb588fe8
|
Merge pull request #9712 from erik-krogh/badRange
JS/RB/PY/Java: add suspicious range query
|
2022-08-15 13:55:44 +02:00 |
|
Chris Smowton
|
b62e9dc92c
|
Convert tests to inline expectations and fix one bug revealed doing so
Specifically Apache sshd defines its sensitive api calls on an inherited interface, and they need to be described that way for us to pick them up.
|
2022-08-13 14:02:05 +01:00 |
|
Chris Smowton
|
0a6ccbca45
|
Add stubs and tests for new hardcoded-credential sinks
|
2022-08-13 12:39:15 +01:00 |
|
Chris Smowton
|
e9df675f88
|
Autoformat ql
|
2022-08-11 09:55:46 +01:00 |
|
Erik Krogh Kristensen
|
49276b1f38
|
Merge branch 'main' into refacReDoS
|
2022-08-09 16:18:46 +02:00 |
|
Joe Farebrother
|
a2245bb858
|
Fix test
|
2022-08-05 12:56:19 +01:00 |
|
Joe Farebrother
|
c4de158e0d
|
Add tests
|
2022-08-05 12:56:18 +01:00 |
|
Chris Smowton
|
84a4b6a866
|
Make reporting locations consistent with PathCreation; add test
|
2022-08-03 10:42:09 +01:00 |
|
Tony Torralba
|
e179126abb
|
Merge pull request #9129 from atorralba/atorralba/get-underlying-expr
Java: Add Expr::getUnderlyingExpr predicate
|
2022-07-27 11:42:28 +02:00 |
|
Shyam Mehta
|
09ec37943c
|
Partial Path Traversal split into 2 queries
|
2022-07-20 17:53:26 -04:00 |
|
Erik Krogh Kristensen
|
ff25451699
|
rename query to overly-large-range, and rewrite the @description
|
2022-07-12 16:02:46 +02:00 |
|
smehta23
|
781a2a73d3
|
Merge branch 'main' into feat/SM/java_partial_path_traversal_vulnerability
|
2022-07-12 01:48:12 -04:00 |
|
Erik Krogh Kristensen
|
9ecc3a2671
|
filter out potential misparses from java/suspicious-regexp-range
|
2022-06-29 13:16:40 +02:00 |
|
Tony Torralba
|
12fa6967dc
|
Merge pull request #8669 from joefarebrother/intent-verification
Java: Add query for Improper Verification of Intent by Broadcast Receiver (CWE-925)
|
2022-06-29 09:43:07 +02:00 |
|
Shyam Mehta
|
b5ca2c3d9d
|
Add additional tests from real world query run
|
2022-06-28 17:32:20 -04:00 |
|
Shyam Mehta
|
7122f29296
|
Finish Partial Path Traversal Query
|
2022-06-28 15:02:06 -04:00 |
|
Shyam Mehta
|
4c7d476280
|
[JAVA] Partial Path Traversal Vuln Query
|
2022-06-28 13:52:41 -04:00 |
|
Erik Krogh Kristensen
|
a343ceaf8b
|
add suspicious-regexp-range query
|
2022-06-28 09:49:27 +02:00 |
|
Erik Krogh Kristensen
|
13482fc97b
|
rename ReDoSUtil to NfaUtils, and rename the "performance" folder to "regexp"
|
2022-06-23 14:36:25 +02:00 |
|
Erik Krogh Kristensen
|
3be4a86acd
|
make ReDoSPruning into a parameterized module
|
2022-06-23 14:36:25 +02:00 |
|
Erik Krogh Kristensen
|
dc06e9df02
|
move predicates that depend on isReDoSCandidate into a ReDoSPruning module
|
2022-06-23 14:36:24 +02:00 |
|
Michael Nebel
|
2e46e93f36
|
Java: Update java models with provenance column information.
|
2022-06-20 16:20:02 +02:00 |
|
Ian Lynagh
|
5ba672f035
|
NonSerializableField: Accept test output changes
|
2022-06-16 17:34:56 +01:00 |
|
Joe Farebrother
|
c71586e1f8
|
Remove checks for dynamically registered recievers
|
2022-06-14 14:56:24 +01:00 |
|
Joe Farebrother
|
4aed1a1e23
|
Add test cases; fix handling of recievers declared through xml
|
2022-06-14 14:56:22 +01:00 |
|
Tony Torralba
|
9c941dc7ab
|
Add Kotlin test for UnsafeAndroidAccess
|
2022-05-25 10:56:18 +02:00 |
|
Tony Torralba
|
f0b90b391f
|
Add Kotlin test for CleartextStorageSharedPrefs
|
2022-05-25 10:56:18 +02:00 |
|
Tony Torralba
|
616b12d011
|
Merge pull request #8956 from atorralba/atorralba/intent-redirection-sanitizer-fix
Java: Fix Intent Redirection sanitizer
|
2022-05-16 09:21:04 +02:00 |
|
Tony Torralba
|
168a184602
|
Merge pull request #9127 from atorralba/atorralba/sensitive-info-log-improvs
Java: Sensitive Info Log query improvements
|
2022-05-13 16:57:32 +02:00 |
|
Joe Farebrother
|
59e400d2e0
|
Merge pull request #7723 from joefarebrother/redos
Java: Add ReDoS queries
|
2022-05-12 13:50:38 +01:00 |
|
Tony Torralba
|
5db8306fef
|
Stop considering usernames sensitive info
Require variables to be static to be considered constants
|
2022-05-12 11:46:52 +02:00 |
|
Chris Smowton
|
c17ef42cc7
|
Insecure cookie query: accept ServletRequest.isSecure(), and allow more than one possible input to a setSecure(...) call.
|
2022-05-11 11:59:37 +01:00 |
|
Tony Torralba
|
43b425d0e4
|
Merge pull request #9002 from atorralba/atorralba/https-urls-improvs
Java: Add OkHttp and Retrofit models
|
2022-05-11 10:48:08 +02:00 |
|
Joe Farebrother
|
64227c9109
|
Fix codescanning alerts
|
2022-05-04 15:58:30 +01:00 |
|
Joe Farebrother
|
1605d36ddf
|
Refine polynomial redos sources to exclude length limited methods
|
2022-05-04 15:41:39 +01:00 |
|
Joe Farebrother
|
6794268a3c
|
Split PolynomialRedos definition into a library to avoid duplication in the tests
|
2022-05-04 15:41:38 +01:00 |
|
Joe Farebrother
|
5555985ad6
|
Distingush between whether or not a regex is matched against a full string
Also some fixes and additional tests
|
2022-05-04 15:41:38 +01:00 |
|
Joe Farebrother
|
bb562643c6
|
Support possessive quantifiers, which cannot backtrack.
They are approximated by limiting them to up to one repetition (effectively making *+ like ? and ++ like a no-op).
|
2022-05-04 15:41:37 +01:00 |
|
Joe Farebrother
|
3ce0c2c23b
|
Add more regex use functions in String
|
2022-05-04 15:41:36 +01:00 |
|
Joe Farebrother
|
57ba8a4d1b
|
Improve handling of hex escapes; and support some named character classes
|
2022-05-04 15:41:36 +01:00 |
|
Joe Farebrother
|
5143585080
|
Fix to PolynomialRedos not finding results and to test cases not finding that
|
2022-05-04 15:41:36 +01:00 |
|
Joe Farebrother
|
e23162d91b
|
Add test cases for PolynomialRedos dataflow logic; make fixes
|
2022-05-04 15:41:35 +01:00 |
|
Joe Farebrother
|
5a4316d945
|
Add test cases for exponential redos query
|
2022-05-04 15:41:35 +01:00 |
|
Tony Torralba
|
de8b5f927b
|
Adjust test expectations
|
2022-05-02 16:55:11 +02:00 |
|
Tony Torralba
|
12320aa5d2
|
Fix Intent Redirection sanitizer
|
2022-04-29 12:19:49 +02:00 |
|
Jonathan Leitschuh
|
2565cdb964
|
Add additional File taint value flow models
Adds
- File::getAbsoluteFile
- File::getCanonicalFile
- File::getAbsolutePath
- File::getCanonicalPath
|
2022-04-26 10:42:53 -04:00 |
|
Tony Torralba
|
f1c08bc492
|
Add value-preserving steps for SharedPreferences
|
2022-04-22 17:44:59 +02:00 |
|