Bot scores (2)
Last updated Aug 26, 2026 A bot score is a score from 1 to 99 that indicates how likely that request came from a bot.
For example, a score of 1 means Cloudflare is quite certain the request was automated, while a score of 99 means Cloudflare is quite certain the request came from a human.
You can use bot scores in WAF custom rules to block, challenge, or allow requests based on their score. Bot scores are also available in Workers to customize application behavior. For more details, refer to Bot Management variables.
Note
Granular bot scores are only available to Enterprise customers who have purchased Bot Management. All other customers can only access this information through bot groupings in Bot Analytics.
Bot groupings
Customers with a Pro plan or higher can automatically see bot traffic divided into groups by going to Security > Bots.
| Category | Range |
|---|---|
| Not computed | Bot scores of 0. |
| Automated | Bot scores of 1. |
| Likely automated | Bot scores of 2 through 29. |
| Likely human | Bot scores of 30 through 99. |
| Verified bot | Non-malicious automated traffic (used to power search engines and other applications). |
Note
Bot scores are not computed for requests to paths that are handled by Cloudflare and will never be blocked or forwarded to the origin. Note that some features that are enabled before Bot Management, such as Redirect Rules, may result in requests not being scored.
How Cloudflare generates bot scores
The following detection engines only apply to Enterprise Bot Management. For specific details about the engines included in your plan, refer to Plans.
Heuristics
Catches automated traffic through pattern matching against a database of known malicious fingerprints.
The Heuristics engine processes all requests. Cloudflare conducts a number of heuristic checks to identify automated traffic, and requests are matched against a growing database of malicious fingerprints.
The Heuristics engine gives automated requests a score of 1 for high-confidence, deterministic detections. Occasionally, heuristics will set a score of 29 in cases where Cloudflare has identified automated traffic and is still assessing traffic overlap.
Machine learning
Catches sophisticated bots by analyzing request features across billions of daily requests. Produces most scores between 2 and 99.
Adaptive Intelligence is Cloudflare's machine learning engine, and it accounts for the majority of all bot detections. It distinguishes between human and automated traffic using large volumes of anonymized data from across Cloudflare's global network, which proxies billions of requests daily.
The engine uses supervised machine learning to determine the final bot score (1–99):
- Input variables (X): Request features, including headers, session characteristics, and browser signals, collected from traffic across the Cloudflare network.
- Output variable (Y): The predicted probability that a client is human, mapped to the final 1–99 bot score.
You can analyze the request features this model uses in your own logs, through Logpull or Logpush.
Earlier models shipped as fixed versions, months or years apart. Adaptive Intelligence retrains more frequently, so it responds to new attack patterns as they emerge instead of on a fixed schedule.
Model updates do not change your WAF rules, challenge flows, or Bot Management configuration. However, bot scores can shift as the model learns, so periodically review rules that use bot score to confirm they still work as intended.
Anomaly detection
Detects outlier requests by comparing traffic against a learned baseline for your specific site.
Deprecation notice
Cloudflare is deprecating the Anomaly Detection engine and is not onboarding new customers. Future behavioral detections will cover the same detection areas.
The Anomaly Detection (AD) engine is an optional detection engine that uses a form of unsupervised learning. Cloudflare records a baseline of your domain's traffic and uses the baseline to intelligently detect outlier requests. This approach is user agent-agnostic and can be turned on or off by your account team.
Cloudflare does not recommend AD for domains that use Cloudflare for SaaS or expect large amounts of API traffic. The AD engine immediately gives automated requests a score of one.
JavaScript detections
Catches headless browsers (browsers controlled by software, with no visible window or human operator) and other automation tools.
The JavaScript Detections (JSD) engine identifies headless browsers and other malicious fingerprints. This engine performs a lightweight, invisible JavaScript injection on the client side of any request while honoring our strict privacy standards ↗︎. We do not collect any personally identifiable information during the process. The JSD engine either blocks, challenges, or passes requests to other engines.
JSD is enabled by default but completely optional. To adjust your settings, open the Bot Management Configuration page from Security > Bots.
Cloudflare service
Cloudflare Service is a special bot score source for Enterprise Zero Trust to avoid false positives.
Not computed
A bot score of 0 means Bot Management did not evaluate the request. This applies to internal Cloudflare service requests and requests that were redirected or handled by another feature (such as Redirect Rules) before Bot Management could run. A score of 0 does not indicate the request is safe or human.
Notes on detection
Cloudflare uses the __cf_bm cookie to smooth out the bot score and reduce false positives for actual user sessions.
The Bot Management cookie measures a single user's request pattern and applies it to the machine learning data to generate a reliable bot score for all of that user's requests.
For more details, refer to Cloudflare Cookies.
Note
Requests with a missing or empty User-Agent header are immediately assigned a bot score of 1 by the Heuristics engine. This is expected behavior and a common false-positive trigger for traffic from Zero Trust (WARP) or corporate proxy environments that suppress or strip the User-Agent header.
If you are seeing unexpected score-1 traffic from known corporate users, check whether a proxy is removing the header. You can use the cf.bot_management.corporate_proxy field or an IP allowlist to exempt that traffic from bot-based actions.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/bots/concepts/bot-score/#page","headline":"Bot scores","description":"Scores from 1 to 99 indicating the likelihood a request came from a bot.","url":"https://developers.cloudflare.com/bots/concepts/bot-score/","inLanguage":"en","image":"https://developers.cloudflare.com/bots/concepts/bot-score/og.png?v=9d963a4a1c972135","dateModified":"2026-08-26","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Scan uploaded files for malware and malicious content. title: Malicious uploads detection image: https://developers.cloudflare.com/waf/detections/malicious-uploads/og.png?v=4271ad4c8fa8ab1f
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/waf/llms.txt
Use this file to discover all available pages before exploring further.
Docs