Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9b01c commit 0497e60Copy full SHA for 0497e60
1 file changed
javascript/ql/lib/semmle/javascript/frameworks/ActionsLib.qll
@@ -40,3 +40,17 @@ private class GitHubActionsSource extends RemoteFlowSource {
40
41
override string getSourceType() { result = "GitHub Actions input" }
42
}
43
+
44
+private class ExecActionsCall extends SystemCommandExecution, DataFlow::CallNode {
45
+ ExecActionsCall() {
46
+ this = API::moduleImport("@actions/exec").getMember(["exec", "getExecOutput"]).getACall()
47
+ }
48
49
+ override DataFlow::Node getACommandArgument() { result = this.getArgument(0) }
50
51
+ override DataFlow::Node getArgumentList() { result = this.getArgument(1) }
52
53
+ override DataFlow::Node getOptionsArg() { result = this.getArgument(2) }
54
55
+ override predicate isSync() { none() }
56
+}
0 commit comments