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
bug(waf-detect): x-cdn: Imperva is not recognised as Imperva #604
detectWafFromHeaders (packages/waf-detect/src/providers.ts) identifies Imperva by x-cdn only when the value matches /incapsula/i. Imperva now sends x-cdn: Imperva (seen on www.imperva.com on 2026-10-09, together with x-iinfo). Today detection still works on that site because x-iinfo is present, but a response that carries x-cdn: Imperva without x-iinfo is not identified, and when both are present the x-cdn header is missing from the indicators.
This matters wherever the WAF provider is named: refused-fetch reporting (which bot protection blocked the crawl) and challenge-page detection.
Expected
x-cdn: Imperva identifies Imperva, the same as x-cdn: Incapsula.
Landed in 8312d0b (#643): all five criteria verified against the diff (x-cdn: Imperva alone, Incapsula still detected, both indicators with x-iinfo, Fastly negative, regression tests in apps/cli/tests/utils/waf.test.ts); main CI green.
Activity
fix(waf-detect): recognise x-cdn: Imperva as Imperva (#604) (#643)
nc9 commentedon Oct 11, 2026
Landed in 8312d0b (#643): all five criteria verified against the diff (x-cdn: Imperva alone, Incapsula still detected, both indicators with x-iinfo, Fastly negative, regression tests in apps/cli/tests/utils/waf.test.ts); main CI green.