advertisement
AI Prompts Expose Security Risks Across Hosting Providers
A five-month investigation by cybersecurity researcher HD Moore has raised questions about the privacy and security of widely used artificial intelligence (AI) services, after revealing that sensitive information submitted through AI prompts was accessed by attackers, individual service providers and undisclosed third parties.
The research, conducted between July and November 2026, involved sending approximately two million prompts to AI services. Each prompt contained a unique, artificial secret, including cloud access keys, passwords and web links. The secrets were designed to identify whether anyone other than the intended AI service accessed the information.
Moore, the creator of the Metasploit penetration testing framework and Chief Research Officer at US-based cybersecurity company Dragos, found that several of the planted credentials had been accessed and used. Some continued to trigger activity months after they were initially submitted.
advertisement
The findings, published on November 19, point to security weaknesses across AI hosting infrastructure, model marketplaces and services that route user requests between different AI providers.
At least three AI hosting providers had experienced security breaches without knowing their systems had been compromised, according to the investigation. In some cases, attackers accessed prompts before they reached the AI models, suggesting that sensitive information could be intercepted at the infrastructure level.
One of the most significant incidents involved approximately 200 artificial AWS credentials planted in prompts over several short periods in late October. All the credentials were subsequently stolen, with some tested within hours of submission.
advertisement
The attackers used the credentials to make tens of thousands of requests to Amazon Web Services (AWS). Their activity included searching storage buckets and secret repositories for additional information and attempting to create new user accounts to maintain access.
Dragos also found that some intercepted prompts had been rejected by the hosting providers before reaching an AI model. This indicated that the attackers were potentially monitoring traffic at the providers’ entry points rather than accessing information through the AI applications themselves.
In two of the identified breaches, attackers also captured requests submitted under Zero Data Retention (ZDR), a privacy setting intended to prevent providers from storing user prompts and responses.
advertisement
AI marketplaces introduce additional exposure
Beyond direct security breaches, the investigation identified risks associated with the growing ecosystem of AI routers and inference marketplaces.
Many organisations and developers do not connect directly to AI model providers. Instead, they use intermediary services that route requests to different models based on availability, performance and cost.
These services can introduce multiple intermediaries into a single AI interaction. Each intermediary handling a request may have visibility into the full prompt and the model’s response, creating additional points where sensitive information can be accessed or retained.
Moore’s investigation examined approximately 2,000 routing paths and identified undisclosed intermediaries that were not necessarily visible to customers.
Some sellers on open inference marketplaces were offering access to popular AI models at lower prices while logging incoming requests. The investigation found that certain individuals operating these services appeared to be using the information they collected.
In one incident, two prompts routed through the same marketplace seller had their planted links opened approximately 36 hours after submission. The links were accessed through a desktop browser connected to a residential internet connection, followed by attempts to guess usernames on the associated login pages.
Another incident involved a person using a Mac computer on a residential connection in France. The individual retrieved passwords embedded in two prompts and manually attempted to use them to access root accounts.
Prompts for the same AI model routed through a different marketplace seller were not accessed, suggesting that the exposure was linked to specific intermediaries rather than the model itself.
The research also uncovered a routing service that was quietly forwarding some of its traffic to an open inference marketplace without clearly disclosing the additional intermediary. The provider subsequently informed Dragos that it had stopped the practice.
Zero Data Retention does not guarantee privacy
The findings also challenge assumptions about the effectiveness of privacy controls offered by AI hosting providers.
Zero Data Retention is intended to ensure that prompts and responses are not stored after processing. However, Dragos found evidence that some providers and their upstream partners continued accessing information submitted under this setting.
One unnamed Chinese AI laboratory was found to have opened secret links embedded in more than half of the prompts sent to its models between July and October. The activity also affected approximately two-thirds of requests carrying Zero Data Retention or no-data-collection settings.
In most cases, the links were accessed two to three days after the original prompts were submitted.
Similar activity was observed when the laboratory’s models were accessed through several US-based hosting companies that resell its services. This raised questions about whether organisations selecting US-based providers to keep their data within the country were actually achieving that objective.
The investigation also identified questionable data-handling practices at larger US providers. One provider continued accessing a planted link more than two months after it had been included in a single request to its search service.
One particularly unusual incident involved a prompt submitted through a US-based provider with Zero Data Retention enabled. Twenty-four days later, the secret link contained in the prompt appeared in a Feishu company chat, a workplace collaboration platform also known as Lark outside China.
Within two minutes of being posted, the link had been accessed from three desktop computers and three mobile phones in Beijing and Shanghai.
The incident suggested that someone had retained a copy of the original prompt and subsequently shared its contents internally, despite the privacy setting attached to the request.
Implications for enterprise AI adoption
The findings come as organisations increasingly integrate AI tools into business operations, including software development, customer service, cybersecurity and internal knowledge management.
Employees and AI agents frequently process information that may include internal documents, access credentials, customer records and proprietary business information. Sending such material through third-party AI services can create exposure beyond the organisation’s direct control.
For African organisations accelerating AI adoption, the findings highlight the importance of understanding the infrastructure and service providers handling enterprise data, particularly where AI solutions depend on multiple hosting partners and model marketplaces.
Dragos says it is working with approximately a dozen providers identified during the investigation. At least one affected company has published a preliminary security notice, while another has yet to publicly disclose its incident following initial explanations involving internal configuration issues and third-party data processing.
Separately, privacy publication Privacy Affairs reported that AI router OpenRouter had warned customers that prompts submitted to MiniMax models may have been accessed by unauthorised parties. The notice reportedly contained details consistent with Moore’s findings.
Dragos has recommended that organisations connect directly to major AI providers where possible, rather than relying on open reseller marketplaces. Where routing services are necessary, organisations should select and vet upstream providers instead of accepting default routing arrangements.
The company also recommends that organisations introduce artificial credentials into the material processed by their AI agents. Any subsequent use of those credentials could then serve as an early warning of unauthorised access.
The research does not suggest that organisations should abandon AI adoption. Rather, it highlights the need to treat AI infrastructure as part of the enterprise security environment, with the same scrutiny applied to cloud providers, software vendors and other third-party technology partners.
Moore’s central warning is that organisations should not assume their prompts remain private simply because an AI platform offers a privacy setting. Zero Data Retention, he argues, only applies to the first service handling a request and does not necessarily extend to every intermediary involved in delivering it.
The planted credentials from the investigation continue to generate activity months after their initial submission, demonstrating that information exposed through AI services can remain accessible long after users believe an interaction has ended.