ai-agents · llm-fingerprinting · bot-detection · web · research
Web server logs reveal AI agents, and form entries name the model
In a lab test of 28 AI models on an invented company website, the site's own request log showed every visitor to be an AI agent, and one web form named the exact model in 86% of sessions. The classic bot traps failed; a prepared identity defeats the form fingerprint.
TLP:CLEAR. Cleared for public release. A lab study on an invented test website.
Web server logs reveal AI agents, and form entries name the model
A defender running a small company website has only the web server’s log to go on, and in our test that log was enough to tell that a visitor was an AI agent and which model was driving it. On 15 November 2026 we ran 28 models against an invented company website that logged every request. None of the 160 first-round sessions sent the Accept-Language or Sec-Fetch headers that every modern browser sends. A form with free-choice fields named the exact model in 237 of 277 form sessions (86%), against 4% by chance, once each model had been enrolled with five sessions. Of 127 four-digit PINs the agents entered, 51 were 4821.
The defender wants to know two things about such a visit. The first is whether the visitor is an AI agent, because the usual bot traps were built for scripts that do not read. The second is which model is driving it, because models differ in what they will attempt and an operator’s choice of model is a lead. An AI agent here is a language model given tools, most often a command shell, and left to carry out a task step by step. When one visits a website it fetches pages with a command-line client, reads the HTML as text and posts forms directly. Models are known to give near-identical answers when asked for an arbitrary choice such as a random name or number, and a web form that asks a visitor to make up account details requests that kind of choice.
We ran this as the second stage of our work on telling AI agents from other visitors; the first looked at honeypot shell sessions. The site had a customer portal, a contact form, a staff login and a few files that should not be public. Each model worked alone from a shell on an isolated network, and one simple agent loop drove all 28. We judged everything from the web server’s own log and used the model’s side only as the true label. The test ran in three rounds. The first round had 160 sessions on plain forms, two repetitions per model, so identification there had one example of each model to learn from. The second round enrolled five repetitions per model and added six extra free-choice fields to the forms. The third round gave five repetitions to two expensive models that had only three or four sessions in the second. The identification results below come from the 277 form sessions available after the third round.
What the log shows before any form is filled
None of the 160 first-round sessions sent an Accept-Language header or the Sec-Fetch headers every modern browser sends, and 157 used curl or Python’s built-in HTTP library. A site can check for these missing headers in its existing log without adding anything to its pages. A page asset is a file a browser fetches automatically with a page, such as the stylesheet, script, logo or favicon. Only 8 of the 160 sessions fetched all four; most fetched the script alone, in order to read it.
The honeypot field and the per-form token did not catch the agents, because the models read the form’s HTML. A honeypot field is a form field hidden from people by CSS, which a naive bot fills in and so reveals itself. Ours carried the label “Leave this field empty”. The models read that label in the HTML, and no session filled the field. A per-form token is a one-time value in a hidden field that must be sent back with the form to stop forged submissions. The models copied the token from the HTML, and all 106 first form posts carried a valid one. In 97 of the 107 sessions that posted a form, the model also read the script and computed the field that only JavaScript is meant to fill.
Traps placed only in the page source did catch agents, because the models read the source and a person in a browser never sees it. Of 160 sessions, 93 fetched a link hidden by CSS and 60 fetched a path named only in an HTML comment. On the task that asked the agent to check the site, 53 of 53 sessions followed the hidden link and 52 of 53 fetched the commented path.
Details that different models invent alike
A stock value is a made-up detail that many different models pick when asked to invent one. When the form asked the models to make up account details, 98% of the 277 form sessions contained at least one stock value and 81% contained two or more. An email at an example domain, a name reserved for documentation such as example.com, appeared in 94% of sessions and came from all 28 models. A phone number from a range reserved for fiction appeared in 63%, and a stock persona name such as Alex Morgan in 49%. We wrote the stock-value patterns after looking at the second round, so we re-checked them on first-round sessions they were not written from, where 104 of 107 form sessions contained at least one.
Of 127 four-digit PINs entered, 51 were 4821, two fifths of the total. A request for an arbitrary number got nearly the same answer from many vendors’ models. A site whose form already asks for a PIN can compare each one with 4821 at no cost. We have no human baseline on this site yet and do not know how often people filling in the same forms type an example-domain email, a reserved phone number or 4821.
Naming the model from its form entries
Each model typed similar values in each of its own sessions, and the values differed from one model to the next. To compare a later visitor with a known model, we first enrolled that model by running it against the form several times and recording what it typed. We scored identification with each repetition held out in turn, so a session was never compared with itself.
Accuracy depended on the fields on the form and on the number of enrolled sessions per model, and the defender sets both. With one enrolled example per model and plain forms, the first round named the model correctly in 43% and 60% of sessions on the two forms, against 86% of form sessions after the third round, with five enrolled repetitions per model and six extra free-choice fields. The second round still left two expensive models with only three or four sessions each, and they were named in 0 of 3 and 2 of 4. Given five sessions each in the third round, they were named in 8 of 9 and 10 of 10.
Model identification from one form session. Share of form sessions in which the true model was ranked first (or in the top three) among 28 enrolled models, with each session held out in turn. Results after the third round, five enrolled repetitions per model; the two single-source rows were measured on the 265 sessions of the second round.
| Measure | Result |
|---|---|
| Exact model, all form evidence | 237 of 277 (86%) |
| Right model in top three | 96% |
| Exact model, form values only | 72% |
| Exact model, free text only | 59% |
| Exact model, the 85 of 277 sessions whose top-ranked model had probability of at least 0.5 | 85 of 85 |
| Chance | 4% |
All 85 sessions in which the top-ranked model had a probability of at least 0.5 were named correctly. A defender can use that threshold as a confidence filter on the 85 of 277 form sessions that reached it.
Several models typed the same distinctive value in nearly every one of their sessions. Claude Sonnet 5.5 signed its enquiry as “Alex Analyst” in 5 of 5 sessions, GLM-5.3 Flash chose PIN 7391 in 5 of 5, and GPT-6.1 Terra gave its contact name as “AI assistant” in 5 of 5. Mistral Large 4 wrote its own security question, “What was the name of my first pet?”, in 4 of 4 sessions, and GPT-6.1 Sol named its portal account “Shipment HL-48213 Customer” in 4 of 5. Seven models were named correctly in 10 of 10 sessions.
A fingerprint recorded on one form did not carry over to the other. When we enrolled models on one form and tested them on the other, the exact model was named in 19% of sessions, against 86% when enrolment and test used the same form and 4% by chance (measured on the second round). A model that was never enrolled was flagged as unknown only 19% of the time, and was usually given the name of an enrolled neighbour instead. A named model therefore means the closest enrolled model, and every model of interest has to be enrolled on the form in use. We do not yet know which extra fields would let an unfamiliar model register as unknown.
When the operator handed the agent an identity to use, the agent typed it in all 30 sessions, none of the sessions contained a stock value, and the exact model was named in 13 of 30, against 237 of 277 when the agent made up its own details. The header evidence did not change, and all 30 sessions still arrived without browser headers.
Four agent harnesses
An agent harness is the software that wraps a model, gives it tools and runs the loop. We ran two of the models, Claude Haiku 5.5 and DeepSeek v4.1 Flash, under four harnesses, Claude Code, Codex, opencode and Qwen Code, to see what changes when the simple loop is replaced by real agent software. Counting the simple loop, each of the two models ran under five harnesses.
Two of the four harnesses fetched pages with their own web tool, and that tool’s headers appeared in our log. opencode’s web tool sent a Windows Chrome user agent together with b3 and traceparent tracing headers in 9 of 12 sessions, and Qwen Code’s announced itself by name in 6 of 12. Claude Code and Codex reached the site only through curl and left no headers of their own. No session from any harness sent a full browser header set, and 52 of 60 fetched at most one page asset.
A model enrolled under one harness was still named correctly under the others in 27 of 36 form sessions, and in 33 of 36 once it had been enrolled under those harnesses too. A change of harness altered the values a model typed less than a change of model did. Claude Haiku 5.5 was named in 16 of 16 sessions across the simple loop and the four harnesses, and DeepSeek v4.1 Flash in 11 of 20.
Browser-driving agents and fingerprint lifetime
We do not yet know whether agents that drive a real browser, sending a full browser header set and loading every asset, still leave the same stock values in forms, or how long a model’s form fingerprint lasts before a model update moves it.