From 420472ff4b5b7c7d8afcb6f94d317e1680589046 Mon Sep 17 00:00:00 2001 From: FailSafe Researcher Date: Tue, 9 Jun 2026 20:23:11 -0700 Subject: [PATCH] fix: remove 'or True' bypass in AuthorizationMiddleware Signed-off-by: FailSafe Researcher --- llmstack/apps/authorization_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmstack/apps/authorization_middleware.py b/llmstack/apps/authorization_middleware.py index df0b05fbdc7..09a4ca941fb 100644 --- a/llmstack/apps/authorization_middleware.py +++ b/llmstack/apps/authorization_middleware.py @@ -23,7 +23,7 @@ def __call__(self, request): raw_body = request.body if ( - (discord_signature and discord_timestamp) or (slack_signature and slack_timestamp) or True + (discord_signature and discord_timestamp) or (slack_signature and slack_timestamp) ) and re.match(r"^/api/apps/.*/run", path): app_id = path.split("/")[3] platform = path.split("/")[4]