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 |
|
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 |
|
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 |
|
Michael Nebel
|
2e46e93f36
|
Java: Update java models with provenance column information.
|
2022-06-20 16:20:02 +02: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 |
|
Jonathan Leitschuh
|
2753521650
|
Java: Fix Local Temp File/Dir Incorrect Guard Logic
Resolves https://github.com/github/codeql/pull/8032#discussion_r841723906
|
2022-04-06 12:16:09 -04:00 |
|
Chris Smowton
|
767453520e
|
Merge pull request #8032 from JLLeitschuh/feat/JLL/check_os
Java: Add Guard Classes for checking OS & unify System Property Access
|
2022-03-18 11:20:36 +00:00 |
|
Joe Farebrother
|
d4b5eed3e4
|
Merge pull request #8410 from joefarebrother/sensitive-logging
Java: Promote Sensitive Logging query
|
2022-03-14 14:50:26 +00:00 |
|
Chris Smowton
|
9f02ca0db2
|
Merge pull request #8357 from p0wn4j/jdbc-url-ssrf-sink
Java: Add JDBC connection SSRF sinks
|
2022-03-14 13:27:34 +00:00 |
|
p0wn4j
|
ee67d27b56
|
Java: Add JDBC connection SSRF sinks
|
2022-03-12 16:35:32 +04:00 |
|
Joe Farebrother
|
06f2c03828
|
Add tests
|
2022-03-11 17:44:52 +00:00 |
|
Erik Krogh Kristensen
|
69353bb014
|
patch upper-case acronyms to be PascalCase
|
2022-03-11 11:10:33 +01:00 |
|
Jonathan Leitschuh
|
5b651f29d8
|
Fix insufficient tests and add documentation
|
2022-03-07 16:39:40 -05:00 |
|
Jonathan Leitschuh
|
dad9a02fbd
|
Update TempDirInfoDisclosure with new OS Guards
|
2022-03-02 12:51:15 -05:00 |
|
Jonathan Leitschuh
|
39828fd596
|
Apply OS guard checks to TempDirLocalInformationDisclosure
|
2022-03-02 12:50:37 -05:00 |
|
Jonathan Leitschuh
|
eee521e6ce
|
Fix test failure for TempDirLocalInformationDisclosure
|
2022-02-10 10:40:40 -05:00 |
|
Jonathan Leitschuh
|
49a73673b6
|
Fix FP from mkdirs call on exact temp directory
|
2022-02-09 11:04:23 -05:00 |
|
Jonathan Leitschuh
|
7f46640176
|
Consider calls to setReadable(false, false) then setReadable(true, true) to be safe
|
2022-02-08 17:57:10 -05:00 |
|
Chris Smowton
|
a6596ea7ce
|
Fix test requirements, formatting
|
2022-02-08 12:01:32 +00:00 |
|
Jonathan Leitschuh
|
c4112e6d4c
|
Post refactor fixiup
|
2022-02-07 15:02:13 -05:00 |
|
Chris Smowton
|
de38638db6
|
Combine CWE-200 queries
|
2022-02-07 14:22:36 -05:00 |
|
Jonathan Leitschuh
|
0268dd9f0a
|
Add file creation sanitizer
|
2022-02-04 17:10:27 -05:00 |
|
Jonathan Leitschuh
|
9299c7996d
|
Add information disclosure test fix suggestions
|
2022-02-04 17:10:27 -05:00 |
|