os.Args variable read

This commit is contained in:
Ed Minnix
2024-10-09 11:56:41 -04:00
parent 2cbb072668
commit 63a3054aeb

View File

@@ -43,4 +43,10 @@ module Os {
input = inp and output = outp
}
}
private class ArgsSource extends SourceNode {
ArgsSource() { exists(Variable v | v.hasQualifiedName("os", "Args") | this = v.getARead()) }
override string getThreatModel() { result = "commandargs" }
}
}