Skip to content

Commit 14fdfa4

Browse files
committed
Add new sink kind and change note
1 parent 0313f39 commit 14fdfa4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: newQuery
3+
---
4+
* Added the `java/weak-randomness` query to detect uses of weakly random values which an attacker may be able to predict. Also added the `crypto-parameter` sink kind for sinks which represent the parameters and keys of cryptographic operations.
5+

shared/mad/codeql/mad/ModelValidation.qll

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ module KindValidation<KindValidationConfigSig Config> {
3030
"js-injection", "ldap-injection", "log-injection", "path-injection", "request-forgery",
3131
"sql-injection", "url-redirection",
3232
// Java-only currently, but may be shared in the future
33-
"bean-validation", "fragment-injection", "groovy-injection", "hostname-verification",
34-
"information-leak", "intent-redirection", "jexl-injection", "jndi-injection",
35-
"mvel-injection", "ognl-injection", "pending-intents", "response-splitting",
36-
"trust-boundary-violation", "template-injection", "xpath-injection", "xslt-injection",
33+
"bean-validation", "crypto-parameter", "fragment-injection", "groovy-injection",
34+
"hostname-verification", "information-leak", "intent-redirection", "jexl-injection",
35+
"jndi-injection", "mvel-injection", "ognl-injection", "pending-intents",
36+
"response-splitting", "trust-boundary-violation", "template-injection", "xpath-injection",
37+
"xslt-injection",
3738
// JavaScript-only currently, but may be shared in the future
3839
"mongodb.sink", "nosql-injection", "unsafe-deserialization",
3940
// Swift-only currently, but may be shared in the future

0 commit comments

Comments
 (0)