We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ae8bd commit 6c8fbe8Copy full SHA for 6c8fbe8
1 file changed
ruby/ql/lib/codeql/ruby/security/InsecureRandomnessCustomizations.qll
@@ -22,7 +22,7 @@ module InsecureRandomness {
22
abstract class Source extends DataFlow::Node { }
23
24
/**
25
- * AA data flow sink for random values that are not cryptographically secure.
+ * A data flow sink for random values that are not cryptographically secure.
26
*/
27
abstract class Sink extends DataFlow::Node { }
28
@@ -36,8 +36,6 @@ module InsecureRandomness {
36
37
class DefaultSource extends Source, DataFlow::CallNode {
38
DefaultSource() {
39
- this = API::getTopLevelMember("Random").getAMethodCall(["rand"])
40
- or
41
this.asExpr().getExpr() instanceof UnknownMethodCall and
42
(
43
this.getReceiver().asExpr().getExpr() instanceof SelfVariableAccess and
0 commit comments