mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
Update DoNotUseInvokeExpression.ql
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @problem.severity error
|
||||
* @security-severity 9.8
|
||||
* @precision high
|
||||
* @id powershell/do-not-use-invoke-expression
|
||||
* @id powershell/microsoft-public/do-not-use-invoke-expression
|
||||
* @tags security
|
||||
*/
|
||||
import powershell
|
||||
@@ -13,4 +13,4 @@ import semmle.code.powershell.dataflow.DataFlow
|
||||
|
||||
from CmdCall call
|
||||
where call.getName() = "Invoke-Expression"
|
||||
select call, "Do not use Invoke-Expression. It is a command injection risk."
|
||||
select call, "Do not use Invoke-Expression. It is a command injection risk."
|
||||
|
||||
Reference in New Issue
Block a user