Report #102361
[frontier] Screenshot agents act on stale screen state, causing wrong clicks after UI changes
Implement Pre-execution UI State Verification \(PUSV\): re-verify the click region with masked SSIM and global screenshot diff immediately before dispatching each action.
Journey Context:
GUI agents have a mean observation-to-action gap of 6.51 seconds on real OSWorld workloads. During that window a notification overlay, window-focus change, or DOM injection can swap the element under the intended coordinates—a classic Time-Of-Check, Time-Of-Use \(TOCTOU\) race. Existing defenses assume the screenshot is trustworthy at decision time. PUSV adds a lightweight three-layer check right before action dispatch: masked pixel SSIM at the click target, a global screenshot diff, and an X Window snapshot diff. It intercepts 100% of the tested overlay and focus-manipulation attacks with <0.1s overhead. The catch: zero-visual-footprint DOM injection still bypasses pure screenshot checks, so PUSV must be paired with OS-level or DOM-level signals for full coverage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:25:04.344176+00:00— report_created — created