After Bots — a new book by our founder on classifying AI agents. Now available

Get Your Free Copy
Fraud Prevention

Challenge Engineering Built to Withstand AI-Powered Attacks

Author photo
Min Lin

The challenge layer is only as secure as the infrastructure delivering it. A challenge that can be bypassed because an attacker has reverse-engineered its client-side JavaScript, replayed a session token, or exploited a gap created by a blocked enforcement script is not a challenge, it is a false assurance.

Agentic AI makes this problem categorically worse. Traditional bot operators reverse-engineer client-side code by hand, a slow, expensive process measured in days. An autonomous agent can run deobfuscation attempts systematically, test hypotheses in parallel, and iterate toward a working understanding of the collection logic continuously, at machine speed, without fatigue. The economics of infrastructure attacks have shifted exactly as the economics of credential stuffing shifted. Most vendors' client-side code was not built for the new cost structure.

The scale of the impersonation problem makes this concrete. Across Arkose Labs' customer base, 74% of adversarial sessions spoof browser values and 69% fake macOS environments. Defenses built around device fingerprinting or static signatures alone are structurally insufficient, behavioral and interaction-layer analysis is the prerequisite, not a supplement.

CAPI v4 and Per-Session Encryption

Standard JavaScript obfuscation is the industry default for protecting client-side enforcement code. Automated tools can break it within hours. Against an agentic AI attacker running deobfuscation attempts continuously, it is a delay, not a barrier.

CAPI v4 takes a structurally different approach: rather than just obfuscating JavaScript, it enhances the execution environment with a custom virtual machine and proprietary bytecode. Before an attacker can understand what the code does, they must first reverse-engineer the custom instruction set the VM uses to run it. Standard deobfuscation tools do not apply. When AI-powered analysis tools are directed at CAPI v4, they recognize the obfuscation and surface candidate techniques, but none have successfully extracted meaningful details from the VM architecture or the signal collection logic beneath it. The result substantially increases the time and expertise required in reverse-engineering, and critically, each reverse-engineering attempt is non-transferable to subsequent CAPI versions. The attacker's investment depreciates on Arkose Labs' schedule, not their own.

Per-session AES-256 encryption compounds this. Unique keys are generated per session and immediately ephemeral, what an attacker learns from one session provides nothing useful for the next. Replay attacks are structurally eliminated. The cross-session learning advantage that makes agentic AI campaigns dangerous is directly countered at the infrastructure layer.

Browser Allowlisting: The Prerequisite Everything Else Depends On

Every layer described above assumes the enforcement script actually runs. Privacy-enforcing browsers, Firefox and Microsoft Edge, block third-party scripts by default using allowlists. A vendor whose JavaScript is blocked by these browsers has a silent gap in every deployment: for those users, the challenge does not run, no signal is collected, and any automated system can operate without constraint.

Arkose Labs is included on the Disconnect.me master allowlist used by these browsers, earned, not purchased, by maintaining a data collection policy restricted strictly to fraud and security purposes. Vendors whose data collection practices extend beyond fraud and security purposes cannot earn this allowlist status, not because of a technical shortcoming, but because the business model itself conflicts with the requirements for inclusion.

Network-layer and traffic classification approaches have expanded significantly in the agentic AI security space. This is a meaningful capability, but it has a structural ceiling. Classification at the traffic perimeter only sees what an agent presents to the outside world. The 74% of adversarial sessions that spoof browser values present as legitimate Chrome traffic at the network layer.

The signal that distinguishes them from genuine users is not in the request headers. It is in the behavioral texture of how they interact once they reach the challenge, the timing, the solve patterns, the micro-variations that no spoofed browser value can replicate. A platform with no presence at the interaction layer has no access to that signal. CAPI v4's VM obfuscation and per-session encryption exist precisely to ensure that when Arkose Labs operates at that layer, the signals it collects cannot be reverse-engineered and spoofed in turn.

"Agentic AI gives attackers a systematic, machine-speed capability to probe, reverse-engineer, and bypass security infrastructure. A challenge that can be engineered around is not a challenge. It's a delay." – Min T Lin

The platform is built. The intelligence flywheel is running. Blog 7 brings every thread in this series together, and introduces Arkose Agent Trust Manager, the product that packages all of it.

Continue Reading: The Disrupting Fraud Economics Series

Blog 1: The Economics of Fraud Have Changed. Here's Why.

Blog 2: We Are Not a CAPTCHA — Why the Turing test model is obsolete

Blog 3: What Attackers Taught Us — Proprietary attacker data that shaped MatchKey

Blog 4: Inside MatchKey — Architecture designed to make attacks economically irrational

Blog 5: The Audio Challenge — The only audio challenge that is both accessible and secure

Blog 6: Challenge Engineering Built to Withstand AI-Powered Attacks — The engineering beneath the challenge (this post)

Blog 7 coming soon.