← Blog

Law & security

The cheapest AI route can expose your access keys

Ein Ausdruck mit unleserlichen Zugangsdaten liegt neben einem Laptop auf einem Büro-Schreibtisch.

It is nearly midday. An employee pastes text into an AI tool, gets an error message and closes the window. They assume the request is over. But Dragos found that even rejected requests can expose credentials if a provider logs them. Researchers sent around two million requests containing fake credentials to various AI providers and found compromised services. The risk, then, does not sit only with the model. Who can read your request on its way there, and how can you check before customer data or access keys travel with it?

A rejected request was still exposed

An error message on screen is no proof that nothing was stored. In Dragos’ investigation, hundreds of AWS keys were harvested, including keys in requests the provider had already rejected before processing them. The credentials were fake and part of the test. Even so, the findings show what can happen when a service logs requests before turning them down.

It is easy to imagine how this could happen in a business. A support ticket contains an extract from an error log, a developer includes an access key in a request, or someone pastes in a configuration file to get help explaining a fault. An AI request can then contain more than the text you deliberately shared to get an answer. The key question is: who can see that data before the model replies?

Dragos reported at least three compromised providers where attackers were actively stealing user data. None of the providers knew about the problem until the researchers told them. That makes the supply chain part of your security checks, even if your team only uses a well-known AI model.

Other services sit between you and the model

An AI router can seem convenient for your team: one interface, several models, one shared access point. Behind the scenes, however, the service forwards requests to providers that do the actual computing. According to Dragos, every stage can read the full request and response.

In the case examined, services including Novita, AtlasCloud and StreamLake sat between OpenRouter and model provider MiniMax. For the employee pasting text into a chat window, these stages are usually invisible. They still matter when the content is confidential. Each additional party could be a place where data is stored, viewed or stolen.

This is not just an issue for large companies with complex IT estates. A small or medium-sized business might use the same route if a developer tries a low-cost model service or a department chooses a router for several applications. Knowing the model’s name does not tell you the full route your data takes.

The lowest price can open a back door

The cheapest route to an AI model sounds like a sensible purchasing decision. Dragos describes a case where a reseller could read customers’ requests without exploiting a security vulnerability. It only had to offer a model at the lowest price and switch on logging.

That changes how you should think about price comparisons. A low price per token tells you nothing about who runs the service, which intermediaries are involved or how long requests and responses are stored. The service can work as expected while data remains visible at an additional stage.

Stolen keys did not necessarily stop at being read. According to Dragos, attackers tested some keys within hours, searched S3 storage and tried to establish persistent access. An access key in an AI request can therefore have consequences far beyond that single conversation.

Privacy settings need to work in practice

A tick box labelled “Zero Data Retention” sounds clear: requests should not be stored. Dragos reported, however, that these settings were often ignored. Selecting an option is not proof that the data is actually deleted.

Check what the provider specifically promises and which stages that promise covers. Ask whether resellers and technical subcontractors are included, whether requests are logged and how long logs are kept. An answer that names only the model provider leaves the route in between unaccounted for.

After the research findings, OpenRouter removed three providers from its platform and withdrew ZDR approval from 125 endpoints, partly in response to the investigation and partly as a precaution. This shows one possible response to new information. Your business still needs to know whether it will be told when the data route changes.

What this means for your business

You do not have to stop every AI project to make the main risks visible. Start with the tools employees already use to paste in text, files or code. Ask the teams responsible which service they use and whether a router or reseller sits in between.

Then work through these points for each service you use:

  • Document the model provider, router, reseller and any other known parties in the chain.
  • Agree which content can go into requests and which credentials must never be included.
  • Check storage, logging and deletion across the whole data route, not just at the model.
  • Limit API keys to the permissions they need and revoke them if exposure is possible.
  • Use canary tokens: specially created decoy data whose unexpected appearance can indicate access.

Start with a harmless test next Monday

Imagine that on Monday you have a short list on your desk: the AI services in use, the intermediaries involved, and the answers on logging and deletion. Your team can then distinguish which requests are suitable for each service and which content must stay out. This is no guarantee against attacks, but it gives you a concrete basis for decisions.

You do not need real customer data for an initial test. Use a purpose-made decoy value and a harmless request. Then check whether your assumptions about the provider and its storage practices match what actually happens. Dragos reported, for example, that one provider searched a test URL more than two months after a single request.

Switching providers is not automatically the answer if the new service uses the same intermediaries or has unclear logging practices. Ask where your request goes before you enable the next low-cost model. Otherwise, the most important part of the supply chain will remain out of sight.

Frequently asked questions

Can AI providers see my API keys?

Yes, if a key is included in a request and the provider or an intermediary can view or log that request. In its tests, Dragos found hundreds of stolen AWS keys, some in requests the provider had rejected before processing. Do not put credentials in prompts, and limit the permissions attached to API keys.

What does Zero Data Retention mean for AI providers?

Zero Data Retention refers to a setting or promise that requests will not be stored. Dragos reported that these privacy settings were often ignored. Check exactly what the provider promises, whether the promise covers every party in the chain and how you can verify that data is deleted.

Can an AI router read my prompts?

According to Dragos, any service that forwards a request between your business and the model can read the full request and response. A router can connect several providers, adding more parties to the data route. Find out which providers are involved before sending confidential content through a router.

How can I protect credentials when using AI?

Do not paste passwords or API keys into prompts. Limit the permissions attached to keys, check logging and deletion across every provider involved, and revoke a key if it may have been exposed. Dragos also recommends canary tokens, specially created decoy data whose unexpected appearance can indicate access.

Interested?

Want to know what this means for your company?

Leave your details. We will get back to you personally, no sales pressure and no newsletter sign-up.

Sources

  1. Security researchers show how cheap AI inference providers steal keys and snoop on users · the-decoder.com, 2026-11-22
  2. Sicherheitsforscher schicken zwei Millionen KI-Anfragen mit gefälschten Zugangsdaten und decken gravierende Lücken auf · the-decoder.de, 2026-11-22

This article was researched and written with AI assistance and automatically checked against the sources listed before publication. More on our AI transparency

Free guide · PDF

The AI Compass for small and mid-sized businesses

9 jobs your team can hand over by Monday.

Get it free

Klarframe AI Readiness Check

How ready is your company for AI?

About ten minutes, instant result with your stage, a 90-day plan, suitable solutions and notes on the EU AI Act.

Start the check

More articles