From ca394a9eaa3f42066b781d6897a7d9f5aa67a152 Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 17 Jul 2026 19:21:25 +0000 Subject: [PATCH] fix(security): remove API key query string authentication vector Query string (?apiKey=...) leaks credentials in server logs, referrer headers, and browser history. Only Authorization header and X-API-Key header are now accepted for API key authentication. --- .../Security/ApiKeyAuthenticationHandler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Heimdall.Infrastructure/Security/ApiKeyAuthenticationHandler.cs b/src/Heimdall.Infrastructure/Security/ApiKeyAuthenticationHandler.cs index 818c94c..0ddd204 100644 --- a/src/Heimdall.Infrastructure/Security/ApiKeyAuthenticationHandler.cs +++ b/src/Heimdall.Infrastructure/Security/ApiKeyAuthenticationHandler.cs @@ -36,8 +36,7 @@ public class ApiKeyAuthenticationHandler : AuthenticationHandler