Agent detection lab
Point real agents at a test bank, capture everything, and measure detection at a fixed false-positive rate on real humans. The labelled dataset is the most valuable output.
Rules of engagement. Target only a test bank you own or have written authorisation to test. Running agents against live bank journeys without it breaches terms of service and risks the Computer Misuse Act. Synthetic identities and test payees only. Voice tests only with voices whose owners consented in writing. Human participants give informed consent; telemetry is pseudonymised.
What the lab must answer
- Per agent and journey: what TPR do today’s control types achieve at a fixed FPR on real humans?
- Which signals carry detection, and how fast? Measure the event index at which each signal fires.
- How far does detection degrade under stealth? This is the red-team arm.
- Can we tell declared from undeclared, and the customer’s own agent (C) from fraud automation (E)?
These answers replace the [A] inputs for P(success) in the risk model for E2, H and G.
Test matrix
| Agent | Deployment | Declares? | Login | Payee add (CoP mismatch) | Payment (SCA + scam warning) | IVR auth |
|---|---|---|---|---|---|---|
| Hosted agent (e.g. ChatGPT agent) | Cloud browser | Web Bot Auth [U: confirm current behaviour] | ✓ | ✓ | ✓ | — |
| Computer-use API, own harness | Hosted VM, screenshot loop | Run signed and unsigned | ✓ | ✓ | ✓ | — |
| Local browser agent (e.g. Comet) | User’s real browser | No [U] | ✓ | ✓ | ✓ | — |
| Browser Use (open source, CDP) | Local or cloud | No; stealth variant | ✓ | ✓ | ✓ | — |
| Voice agent (LLM + TTS over SIP, 3 engines) | Telephony | No | — | — | — | ✓ |
| Android accessibility agent (open source) [U] | On device | No | ✓ app | ✓ app | ✓ app | — |
If you must hold to five agents, drop the local browser agent before the Android one: H outranks C on the model.
Arms per cell
- Default: the agent as shipped.
- Stealth: humanised pointer paths, randomised timing, residential proxy, real Chrome profile,
navigator.webdrivermasked. - Human control: 20 participants × 3 journeys × 3 repeats = 180 sessions. At least 5 use assistive tech or password-manager autofill: the false-positive population that matters.
- Volume: 30 runs per agent × journey × arm: about 900 digital sessions plus 180 voice calls.
Statistical honesty. With 180 human sessions, zero false positives bounds FPR below about 1.7% at 95% confidence (rule of three). A lab can rank signals. It can’t certify a 0.1% production FPR. That needs the bank’s own traffic scored in shadow mode.
Signals to capture
| Layer | Signals | Collector |
|---|---|---|
| Network/edge | JA4/JA4H, HTTP/2 SETTINGS, ASN type, IP reputation, Signature-Agent / Signature-Input / Signature and verification result, TAP tags | Reverse proxy (nginx or Envoy) with a Web Bot Auth verifier and full header logging |
| Browser runtime | navigator.webdriver, CDP and Runtime.enable leaks, headless markers, viewport consistency, WebGL/canvas entropy, extensions | Open-source JS probe |
| Behaviour | Pointer events per action, path curvature, overshoot, click offset, inter-action latency, keystroke variance, paste, focus/blur, scroll-before-act, dwell on CoP and scam-warning screens | 60 Hz JS event recorder; session replay as event logs, not video |
| Journey | Path, deep links, time per step, edits after CoP mismatch, scam-warning handling | Server-side journey log |
| Mobile | Accessibility services, MotionEvent tool type, pressure and size variance, input device id, overlays, screen capture, Play Integrity | Instrumented test app plus a free RASP baseline |
| Voice | Audio (consented), latency, barge-in, turn-taking, prosody, ANI, carrier and origination type | SIP gateway recording plus CDRs |
One labelled dataset: agent, arm, journey, run id, ground truth.
Detectors to test
| Tool | Role |
|---|---|
| Own baseline: about 20 hand-built features plus gradient boosting | Floor and explainability; what a bank can do with no vendor |
| One edge bot manager on trial, with Web Bot Auth verification | What the industry buys today |
| One behavioural biometrics vendor on trial | Does fraud tooling see agents bot tools miss? |
| RASP (free baseline plus the bank’s own) | Mobile input provenance; the RAT / benign-agent collision |
| Voice: open anti-spoofing baseline (AASIST-class on ASVspoof) plus one commercial engine | P(success) for class G across three TTS engines |
Vendors run blind: traffic, no labels.
Metrics
- Per cell: TPR at 1% and 5% FPR on the human arm; ROC-AUC; median event index at first detection; default vs stealth degradation.
- Per signal: information gain and robustness under stealth.
- Declared vs undeclared: how often an unsigned agent scores as human, and a signed one as a bot.
- C vs E separability: expect not separable from behaviour alone. That’s the case for a front door.
Timeline
| Week | Work |
|---|---|
| 1 | Stand up mock bank web, test app, SIP line, proxy with verifier, JS probe, recorder. Recruit the panel. |
| 2 | Default arm for all agents plus the human arm. Baseline classifier. |
| 3 | Stealth arm. Vendor blind runs. |
| 4 | Analysis, model update, readout. |
About one engineer and one analyst for four weeks plus trial lead times. Cash cost is agent subscriptions, telephony and TTS credits: low thousands of pounds [A].
Risks
- Agents change weekly. Pin versions and dates for every run; expect results to age within a quarter.
- A mock bank isn’t the real journey. Results transfer only if the target mirrors its friction points: CoP, scam warnings, SCA.
- Vendors may refuse blind testing. Note who does.