JavaScript: Add import DataFlow::PathGraph.

This commit is contained in:
Max Schaefer
2018-11-08 12:56:51 +00:00
parent 4860364d91
commit 8d87f556e1
30 changed files with 37 additions and 8 deletions

View File

@@ -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"