Skip to content

Commit

Permalink
Handle "Mass Dispel" challenge as trivial in cheat detection
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Aug 21, 2023
1 parent 7ff4e9a commit 1fb0f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/antiCheat.ts
Expand Up @@ -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

Expand Down

0 comments on commit 1fb0f12

Please sign in to comment.