Skip to content
CSRF Write-up Intermediate

Critical Vulnerability in OpenAI’s ChatGPT Atlas Browser: Taint

A CSRF flaw in ChatGPT Atlas's memory feature allowed an attacker to inject persistent malicious instructions into a user's memory store via a forged request from a malicious page. These tainted memories could later cause ChatGPT to execute hidden commands, such as injecting code, exfiltrating data, or escalating privileges.

Germano Costi Follow

Published on medium.com

Marketed as a “super-assistant” that understands user intent without the need for tab-switching or copy-pasting, Atlas aims to challenge entrenched players like Google Chrome and Microsoft Edge by blending browsing with intelligent automation.

Germano Costi, on medium.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

Root cause

Likely the memory write endpoints lacked anti-CSRF tokens or origin checks, and the browser's persistent login cookies made forged requests appear user-initiated.

Impact

Attackers could execute arbitrary code, exfiltrate data, or seize control of user accounts and systems, with tainted memories surviving logouts and device switches; Atlas's weak phishing defences increased exposure.

What the attacker needed

Victim logged into ChatGPT via Atlas; victim clicks a phishing link; attacker-controlled webpage

The fix

Should be fixed by adding anti-CSRF tokens and origin checks to memory write endpoints, and by sandboxing memories per session.

How it was found

  1. The user logs into ChatGPT via Atlas, storing authentication tokens or cookies.
  2. Attackers distribute phishing lures via email, social media, or compromised sites.
  3. The victim lands on an attacker-controlled page where hidden JavaScript fires a forged POST request to the memory API.
  4. The request embeds malicious instructions into the user's persistent memory store.
  5. On the next legitimate interaction, the tainted memories cause the AI to execute hidden commands.

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.

When you log into a website, your browser holds a kind of pass (a cookie) that proves who you are. A cross-site request forgery (CSRF) trick makes your browser send a request to that website from a different, attacker-controlled page, and the site treats it as if you sent it yourself. Here, that trick let an attacker write instructions into ChatGPT's long-term memory, which the AI would later follow without you knowing.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by Germano Costi

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.