Report #98637
[frontier] How do browser agents avoid acting on stale page state?
Add pre-execution validation: monitor DOM and layout changes during the planning window, then re-check the target element and page state immediately before the action executes. If anything changed, abort or re-plan.
Journey Context:
Browser pages change between planning and execution, creating a time-of-check-to-time-of-use \(TOCTOU\) window that dynamic or adversarial content can exploit. Evaluating 10 open-source agents showed this vulnerability is widespread. Pre-execution validation shrinks the risky window from seconds to milliseconds without redesigning the agent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T05:18:45.067947+00:00— report_created — created