Skip to content
Docs›Concepts›Known limitations
Concepts · Known limitations

Known limitations

A perimeter layer narrows your attack surface; it does not replace fixing the code. Everything on this page is out of scope or only partially enforceable — on purpose, and stated plainly.

/ 01section

What a gateway rule cannot fix

A gateway cannot reach inside the legitimate-input space. These classes need code-level fixes; the scan report flags them instead of pretending a WAF rule patches them.

  • Logic-layer flaws: race conditions, TOCTOU, coupon reuse. Every request looks legitimate in isolation; the algorithmic fix belongs in the handler.
  • Application-layer DoS via valid inputs: expensive-but-valid queries that pass every schema constraint. Handler-only.
  • Already-persisted rich-text XSS: reflected and input XSS are perimeter-enforced, but payloads stored in rich-text fields before the rule existed need write-time sanitization in code.
  • Auth-verifier CVEs in the gateway: JWT-library bugs inside the verifier itself. A verifier RCE does not care what your policy says; patch upstream.
  • SSRF beyond the allowlist: domainAllowlist handles the common case; DNS rebinding and decimal-encoded IPs need an egress firewall.
  • Routes the agent could not justify: when evidence is missing, the agent emits reviewRequired instead of a loose rule. Loose protection that looks tight is the worst outcome.
/ 02section

Advisory-only controls

Some schema declarations are deliberately weaker than they look, and the schema says so instead of overclaiming:

  • request.dataAtRest is advisory-only. It compiles to nothing on every target and exists to document posture and drive scan findings.
  • idempotencyKey and serializeBy are edge-level race-window narrowing, not in-handler transactional atomicity.
  • Per-operation GraphQL authorization is override-only everywhere. It requires an operator-supplied GraphQL processor.

The xsecurity report --coverage output names these limits per target rather than rounding up.

/ 03section

Rules are attrition, not a boundary

Denylist-based injection guards are bypassable by a motivated attacker: alternate encodings, parser differentials between the gateway and your framework. Treat them as raising the cost of an attack, not eliminating the risk. The durable fix is parameterized queries and context-aware output encoding in the handler.

/ 04section

Watch-window blind spots

On the hosted deployer, promoting a rule arms a 60-second watch window that samples error rate and p99 latency against the trailing five-minute baseline. Two failure modes it can miss: a wrong rule on a low-traffic route may see too few requests inside the window to trip a threshold, and a slow-burn regression that stays under threshold for 60 seconds survives the window. Review shadow logs before promoting. The window is a backstop, not a review.

Scope
Log-first deploys are native only where the backend supports a log/count action: Cloudflare, AWS WAFv2, and OpenAppSec. Coraza and BunkerWeb run detection-only via the engine switch; Kong and Envoy artifacts have no shadow mode today.

Related reading: the gateway import guide for per-target capability limits, and shadow mode for the full rollback contract.