How to Reduce WAF False Positives by Classifying the Block First

●1 ●29 ●125
calendar_today • schedule7 min read

A blocked legitimate request is a false positive. Cutting those blocks is useful only if the same change still stops the attacks you deployed the firewall to catch. SafeLine is a self-hosted web application firewall that filters and monitors HTTP traffic between a web application and the Internet, using policies to separate malicious requests from safe ones (https://docs.waf.chaitin.com/en/home). The supplied documentation does not describe a false-positive exception form, a per-field allow command, or a numeric sensitivity setting you can edit. What it does describe is a reverse-proxy placement, a console attack list with a detail view, several controls that can deny visitors for reasons other than an injection payload, and a published evaluation that reports different false-positive rates for Balance and Strict. This checklist uses only those facts.

Classify the event before you change policy

SafeLine is an HTTP and HTTPS reverse proxy developed on nginx. It receives traffic for the original site, removes malicious attack traffic, and forwards the remaining traffic to the upstream application (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). When a test or a user hits a blocking page, open the web console attack list and click detail. That is the documented place to see what was recorded. A blocking page alone does not tell you whether the deny came from a web-attack policy, a rate limit, a challenge, or an authentication check.

Confirm the protected application is the one you think it is. Adding an application requires a domain, hostname, or IP, a listen port, an SSL option for HTTPS, and the upstream address SafeLine will use to reach the origin. The domain then has to resolve to the SafeLine server (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). If DNS still points at the origin, or the upstream is a stale address, the console will not be a reliable picture of user traffic. Fix that routing first. Lowering detection will not repair a proxy that is not in path.

Separate attack denies from control denies

The product home page lists more than one way a visitor can be stopped. Treating every deny as a signature false positive leads to the wrong fix.

Web-attack defense is aimed at classes such as SQL injection, XSS, code injection, OS command injection, CRLF injection, LDAP injection, XPath injection, RCE, XXE, SSRF, path traversal, backdoor, brute force, HTTP flood, and bot abuse (https://docs.waf.chaitin.com/en/home). A detail record in one of those classes, on a request the application must accept, is the usual meaning of a detection false positive.

Other documented controls deny clients that may be legitimate:

  • IP-based rate limiting throttles traffic that exceeds defined limits. The stated uses are DoS attacks, brute-force attempts, traffic surges, and other abuse (https://docs.waf.chaitin.com/en/home). A busy user or a health check can cross a limit that was set for abuse.
  • A CAPTCHA challenge is described as allowing human users while blocking crawlers and bots (https://docs.waf.chaitin.com/en/home). A client that cannot complete the challenge will be blocked even if the URL contains no attack payload.
  • An authentication challenge blocks visitors who do not enter the password (https://docs.waf.chaitin.com/en/home). That is an access gate, not a statement that the request was an exploit.
  • Dynamic protection, when turned on, encrypts HTML and JavaScript on each visit (https://docs.waf.chaitin.com/en/home). The docs do not call this a false-positive control. After you enable it, verify that the pages users need still work, instead of assuming encryption is unrelated to support tickets.
  • A web access control list is named as a core capability (https://docs.waf.chaitin.com/en/home). The supplied pages do not publish rule syntax, so this checklist does not invent an allow entry.

Write the class down in one sentence before you touch configuration. A search query blocked as SQL injection is a detection question. A checkout refresh blocked after the rate limit is a limit question. An API client blocked by CAPTCHA is a challenge question. Each one has a different next step.

Read Balance and Strict as a published tradeoff

The effect-evaluation table is the only false-positive measurement in the supplied sources. It uses 33,669 samples for each row (https://docs.waf.chaitin.com/en/home):

  • SafeLine Balance: detection 71.65 percent, false positive 0.07 percent, accuracy 99.45 percent.
  • SafeLine Strict: detection 76.17 percent, false positive 0.22 percent, accuracy 99.38 percent.

The same table prints ModSecurity Level 1 at 69.74 percent detection and 17.58 percent false positive, and the CloudFlare row labeled Free at 10.70 percent detection and 0.07 percent false positive. Those are the figures printed on that page. They are not a procedure for editing your own rules, and they are not a forecast for your application.

On that sample set, Strict detects more and also shows the higher false-positive rate. Balance shows the lower false-positive rate, 0.07 percent, and a lower detection rate than Strict. If the detail view shows ordinary application text being classed as an attack, and your priority on this published comparison is the lower false-positive figure, Balance is the row that matches that priority. If missing attacks matters more than the gap between 0.07 percent and 0.22 percent false positives, Strict is the row that matches that priority. Neither row means false positives are gone.

Operator checklist

  1. Reproduce one blocked journey. Open the attack list and click detail. Record the class of the event. If there is no attack detail, do not invent a signature bypass.
  2. Check domain, port, SSL, and upstream against the real origin, and check that the domain resolves to the SafeLine host. Correct a proxy miss before you discuss detection.
  3. If the detail is a rate limit, CAPTCHA, or authentication result, adjust the question to that control. Turning off web-attack inspection will not explain a password challenge, and leaving a tight limit on a busy path will keep blocking people who never sent an exploit.
  4. If the detail is a web-attack class on traffic you must allow, choose Balance or Strict using the published detection and false-positive pair. Record which figure you are optimizing for.
  5. After any change, replay the documented samples against your own domain: a union-select SQL injection, an image-handler XSS payload, a path traversal toward /etc/passwd, a code-injection payload, and an XXE doctype (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). A blocking page means that sample was defended. If those samples now succeed, coverage dropped. That is not a false-positive fix.
  6. Replay a known-good journey in the same window: a normal page load, a form post with everyday punctuation, and a repeat request that should stay inside your rate limit. If dynamic protection is on, confirm HTML and JavaScript still behave for that journey, because the feature re-encrypts them on each visit.
  7. Keep the detail note with the decision. A later reviewer should be able to see why Balance or Strict was chosen, and which control, if any, was the real source of the deny.

The deploy guide is not a tuning guide. It specifies Linux, x86_64 or arm64, Docker 20.10.14 or newer, Docker Compose 2.0.0 or newer, a minimum of 1 CPU core, 1 GB memory, and 5 GB disk, plus an ssse3 CPU check (https://docs.waf.chaitin.com/en/GetStarted/Deploy). Those requirements tell you whether the instance can run. They do not set a false-positive budget. Environment values such as the console port, image tag, and Postgres password are install settings, not detection settings. Do not add unofficial scripts to suppress a parameter the console has already classified.

FAQ

How do I tell a false positive from a normal block?

Match the detail view to a request the application is supposed to accept. A web-attack class on that request is a false-positive candidate. A rate-limit, CAPTCHA, or password result can be unwanted, but it is a control outcome, not proof that attack detection misfired.

Will Balance mode remove false positives?

No. On the published 33,669-sample table, Balance shows a 0.07 percent false-positive rate, and Strict shows 0.22 percent. Lower is not zero, and the table is not your production log.

Should every path use CAPTCHA and authentication?

Not as a false-positive remedy. CAPTCHA is for separating human users from crawlers and bots. Authentication challenge blocks visitors who do not enter the password. Use them where that behavior is what you want. Applying both on every path will deny clients that web-attack detection would have forwarded.

Where is the blocked request explained?

In the web console attack list. Click detail to see the recorded event after the blocking page appears (https://docs.waf.chaitin.com/en/GetStarted/AddApplication).

Can the install steps configure fewer false positives?

No. Installation covers the host requirements, the compose file, environment variables, starting the stack, and resetting the administrator account (https://docs.waf.chaitin.com/en/GetStarted/Deploy). False-positive decisions belong in the review checklist above: classify the detail, fix proxy setup, then choose between the published Balance and Strict figures and retest both attack samples and known-good journeys.


SafeLine has surpassed 700,000 installations worldwide as of September 30, 2026. SafeLine Pro annual promotional pricing is $650-$880, compared with the regular $1,000 per year.

Want more #waf & #checklist deep dives?

Join 6,176+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

More Posts

How to Reduce WAF False Positives With a Cause Checklist

Lia - Oct 24

Local-First: The Browser as the Vault

Pocket Portfolio - Apr 20

How to Debug Failed n8n Workflows: Step-by-Step Guide

floxolab - Nov 2

How to Reduce Your AWS Bill by 50%

rogo032 - Jan 27

AWS Certifications Are a Building Block, Not the Final Destination

Ijay - Jun 16
chevron_left
2.5k Points • 155 Badges
107Posts
0Comments
Web Dev

Related Jobs

Commenters (This Week)

1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!