mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JavaScript: Add import DataFlow::PathGraph.
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
*/
|
||||
import javascript
|
||||
import semmle.javascript.security.dataflow.InsecureRandomness::InsecureRandomness
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from Configuration cfg, DataFlow::Node source, DataFlow::Node sink
|
||||
where cfg.hasFlow(source, sink)
|
||||
select sink, "Cryptographically insecure $@ in a security context.", source, "random value"
|
||||
select sink, "Cryptographically insecure $@ in a security context.", source, "random value"
|
||||
|
||||
Reference in New Issue
Block a user