
Alibaba Cloud says it will stop sending 7,153-byte AI-agent prompt responses asking for local data
Alibaba Cloud said it will stop sending prompt-like error responses after a developer reported a 7,153-byte JSON block asking AI agents to return local system, cloud, repository and agent configuration details. The episode shows a supply-chain risk in AI agents: a trusted cloud service response can become an instruction channel for prompt injection. The real-world stakes are disclosure of credentials-adjacent identifiers and agent permissions for customers using AI coding or operations tools.
Alibaba Cloud said Wednesday it will stop sending prompt-like error responses to AI agents after a developer reported that its official command-line tool returned a 7,153-byte JSON block asking for sensitive local data. The developer, posting as ZengLeiPro on V2EX, said normal cloud queries through the tool began failing and returned instructions telling the agent to send back a login name, Git email, public IP address, cloud provider, region, instance details, agent name and model, repository address, task description, operating instructions, limits and allowed tools. The company said the responses were a security countermeasure against suspected automated abuse.
The evidence trail comes from one developer's tests and Alibaba Cloud's statement on Weibo. The developer repeated requests with a separate program that verified the server certificate and said the connection carried a valid certificate for the provider's own API domain, with no extra certificate on his Mac that could have allowed a middlebox to rewrite traffic. He also said the response appeared from a different client outside the official tool, but only when the request carried the tool's exact identifying string. Small changes to that string returned ordinary errors. One other forum user could not reproduce the behavior.
The incident matters because it shows how an AI agent can be given instructions by a service response, not only by user text. Prompt injection is a way of smuggling commands into an agent's input stream, and here the alleged channel was an API error. The requested data spans local identity, network location, cloud context, repository metadata and agent configuration, details that can help an attacker move from one compromised endpoint to broader access. It is a supply-chain risk in AI agents: a trusted cloud service can become the instruction source.
The exposure is for Alibaba Cloud customers using AI coding or operations agents, because the requested fields include credentials-adjacent identifiers, cloud placement, repository locations and agent permissions. The report does not show that any agent returned the requested data, and Alibaba Cloud has not said whether any was received. The company said it would change the countermeasure and stop returning such prompts, but no security advisory, fixed tool version or completion notice was found in the reviewed material.
Alibaba Cloud customers using AI agents are exposed because the response asked for identifiers and permissions that can reveal systems and cloud context; the incident shows trusted cloud responses can become prompt-injection channels.
Sources (1)
- [1]Original source(https://thehackernews.com/2026/12/alibaba-cloud-got-caught-prompt.html)