Skip to content
Race condition Write-up Advanced

Computer-Use and TOCTOU: What You Click Is Not What You Get!

The text describes research reproducing a race condition attack against ChatGPT Operator, where the user interface shows one action but a different action is executed. An attacker could exploit this timing gap to make the agent perform unintended actions.

embracethered.com

Published on embracethered.com

Last year, Jun Kokatsu disclosed an interesting vulnerability with ChatGPT Operator by exploiting a race condition. I was wondering if I could reproduce this attack chain, and this post describes the results of that research.

The author, on embracethered.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could potentially cause the AI agent to perform unintended actions, though the text does not detail the full impact.

What the attacker needed

None stated

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A race condition is when two things happen at almost the same time and the order matters. Here, the screen might show you one thing while the computer actually does another, so an attacker can trick the system into clicking or acting on something you did not intend.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.