Lightfuzz false positive reduction + crypto submodule improvements#2967
Open
Lightfuzz false positive reduction + crypto submodule improvements#2967
Conversation
…dule - detect_ecb(): passive repeated-block analysis, zero HTTP requests - cbc_bitflip(): active test mutating penultimate block positions, 2 HTTP requests - Fix modify_string() treating position=0 as falsy
… CSRF tokens, remove generic error string - Add get_waf_strings() helper to misc.py with 7 common WAF signatures - Use centralized WAF list in path.py and serial.py instead of hardcoded strings - Blacklist CSRF tokens and ASP.NET session cookies in defaults.yml - Remove overly generic "access denied" from crypto error strings
Contributor
📊 Performance Benchmark Report
📈 Detailed Results (All Benchmarks)
🎯 Performance Summary+ 2 improvements 🚀
! 1 regression ⚠️
21 unchanged ✅🔍 Significant Changes (>10%)
🐍 Python Version 3.11.15 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 3.0 #2967 +/- ##
======================================
+ Coverage 91% 91% +1%
======================================
Files 440 440
Lines 37330 37686 +356
======================================
+ Hits 33809 34138 +329
- Misses 3521 3548 +27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…erification, SQLi WAF detection - Add endpoint stability pre-check to padding oracle and CBC bitflip tests - Verify XSS probe matches appear in the correct HTML context - Suppress SQLi findings when single-quote probe triggers WAF 403 - Blacklist PKCE and Akamai Bot Manager parameters
Prevents false positive deserialization findings against endpoints like GlobalProtect that use non-standard status codes (e.g. 512).
URL events are now DictHostEvent so e.data is a dict, not a string.
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
Systematic reduction of lightfuzz false positives across multiple submodules, plus new crypto detection capabilities.
False Positive Fixes
Serialization (
serial.py)get_waf_strings()helper instead of hardcoded stringsXSS (
xss.py)SQLi (
sqli.py)Crypto (
crypto.py)Path Traversal (
path.py)Excavate (
excavate.py)Global / Config
get_waf_strings()helper tomisc.pywith 7 common WAF signatures, shared across submodulesdefaults.ymlto prevent fuzzing non-meaningful parameterscode_verifier,code_challenge) and Akamai Bot Manager (_abck,bm_sz) parametersNew Features
Crypto submodule
Misc
modify_string()treatingposition=0as falsyget_waf_strings()definition