We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 012434b commit af2e8ffCopy full SHA for af2e8ff
python/ql/lib/semmle/python/security/dataflow/InsecureRandomnessCustomizations.qll
@@ -60,7 +60,7 @@ module InsecureRandomness {
60
class RandomFnSink extends Sink {
61
RandomFnSink() {
62
exists(DataFlowCallable randomFn |
63
- randomFn.getName().regexpMatch("(?i).*(gen(erate)?|salt|make|mk).*")
+ randomFn.getName().regexpMatch("(?i).*(gen(erate)?|make|mk|create).*(nonce|salt|pepper).*")
64
|
65
this.getEnclosingCallable() = randomFn
66
)
0 commit comments