From 1fb0f12e512e9cbe4d000c99fea788f21ecf2bb1 Mon Sep 17 00:00:00 2001 From: Bjoern Kimminich Date: Mon, 21 Aug 2023 09:23:03 +0200 Subject: [PATCH] Handle "Mass Dispel" challenge as trivial in cheat detection --- lib/antiCheat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/antiCheat.ts b/lib/antiCheat.ts index 59f6c99f116..da7234a4f6f 100644 --- a/lib/antiCheat.ts +++ b/lib/antiCheat.ts @@ -18,7 +18,7 @@ const coupledChallenges = { // TODO prevent also near-identical challenges (e.g. uploadSizeChallenge: ['uploadTypeChallenge', 'xxeFileDisclosureChallenge', 'xxeDosChallenge'], uploadTypeChallenge: ['uploadSizeChallenge', 'xxeFileDisclosureChallenge', 'xxeDosChallenge'] } -const trivialChallenges = ['errorHandlingChallenge', 'privacyPolicyChallenge'] +const trivialChallenges = ['errorHandlingChallenge', 'privacyPolicyChallenge', 'closeNotificationsChallenge'] const solves: Array<{challenge: any, phase: string, timestamp: Date, cheatScore: number}> = [{ challenge: {}, phase: 'server start', timestamp: new Date(), cheatScore: 0 }] // seed with server start timestamp