the detection model · lesson 2 of 5 · sources checked 2026-11-20
signals, markers, and attribution
This lesson shows how to separate a served block from a sensor, a vendor from a verdict, and a value from information.
status of this lesson: documented in my test systempurpose
A vendor name on a page shows which product is present, not what the product decided. A defender or an operator who reads a vendor signature as a block measures the wrong thing. A wrong count of blocks then gives a wrong fix.
objectives
- Separate a definitive marker from an ambient marker in a response.
- Separate a vendor signature from a verdict, and attribute a vendor only with a vendor-specific signal.
- Explain why a script that reads fingerprint APIs is not proof of detection.
- Read the polarity of a score before you compare two products.
- Explain why a probe that returns a value does not always carry information.
new terms
- vendor signature
- A header, cookie, or string that shows which detection product is present.
- attribution tell
- A string that identifies which vendor is on a page, not what the vendor decided.
- definitive marker
- A string, header, or status that proves that the site served a challenge or a block.
- ambient marker
- A vendor script or cookie that is present on a page with real content and does not show a block.
- render floor
- A generic content assertion (2xx, body of 2,048 bytes or more, a title or 50 DOM nodes) that gives `pass` when no site definition exists.
- success oracle
- The function that decides if one attempt got the real content that the collector asked for.
- fingerprint surface
- All browser APIs that a page script can read to build a fingerprint.
- polarity
- The direction of a risk score: if a high value means human or means threat.
- bot score
- A score that estimates if a visitor is automation.
- attribute
- To identify the vendor that a script or a response belongs to.
- rule period
- A time range in which the meaning of a published number does not change.
- clearance cookie
- A cookie that a passed challenge sets, which the site checks again on later requests.
how it works
A response can show three different things about a detection product: that the product is present, that it reads the browser, and that it decided. Only the third is a verdict.
signature and verdict
A vendor signature is a signal that names a product. An attribution tell is a string that identifies the vendor on a page. Neither one says what the vendor decided. For example, the string lab-sensor-v1 in a page names a sensor, not a decision.
example A page with a full article also sets the vendor cookie lab_vendor_id. The cookie proves that the vendor is present. The article proves that the page served real content.
definitive and ambient markers
A definitive marker proves that the site served a challenge or a block.
An ambient marker shows only that a vendor sensor loaded. A sensor can load on each page, also on a page with real content.
claim of a company Two companies document a definitive marker of a challenge response:
- Cloudflare: a Challenge Page response has the header
cf-mitigatedwith the valuechallenge, for all Challenge Page types Cloudflare, source 1. - Amazon Web Services: for a challenge, AWS WAF sends the header
x-amzn-waf-actionwith the valuechallengeand the status 202. For a CAPTCHA, the value iscaptchaand the status is 405 Amazon Web Services, source 2.
Thus a status 202 or 405 is not always a fault of the client. With such a header, it is a challenge that the site served.
An ambient marker must have a second test. The render floor is that test: it asks if the page has real content. An ambient marker on a page that passes the render floor is not a block.
two rules of the benchmark platform
The benchmark platform, my test system, uses two rules in its success oracle:
- A definitive marker is a block alone. An ambient marker is a block only when the render floor fails.
- A vendor gets a name only from an endpoint pattern or a recognized provider name. A short string alone gives no name. It only confirms a name from a stronger signal.
For example, a short cookie name of three letters can match inside a random URL token. The second rule stops that false name.
a read is not a detection
A page script can read many browser APIs. These APIs are the fingerprint surface. A script reads them for many reasons: layout, analytics, fraud checks, or a fingerprint.
A read of an API that can show an automation artifact is not proof of detection. For example, a script reads navigator.webdriver, and the page then serves its full content. Only a served block proves a verdict. Thus report "what reads the fingerprint surface", not "what detects".
score polarity
The direction of a score is its polarity. It is not standard.
claim of a company Akamai states the direction of its score, and a Google example implies the other direction:
- Akamai: the bot score goes from 0 to 100. A score of 0 is a human, and 100 is a bot Akamai, source 3.
- Google: a Cloud Armor rule can let a request pass when the reCAPTCHA score is higher than a threshold, for example 0.8 Google, source 4.
Thus a high score means a bot in one product and a good visitor in a different product. Read the polarity before you put two scores in one table.
a value is not information
A probe is one check that the benchmark platform runs at one layer for each attempt. A probe that returns the same value on each attempt carries no information about the attempt. For example, a probe that returns ok on each attempt cannot separate two tools. Count only the probes that vary.
the two sides
| automation side | detection side |
|---|---|
| A vendor cookie or a sensor script on a page does not mean a block. Use proof of content to decide success. A sensor still collects its signals on each page where it loads. | A signature table must key on a mitigation signal, not on a header that a content delivery network (CDN) puts on each response. A sensor that loads on each page is not a verdict. |
design decisions
| option | gain | cost | when it is correct |
|---|---|---|---|
| Count each vendor marker as a block | It is simple. | Real pages on protected sites count as blocks. | Never |
| Block on a definitive marker alone, and on an ambient marker only when the render floor fails | Real pages pass, and challenges that the site served fail. | The marker lists change over time and must have a review. | Each oracle that reads a page of a protected site |
| Attribute a vendor from a short string | It finds more vendors. | A short string can match inside a random token. | Never alone |
| Attribute a vendor only from an endpoint pattern or a provider name | Each name has a strong signal. | Some vendors stay unnamed. | Each signature table |
| Report a script that reads an API as a detection | The number is large. | It reports reads, not verdicts. | Never |
diagram
marker classes: the render floor decides only for an ambient or derived marker
A matrix of four observations against two questions: does a script read the browser, and did the site serve a block. Only the rows with a served block show a verdict.
| observation | script reads the browser | site served a block | what it proves |
|---|---|---|---|
| Script reads the webdriver flag, full page | yes | no | A read, not a verdict |
| Vendor cookie, full page | none | no | The vendor is present |
| Challenge header, no content | none | yes | A served challenge |
| Script reads the browser, then block page | yes | yes | A verdict of the site |
code example
The first example classifies four synthetic responses with the marker rule. The second example names a vendor only from a strong signal.
The markers, the vendors, the pages, and the responses are synthetic. No part describes a real product.
Classify the markers of a response as definitive or ambient, and block on an ambient marker only when the render floor fails.
// Synthetic model of a marker check on one response.
// A definitive marker blocks alone. An ambient marker blocks only when
// the render floor fails. No network, no real product, synthetic data only.
type MarkerClass = "definitive" | "ambient";
interface Marker { text: string; cls: MarkerClass }
interface Reply { name: string; status: number; headers: Record<string, string>; body: string; title: string }
const markers: Marker[] = [
{ text: "x-lab-mitigated: challenge", cls: "definitive" },
{ text: "lab-challenge-form", cls: "definitive" },
{ text: "lab-sensor-v1", cls: "ambient" },
{ text: "lab_sensor_cookie", cls: "ambient" },
];
// A simple render floor: a 2xx status, a body of 2,048 bytes or more, and a title.
function renderFloor(r: Reply): boolean {
return r.status >= 200 && r.status < 300 && r.body.length >= 2048 && r.title.length > 0;
}
function found(r: Reply, m: Marker): boolean {
const head = Object.entries(r.headers).map(([k, v]) => `${k}: ${v}`).join("\n");
return head.includes(m.text) || r.body.includes(m.text);
}
function classify(r: Reply): string {
const hits = markers.filter((m) => found(r, m));
const def = hits.filter((m) => m.cls === "definitive");
const amb = hits.filter((m) => m.cls === "ambient");
if (def.length > 0) return `block (definitive: ${def.map((m) => m.text).join(", ")})`;
if (amb.length > 0 && !renderFloor(r)) return `block (ambient, render floor fails)`;
if (amb.length > 0) return `pass (ambient only, render floor passes)`;
return renderFloor(r) ? "pass (no marker)" : "inconclusive (no marker, render floor fails)";
}
const content = "<p>synthetic article text</p>".repeat(100);
const replies: Reply[] = [
{ name: "reply A", status: 200, headers: {}, title: "Item list",
body: `<script src="/lab-sensor-v1"></script>${content}` },
{ name: "reply B", status: 403, headers: { "x-lab-mitigated": "challenge" }, title: "",
body: `<form id="lab-challenge-form"></form>` },
{ name: "reply C", status: 200, headers: {}, title: "",
body: `<script src="/lab-sensor-v1"></script>` },
{ name: "reply D", status: 200, headers: {}, title: "Item list", body: content },
];
for (const r of replies) console.log(`${r.name}: ${classify(r)}`);output
One line for each synthetic response with its result and its reason.
reply A: pass (ambient only, render floor passes)
reply B: block (definitive: x-lab-mitigated: challenge, lab-challenge-form)
reply C: block (ambient, render floor fails)
reply D: pass (no marker)Attribute a script to a vendor only with a vendor-specific signal. A short string alone only confirms a name.
// Synthetic model of vendor attribution for one page.
// Attribution needs a vendor-specific signal: an endpoint pattern or a
// recognized provider name. A short string alone is corroboration only.
// The vendors, the patterns, and the page are synthetic.
interface Rule { vendor: string; endpoints: RegExp[]; providerNames: string[]; shortStrings: string[] }
interface Page { scriptUrls: string[]; providerName: string | null; cookieNames: string[]; urlTokens: string[] }
const rules: Rule[] = [
{ vendor: "vendor A", endpoints: [/^\/va-sensor\/v\d+\/collect$/], providerNames: ["Vendor A Shield"], shortStrings: ["_va"] },
{ vendor: "vendor B", endpoints: [/^\/vb\/check$/], providerNames: ["Vendor B Guard"], shortStrings: ["vbx"] },
];
function attribute(page: Page, rule: Rule): string {
const endpoint = page.scriptUrls.some((u) => rule.endpoints.some((re) => re.test(u)));
const provider = page.providerName !== null && rule.providerNames.includes(page.providerName);
const texts = [...page.cookieNames, ...page.urlTokens];
const short = rule.shortStrings.filter((s) => texts.some((t) => t.includes(s)));
if (endpoint || provider) {
const why = endpoint ? "endpoint pattern" : "provider name";
const extra = short.length > 0 ? `, corroborated by ${short.join(", ")}` : "";
return `${rule.vendor}: attributed (${why}${extra})`;
}
if (short.length > 0) return `${rule.vendor}: not attributed (short string ${short.join(", ")} only)`;
return `${rule.vendor}: no signal`;
}
const pages: Record<string, Page> = {
"page 1": { scriptUrls: ["/va-sensor/v2/collect"], providerName: null, cookieNames: ["_va_id"], urlTokens: [] },
"page 2": { scriptUrls: ["/app"], providerName: null, cookieNames: [], urlTokens: ["q8Zvbx41kT"] },
"page 3": { scriptUrls: ["/app"], providerName: "Vendor B Guard", cookieNames: [], urlTokens: [] },
};
for (const [name, page] of Object.entries(pages)) {
for (const rule of rules) console.log(`${name}, ${attribute(page, rule)}`);
}output
One line for each synthetic page and vendor, with the result and its reason.
page 1, vendor A: attributed (endpoint pattern, corroborated by _va)
page 1, vendor B: no signal
page 2, vendor A: no signal
page 2, vendor B: not attributed (short string vbx only)
page 3, vendor A: no signal
page 3, vendor B: attributed (provider name)I ran the two examples with the Node runtime and the flag --experimental-strip-types.
In the first example, reply A has a sensor and real content, thus it passes. Reply C has the same sensor and no content, thus it is a block. In the second example, the string vbx matches inside a random token on page 2, but it does not give a name alone.
data
The fleet is the set of tools and browsers of the benchmark platform. A definitive attempt is an attempt with a clear pass or block result.
block share of 13 public detector pages under the current rule
status of this figure: measured by me
lines: interval, level 0.95
source: Benchmark platform, data (my test system): block share by detector page, current rule; date 2026-11-03; sample of 30,666; condition: Definitive attempts only. A proxy refusal with status 407 counts as a block here, and such refusals change page 5 the most. The page mix differs for each tool. Page 2 has 45 attempts.
data table
| page | % | interval |
|---|---|---|
| page 1, n 2,830 | 0 | 0 to 0.1 (level 0.95) |
| page 2, n 45 | 2.2 | 0.4 to 11.6 (level 0.95) |
| page 3, n 3,125 | 7.7 | 6.8 to 8.7 (level 0.95) |
| page 4, n 700 | 12.3 | 10.1 to 14.9 (level 0.95) |
| page 5, n 1,949, 67.6% ambiguous | 23.4 | 21.6 to 25.4 (level 0.95) |
| page 6, n 2,815 | 46.4 | 44.6 to 48.3 (level 0.95) |
| page 7, n 2,755 | 69.2 | 67.4 to 70.9 (level 0.95) |
| page 8, n 2,760 | 77 | 75.3 to 78.5 (level 0.95) |
| page 9, n 2,775 | 80.5 | 79 to 82 (level 0.95) |
| page 10, n 2,637 | 82.4 | 80.9 to 83.8 (level 0.95) |
| page 11, n 2,750 | 92 | 90.9 to 93 (level 0.95) |
| page 12, n 2,720 | 92.3 | 91.2 to 93.2 (level 0.95) |
| page 13, n 2,805 | 100 | 99.9 to 100 (level 0.95) |
The same fleet gets no blocks on one page and a block on each attempt on a different page, in the current rule period. Thus a block share shows the rule of the page as much as the fleet.
values seen for each probe in the current rule period
status of this figure: measured by me
source: Benchmark platform, data (my test system): probe values of the current rule period; date 2026-11-03; sample of 34,935; condition: Current rule period only. A constant probe can be a probe that never runs or a probe that does not look. The data cannot tell which.
data table
| probe | values |
|---|---|
| tls probe 1 | 0 |
| tls probe 2 | 1 |
| ip-reputation probe 1 | 1 |
| ip-reputation probe 2 | 1 |
| js-fingerprint probes 1 and 2 | 1 |
| js-fingerprint probe 3 | 1 |
| js-fingerprint probe 4 | 1 |
| js-fingerprint probes 5 to 7 | 1 |
| js-fingerprint probe 8 | 0 |
| behavioral probe 1 | 0 |
| challenge probe 1 | 1 |
| attestation probe 1 | 1 |
| server-coherence probe 1 | 3 |
| server-coherence probes 2 and 3 | 0 |
Only one probe varies. Thus only that probe can separate two attempts. The data cannot separate a probe that never runs from a probe that does not look.
failure modes
| problem | cause | correction |
|---|---|---|
| Each page with the status 200 behind one CDN counts as a challenge. | The signature keys on headers and cookies that the CDN puts on each response. | Key only on a mitigation header and a clearance cookie. |
| Real pages on protected sites fail as challenges. | Ambient markers count as a challenge that the site served. | Block on an ambient marker only when no real content rendered. |
| The classifier names a vendor on sites that do not use it. | A short cookie name matches inside a random URL token. | Name a vendor only from an endpoint pattern or a provider name. |
| A report gives a high count of sites that detect automation. | It counts each read of an API as a detection. | Report what reads the fingerprint surface, not what detects. |
| A probe gives a value on each attempt, but it separates no tools. | The probe returns one constant value. | Count only the probes that vary. |
check questions
A response has the status 200, a vendor sensor script, and a full article. What is the result of the marker rule?
- Block, because a vendor marker is present
- Pass, because the marker is ambient and the render floor passes
- Inconclusive, because the status is 200
answer
b. Pass, because the marker is ambient and the render floor passes
A sensor script is an ambient marker. An ambient marker is a block only when the render floor fails. The full article passes the render floor.
A short cookie name of a vendor matches inside a random URL token. No endpoint pattern and no provider name match. What do you record?
- The vendor is present
- The vendor blocked the page
- No vendor name, because a short string alone only confirms a name
answer
c. No vendor name, because a short string alone only confirms a name
A vendor gets a name only from an endpoint pattern or a recognized provider name. A short string can match inside a random token.
A script on a page reads the webdriver flag of the browser, and the page then serves its full content. Explain why this is not proof of detection.
sample answer
A script reads browser APIs for many reasons, for example layout or analytics. A read shows what the script can see, not what the site decided. Only a served block proves a verdict, and this page served its full content.
Product A gives a score where 100 is a bot. Product B lets a rule pass a request when the score is higher than 0.8. What must you do before you compare the two scores?
- Read the polarity of each score
- Divide the score of product A by 100
- Use the higher score
answer
a. Read the polarity of each score
The polarity is not standard. A high score means a bot in product A and a good visitor in product B.
A probe returns the value ok on each attempt of each tool. Explain what this probe shows about the tools.
sample answer
It shows nothing about the tools. A probe that returns one constant value cannot separate two attempts. Only a probe that varies carries information. Also, the data cannot separate a probe that never runs from a probe that does not look.
exercise
exercise Do this task in your own lab, with synthetic data only. Do not send a request to a site.
The two replies to add, one record in each item:
- Reply E: status 200, no headers, title
Item list, body"lab_sensor_cookie" + content, with the constantcontentof the code. - Reply F: the same as reply E, but with an empty title.
- Save the first code example in an empty folder of your lab.
- Add reply E and reply F to the list
replies, before reply D. - Run the code with Node and the flag
--experimental-strip-types. - Record the result of reply E and reply F.
- Write which test makes the two results different.
sample answer
The answer uses the synthetic replies of the code example.
Reply E gives "pass (ambient only, render floor passes)". Reply F gives "block (ambient, render floor fails)". The two replies have the same ambient marker. Only the render floor makes them different, because reply F has no title. Thus the cookie of a sensor is not a block alone.
sources
- Detect a Challenge Page response, Cloudflare, documentation, read 2026-11-20
- CAPTCHA and Challenge action behavior, Amazon Web Services, documentation, read 2026-11-20
- Handle adversarial bots, Akamai, documentation, read 2026-11-20
- Cloud Armor bot management, Google, documentation, read 2026-11-20
- My model of signatures, marker classes, reads of an API, and the information of a probe, 2026-11 (not public).
- Benchmark platform, design (my test system): the marker rule and the vendor name rule of the success oracle, and the probes, 2026-11 (not public).