From 4e9a611bfd8385c188364e1253cb3dadea010344 Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:49:31 +0200 Subject: [PATCH] Updated Code Security Guidelines (markdown) --- Code-Security-Guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code-Security-Guidelines.md b/Code-Security-Guidelines.md index 01e57e6..7fc8e5e 100644 --- a/Code-Security-Guidelines.md +++ b/Code-Security-Guidelines.md @@ -144,7 +144,7 @@ Example: ## Check parameter types -Always check if the parameters passed to your whitelisted method have the type you expect. For example, if you accept a filter value for a specific company, like `"Example Corp"` users could instead pass a different filter object like `["is", "set"]`, thus changing the behavior of your code. +Always check if the parameters passed to your whitelisted method have the type you expect. For example, if you accept a filter value for a specific company, like `"Example Corp"` a malicious user could instead pass a different filter object like `["is", "set"]`, thus changing the behavior of your code. In v15+, type annotations will be checked automatically, you just need to provide them: