Neste artigo
- Researchers traced stolen prompts to three AI hosting providers
- Some stolen prompts were marked “zero data retention”
- Keep sensitive data out of prompts and check which providers your AI routing service can send them to
Attackers have been reading queries sent indirectly to online AI services. They’ve scoured these queries (also known as “prompts”) for sensitive data, in some cases trying out stolen access keys within hours.
Not everyone works directly with the likes of ChatGPT, Gemini and Claude. Plenty of people use other AI services, including hosting companies that run open-source AI models.
There are also third-party services that accept your prompts and then send them on to the most appropriate AI services. These services, known as routers, give you access to different models. Perhaps you prefer one for designing something for your 3D printer and another for coding. On some marketplaces, the router sends your AI prompt to whichever provider offers the lowest price for the model you want. The advantage to you is that you only have to deal with one company but get access to lots of different AI services.
Many of these hosting providers and routing services will tell you that they don’t retain any of your data. In reality, things are far less secure than you might think. Security company Dragos tested several AI services from July to November, sending them nearly 2 million AI prompts in total.
Those prompts were littered with “canary tokens“—unique URLs and login credentials that wouldn’t be found anywhere else on the internet. If someone visited a URL or tried to use a credential, the researchers could trace it back to the prompt it came from. That’s exactly what happened.
Dragos Chief Research Officer HD Moore found “widespread failures to protect customer data” as prompts given to these routing services cropped up in different places online.
According to the Dragos blog, at least three hosting providers were robbed of their prompts, and none of them knew about it until the security company tipped them off. In the largest breach, attackers stole around 200 access keys for Amazon Web Services (AWS), Amazon’s cloud service. The keys belonged to the researchers, who had tied them to empty AWS accounts.
Dragos highlights three ways that canary tokens get leaked. In the first, attackers compromised the hosting provider that was running the AI service. These tokens were sometimes stolen even when the service provider rejected the prompt that contained them, the researchers added. That meant the attacker was stealing the keys at the initial access point, rather than delving into the internals of the AI service.
Even if a service did its best not to retain prompt data, that’s not much comfort if the prompts are stolen before it can discard them. Moore said:
“…some of the stolen requests were marked as ZDR [zero data retention]. A privacy flag doesn’t help when the attacker is already inside.”
The second technique saw attackers accessing prompts from routing services by advertising AI models at very low prices. That would cause the router to send them customer prompts. The attackers could then just turn on logging and see the prompts as they came through.
The problem here is that while prompts are encrypted in transit, they’re decrypted at every hop in the chain. Those hops are the different routing services, along with the hosting companies that run their services. Every time someone else sees your prompt, it’s another opportunity for it to be compromised.
Sometimes, the AI services that run the models extract secrets from the prompts that they are sent. One Chinese AI lab opened secret URLs from over half of the prompts that the researchers sent to its models. That included roughly two-thirds of requests marked “no data collection” or ZDR.
The lab also opened links from prompts sent to US hosting providers that were reselling its AI services. Someone who picked a US provider specifically to keep their data in the US could still have their prompt sent overseas.
Dragos didn’t name the Chinese lab in its blog post. But an email to customers from AI routing company OpenRouter published on X on November 21 said that unique test URLs sent to Chinese AI model provider MiniMax had been harvested.
On November 24, MiniMax acknowledged its security software had logged and opened URLs from prompts forwarded by OpenRouter and other providers. MiniMax said the software didn’t retain full conversations, and it has since disabled the process for the affected traffic and deleted the logged URLs.
OpenRouter said the research found no sign of a breach of its own systems. It removed 125 endpoints from ZDR eligibility, some as a precaution.
O que pode fazer
What does all this mean to you as an AI user? If you’re talking directly to services like Claude, Gemini and ChatGPT, our usual advice applies. Be careful about what you tell them, especially if you’re pasting in something that contains passwords or personal information.
However, if you’re a company or an AI enthusiast using routing services or resellers for a better deal, or dealing with a hosting provider running an open-weight model, Dragos has some specific advice for you:
- Host your own AI. Running your own AI locally keeps prompts on your own hardware, although a powerful model can require expensive equipment.
- Go directly to the model provider. Going directly to the model provider means fewer companies handle your prompts. Check its privacy policy to see how it handles your data.
- Choose who gets your prompts. If you’re going to use an AI routing service, hand-pick the providers you’ll let it send your prompts to.
- Filter your secrets. Some providers can automatically filter out recognizable credentials, such as access keys, if you turn that setting on.
- Use canary tokens yourself. Putting a unique test link or decoy credential into a prompt can alert you if someone uses it later.
O seu nome, morada e número de telefone podem já estar à venda.
As empresas de intermediação de dados recolhem e vendem os seus dados pessoais a qualquer pessoa disposta a pagar. Malwarebytes Personal Data Remover Ele encontra-os e remove as suas informações, depois fica de olho para garantir que assim se mantêm.




