feat(tiers): add DuckDuckGo anomaly challenge detection and escalation - #120
Open
nklowns wants to merge 1 commit into
Open
feat(tiers): add DuckDuckGo anomaly challenge detection and escalation#120nklowns wants to merge 1 commit into
nklowns wants to merge 1 commit into
Conversation
- Detect DuckDuckGo anomaly challenge markers (anomaly.js, anomaly-modal) in packages/tiers/src/utils/detect.ts - Distinguish DuckDuckGo challenges from Cloudflare in isCloudflarePage - Escalate Tier 1 requests to browser tiers when anomaly challenge is detected - Detect DuckDuckGo anomaly challenges in proxy directForward to trigger scrape escalation - Add test coverage for detection, negative cases, Cloudflare priority, and proxy handling - Update CHANGELOG.md under Unreleased Fixes germondai#119
Author
Verification & Implementation Notes
|
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 conservative DuckDuckGo anomaly challenge detection (
//duckduckgo.com/anomaly.js,anomaly-modal) to Tier 1 and the MITM proxy, escalating requests to browser tiers rather than misclassifying the challenge page as successful content.Linked issues
Fixes #119
Type of change
Checklist
bun run checkand it passes locallyCHANGELOG.mdunder## [Unreleased]for user-visible changesAGPL notice
By submitting this PR, I confirm my contribution is my own work and I agree to license it under AGPL-3.0.