Dev.to Security 🔐 Cybersecurity 👁 2 📖 4 min read

Designing Anti-AI-Agent Exam Integrity for Closed-Book AI Judgment Assessments

I built and run AIDAN, an independent AI judgment practice and assessment service by Trappist currently in public beta. At work, people should use AI—yet our official exam is closed-book because what the official exam ch

I built and run AIDAN, an independent AI judgment practice and assessment service by Trappist currently in public beta. At work, people should use AI—yet our official exam is closed-book because what the official exam checks is human judgment: noticing when an AI is wrong and choosing the right tool and settings. Handing that judgment to an AI during the test leaves nothing to measure. For clarity, AIDAN is an independent service; it is not a national, government-recognised, or accredited qualification, and it is not affiliated with OpenAI, Anthropic, Google, Kukkiwon, or Korea's KICE.

Threat-Model Honesty: Block, Expose, People Decide

Remote assessment engineering starts with threat-model honesty: no software alone can stop 100% of people who hold up a second phone, photograph the screen, and ask an AI about it. Pretending client-side controls are unbreakable produces either brittle security theater or false accusations when noisy heuristics misfire. Instead, our integrity architecture splits into three layers: 1. Block trivial extraction and compromised environments, 2. Expose automated agents and overlays through traps and telemetry, and 3. People decide through weighted scoring and human review.

Layer 1: Blocking Extraction and Locking the Runtime

At the API boundary, the server serves one question at a time; there is no way to download the whole exam, answers never leave the server, and grading happens on the server. Across 1,984 explained questions grounded in official vendor documentation—covering 15 practical tracks from Sprout Belt AI First Steps and White Belt AI Basics through Black Belt Building AI Agents, plus 8 specialties such as AI Security, AI Law & Policy, and AI Cloud Operations—at least 25% of each track's questions are replaced on the 1st of each month (with AI First Steps and 5 new role tracks joining on 1 December 2026), and official exams draw from reserved questions that never appear in free practice.

To defeat DOM-scraping agents, text on screen is drawn with a per-candidate, per-question font cipher generated fresh for each candidate and each question. Because the page code holds only meaningless symbols, copying, browser translation, and AI agents that read on-screen DOM text cannot read the question.

Client runtime enforcement adapts by surface:

  • Mobile app checks and attestation: Official mobile exams open only in the AIDAN app. USB or wireless debugging, developer options, screen recording/sharing/mirroring, external displays, root or jailbreak, emulators, and automation accessibility services all block exam start, and turning one on mid-exam ends it at once. The server verifies the app binary itself with Apple App Attest and Google Play Integrity.
  • Desktop browser lock: Official exams can also run in secure mode in a desktop web browser (labelled "Desktop" on the certificate), where copy, print, and shortcuts are blocked, full screen is forced, and the page cannot be embedded in other sites.

Layer 2: Exposing Agents, Side Panels, and Leaks

When an agent or overlay attempts to bypass blocking, Layer 2 converts circumvention into structured evidence:

  • Invisible decoys: The page code and accessibility tree contain decoy questions and trap buttons that people cannot see. An agent that answers by reading the code instead of the screen picks the decoy's answer or triggers the trap button, and that choice is recorded.
  • Automation and side-panel detection: Client telemetry flags automated browsers (webdriver), synthetic input events, AI agent browsers, attached DevTools protocol, a narrower viewport when an AI side panel opens, click patterns that always hit the exact center, mechanical touch patterns (constant pressure and contact size), taps shorter than a finger can press, app focus loss (shade, overlay, split screen), desk-knock check failures or unanswered requests, and iOS estimates for suspected VPN or Wi-Fi radio on.
  • Timing and watermarks: The server clock records answers given faster than the minimum time needed to read the question alongside stretches where the connection signal dropped, while a candidate-identifying screen watermark allows a leaked photo to be traced to its source.

Layer 3: Signal Weights and Human Review

Because heuristics differ in false-positive risk, we publish the exact signal weights and per-exam maximum counts:

Signal Weight Max Count
Hidden trap button clicked (definitive) 40 1
Device check failed (ADB, screen sharing, root...) (definitive) 40 1
App device checks stopped (definitive) 40 1
Automated browser (webdriver) (definitive) 40 1
Synthetic input event (definitive) 40 1
AI agent browser (definitive) 40 1
DevTools protocol attached 30 1
Desk-knock check failed 20 2
Desk-knock request not answered 20 2
Suspected VPN (iOS estimate) 10 1
Mechanical touch pattern (constant pressure and contact size) 8 3
Taps shorter than a finger can press 6 3
App lost focus (shade, overlay, split screen) 6 5
Wi-Fi radio on (iOS estimate) 4 1
Picked a fake-label answer (can happen by chance; no weight alone) 0 4

Weighting encodes engineering trade-offs. Triggering a hidden trap button or failing a device check carries weight 40 as definitive evidence, whereas picking a fake-label answer carries weight 0 alone (max count 4) because a human guessing can pick it by chance. Noisy environmental cues like iOS radio estimates or app focus loss stay low and capped.

Records add up to an integrity score: a low score is confirmed as is, a middle score goes to human review, and a high score or definitive evidence ends the exam immediately, with the result confirmed after human review. Daily practice (10 questions per track without sign-up), a 30-question free level check, unlimited mock exams in the AIDAN app, and course book PDFs for all 15 tracks in 4 languages (Korean, English, Japanese, Simplified Chinese) are free; official exams cost ₩5,000 per attempt (same price for every track, unused tickets never expire, retakes charged separately) and add real-name registration, camera proctoring in the app, and final human review before issuing a verifiable PDF pass certificate. Automated judgment alone never revokes a pass certificate, and candidates can appeal—see the published integrity breakdown on AIDAN.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.