Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
semgrep: Ban eval.
Anders Kaseorg4a88e2a73266
diff --git a/tools/semgrep.yml b/tools/semgrep.ymlindex d5925629d95..b6f7c984b87 100644--- a/tools/semgrep.yml+++ b/tools/semgrep.yml@@ -120,3 +120,9 @@ rules:- pattern: django.utils.translation.ugettext(...) % ...severity: ERRORmessage: "Prefer f-strings or .format for string formatting"++ - id: eval+ languages: [python]+ pattern: eval+ severity: ERROR+ message: "Do not use eval under any circumstances; consider json.loads instead"