From ce1d87701260f61c4b5f47ffadd95cb3671aab40 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 11 Oct 2025 13:14:39 +0000 Subject: [PATCH] fix(default-config): remove the preact challenge from the default config Signed-off-by: Xe Iaso --- data/botPolicies.yaml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/data/botPolicies.yaml b/data/botPolicies.yaml index f62af353..aee60f01 100644 --- a/data/botPolicies.yaml +++ b/data/botPolicies.yaml @@ -212,14 +212,10 @@ thresholds: - weight < 20 action: CHALLENGE challenge: - # https://anubis.techaro.lol/docs/admin/configuration/challenges/preact - # - # This challenge proves the client can run a webapp written with Preact. - # The preact webapp simply loads, calculates the SHA-256 checksum of the - # challenge data, and forwards that to the client. - algorithm: preact - difficulty: 1 - report_as: 1 + # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work + algorithm: fast + difficulty: 2 # two leading zeros, very fast for most clients + report_as: 2 - name: mild-proof-of-work expression: all: @@ -229,8 +225,8 @@ thresholds: challenge: # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work algorithm: fast - difficulty: 2 # two leading zeros, very fast for most clients - report_as: 2 + difficulty: 4 + report_as: 4 # For clients that are browser like and have gained many points from custom rules - name: extreme-suspicion expression: weight >= 30 @@ -238,5 +234,5 @@ thresholds: challenge: # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work algorithm: fast - difficulty: 4 - report_as: 4 + difficulty: 6 + report_as: 6