mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: remove slow test Security/heuristics/AdditionalCommandInjections
This commit is contained in:
@@ -1 +0,0 @@
|
||||
| additionalCommandInjections.js:2:11:2:45 | "prgm - ... place() | additionalCommandInjections.js:2:28:2:35 | password |
|
||||
@@ -1,9 +0,0 @@
|
||||
import javascript
|
||||
import semmle.javascript.security.dataflow.CommandInjection::CommandInjection
|
||||
|
||||
private import semmle.javascript.heuristics.all
|
||||
// tests that the imports above changes the behavior of the standard taint tracking query
|
||||
|
||||
from Configuration cfg, Source source, Sink sink
|
||||
where cfg.hasFlow(source, sink)
|
||||
select sink, source
|
||||
@@ -1,4 +1,3 @@
|
||||
| additionalCommandInjections.js:2:11:2:45 | "prgm - ... place() |
|
||||
| sinks.js:2:14:2:17 | sink |
|
||||
| sinks.js:3:5:3:17 | script + sink |
|
||||
| sinks.js:4:9:4:12 | sink |
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
| additionalCommandInjections.js:2:28:2:35 | password |
|
||||
| sources.js:2:5:2:12 | password |
|
||||
| sources.js:3:5:3:20 | JSON.stringify() |
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
(function() {
|
||||
o.run("prgm --pass " + password.replace())
|
||||
})();
|
||||
Reference in New Issue
Block a user