You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(waf-detect): the /imperva/i content pattern attributes any page that mentions Imperva to Imperva #667
Summary. The waf-detect content pattern /imperva/i (packages/rules/src/waf-detect/providers.ts, around line 91) labels any page that mentions the word "Imperva" as an Imperva/Incapsula firewall, with high confidence. A blog post or a docs page about Imperva is enough.
Impact. A false WAF attribution appears in findings and can drop or reclassify pages. Related to the header-based detection in #604 and #646, which are about headers, not body text.
Acceptance Criteria
A page that only mentions "Imperva" in its body text is not attributed to Imperva.
A page with a real Imperva/Incapsula block or challenge signature (headers, cookies or the interstitial markup) is still detected.
Body-text patterns for other providers are checked for the same problem, and any that match plain mentions are tightened or listed as follow-ups.
Tests cover a mention-only page and a real block page.
Fixed in # and merged to main. Every acceptance criterion is met per the PR description, with before and after evidence from the CLI on local fixtures, tests that fail on the old code, and review comments triaged. Criteria ticked.
Activity
fix(waf-detect): read challenge scripts in 10 KB for agent probes, ac…
fix(waf-detect): tolerate any challenge-platform h/ segment, pin the …
fix(waf-detect): end the DataDome and PerimeterX host patterns at a w…
fix(waf-detect): match DataDome and PerimeterX hosts where a script l…
fix(waf-detect): JSD pages are not challenges, a provider's name is n…
nc9 commentedon Oct 12, 2026
Fixed in # and merged to main. Every acceptance criterion is met per the PR description, with before and after evidence from the CLI on local fixtures, tests that fail on the old code, and review comments triaged. Criteria ticked.