ci(semgrep): Add semgrep testing (#24871)

Adds semgrep testing in CI.

Refer to:
- https://github.com/frappe/frappe/pull/12524
- https://github.com/frappe/frappe/pull/12577
This commit is contained in:
Ankush Menat
2021-04-16 21:44:49 +05:30
committed by GitHub
parent ede339f80b
commit 67e647232c
11 changed files with 376 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
def function_name(input):
# ruleid: frappe-codeinjection-eval
eval(input)
# ok: frappe-codeinjection-eval
eval("1 + 1")