Add Shopee Singapore benchmark target - #7
Open
nyx-rattapoom wants to merge 3 commits into
Open
Conversation
nyx-rattapoom
force-pushed
the
feature/add-shopee-sg-target
branch
from
June 23, 2026 19:57
fdfd177 to
3f226d2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Shopee Singapore (
shopee.sg) as a new bypass benchmark target. Shopee uses a traffic-verification redirect for detected bots; this target verifies the engine lands on the real storefront instead of the verification page.Key Changes
utils/targets/check_bypass/shopee.pycheck_shopee_bypass()readswindow.location.hrefvia the engine and fails closed (returnsFalse) if the URL is missing, non-string, or contains theverify/traffic/errormarker.config/benchmark_targets.pyshopee_sginBypassTargetsSettings.targets.check_shopee_bypassinto thecheckersdict.Detection Logic
Bot traffic is redirected to a URL containing
verify/traffic/error. Absence of that marker after navigation indicates a successful bypass.Testing
python -m py_compile config/benchmark_targets.pypasses.main; conflicts with the akamai/kasada/perimeterx/reddit targets resolved (both sets retained).