Add waf_bypass module for WAF bypass detection #2994
Merged
Merged
Conversation
Detects WAF bypasses by finding direct IP access to WAF-protected content. Compares response similarity between CDN-proxied and direct-IP requests using simhash. Uses blasthttp resolve_ip for DNS pinning to target IPs.
Contributor
🚀 Performance Benchmark Report
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2994 +/- ##
======================================
- Coverage 90% 90% -0%
======================================
Files 451 453 +2
Lines 45577 45814 +237
======================================
+ Hits 40766 40962 +196
- Misses 4811 4852 +41 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…handling - Match fingerprints by hostname equality instead of substring (F1) - Add ge/le constraints to neighbor_cidr Field (F2) - Round similarity to nearest percent before aggregation keying (F3) - Unify status code filtering across both get_url_content branches (F5)
Pydantic model (ge=24, le=31) already enforces range.
ausmaster
approved these changes
Jun 16, 2026
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 a new
waf_bypassmodule that detects when WAF-protected web content is directly accessible by IP, bypassing the CDN/WAF layer. Requires #2992 (blasthttp integration).How it works
cdn-cloudflare,cdn-imperva, etc.) on URL eventsresolve_ipto pin DNS to the candidate IP, bypassing the CDNFeatures
resolve_ipfor DNS pinning — no curl subprocess neededConfig options
similarity_threshold— minimum simhash similarity to report a bypass (default: 0.9)search_ip_neighbors— enable IP neighbor scanning (default: true)neighbor_cidr— CIDR prefix length for neighbor scanning (default: 24)Preset
Includes
waf-bypass.ymlpreset for easy activation.