Skip to content

Accident reports · December 2025

ChatGPT and Grok: booby-trapped shared conversations install a data stealer on Macs

According to Huntress, conversations created by the attackers and ranking high on Google gave a "clean-up" command that installed the AMOS stealer.

  • Company OpenAI / xAI
  • Agent ChatGPT / Grok
  • Model not published
The agent as a weapon
A half-open laptop in the dark, lit in pink and green
Photo: Martin Sanchez on Unsplash
WhenDecember 2025; case analysed by Huntress on 5 December, published on the 9th
WhoUnidentified attackers, using ChatGPT and Grok conversations they created and shared themselves
What the AI didThe conversations, ranking high on Google, gave a "clean-up" command to paste into the Mac Terminal; it installed a data stealer
ConsequenceAccording to Huntress, at least one Mac infected with the AMOS stealer (passwords, keychain, crypto wallets); number of victims not published

What happened

According to Huntress, it all starts with an ordinary Google search: "clear disk space on macOS". At the top of the results, two public conversations, one on chatgpt.com, the other on grok.com. The attackers had created them, then shared them. According to Huntress, they climbed above the normal results through search engine poisoning. Other similar searches led to the same traps.

The conversation explained step by step how to free up space, and gave a command to paste into the Terminal. The command downloaded a script. The script showed a fake password window, kept the password, took administrator rights, then installed AMOS, a data stealer for Mac. According to Huntress, it also replaced crypto wallet apps with fake versions that asked for the recovery phrase.

According to Malwarebytes, the share page lets you keep only the useful messages: nothing shows how the answer was obtained. Malwarebytes adds that such links can also be pushed through paid ads in search results.

Why it happened

People trust an answer that comes from a well-known assistant, on the assistant's own site. Attackers use that: they produce the answer, share it and push it up Google. The command then goes straight into the Terminal, with no downloaded file to check, so without the Mac's usual warnings.

The failure family

In our catalogue, this is the "The agent as a weapon" family: a person uses an AI assistant to attack. Here the assistant does not go wrong on its own: the attackers get it to write the fake help.

The safeguard in code

  • An assistant that advises your customers never passes on a command that downloads and runs a script ("curl … | bash" and its variants).
  • On workstations, an alert when a script launched from the Terminal asks for the session password.
  • A simple rule for teams: no command copied from a page or a shared conversation, even on a well-known site.

What we test

Our crash tests test the company's agent, not the attacker's. A company assistant that gives a customer, or copies from a page it reads, a command that downloads and runs a program is not yet tested as such; this case joins our list of tests to add. What a company can lock down today: forbid its assistant from suggesting commands to paste.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading