Skip to content

Commit

Permalink
feat(ban): Add rule to ban shell execution via backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kollross committed Feb 25, 2022
1 parent 5416d33 commit 7c55867
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ parameters:
- system
- var_dump

# enable detection of shell execution by backticks
-
type: Expr_ShellExec
functions: null

# enable detection of `use Tests\Foo\Bar` in a non-test file
use_from_tests: true

Expand Down

0 comments on commit 7c55867

Please sign in to comment.