mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
update js/insecure-randomness to match csharp
This commit is contained in:
@@ -18,5 +18,6 @@ import DataFlow::PathGraph
|
||||
|
||||
from Configuration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where cfg.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "Cryptographically insecure $@ in a security context.",
|
||||
source.getNode(), "random value"
|
||||
select sink.getNode(), source, sink,
|
||||
"Cryptographically insecure random number is generated at $@ and used here in a security context.",
|
||||
source.getNode(), source.getNode().toString()
|
||||
|
||||
Reference in New Issue
Block a user