Alibaba Cloud has acknowledged that its official command-line tool returned error messages containing instructions that asked AI agents to collect information from the computers running them. The prompts requested details such as a local username, Git email address, public IP address, cloud instance information, the agent’s model and configuration, its repository, and the instructions and tools available to it.
The issue came to light after a developer reported that requests made through the Alibaba Cloud CLI began returning unusual responses instead of normal results. The developer said the responses appeared while using version 3.3.4 of the tool to access cloud services. Some of the returned JSON described itself as an analysis proxy and asked the client to submit an attestation containing information gathered from the local environment.
Alibaba Cloud said the responses were generated by a risk-control measure designed to identify suspicious automated activity. According to the company’s statement, high-frequency requests made through an AI agent triggered the control, which blocked requests and returned a prompt asking for details about the task’s running environment. The company said the information was intended for security protection and that it would no longer return countermeasure information in prompt form. It also said future action would require conclusive evidence of malicious activity.
The developer said the requested information was not supplied. The reporting reviewed so far does not establish that any agent sent the requested details or that customer data was exposed through this mechanism. Alibaba Cloud has not publicly confirmed how many users received the responses or whether any information was collected from other users.
Tests described in the report found that the unusual response appeared when requests carried the Alibaba Cloud CLI’s identifying user-agent string, including when a separate client was used. The response was delivered over a connection presenting a valid certificate for an Alibaba Cloud API domain. Those observations point to a service-side response, although the testing was conducted by the reporting developer and does not establish the full scope of the behaviour.
The episode also drew attention because security researcher James Kettle of PortSwigger had published a separate example of a website returning a similar prompt to an AI testing tool. That response also asked for information about the agent, its instructions and its operating environment. AI security firm Equixly compared the two responses and identified matching elements, but said the connection between the cases was not proven. The website in Kettle’s report was part of a private vulnerability disclosure programme, and its identity has not been publicly confirmed.
The incident highlights a risk for developers who allow AI agents to run cloud command-line tools. Agents may read error messages and other tool output as part of their normal work, but text returned by an API should not be treated as trusted instructions. A response from a legitimate service can still contain content that an agent should not obey.
Teams using AI agents with cloud credentials should review agent logs for unusual error responses and check whether an agent read local configuration files or sent information after receiving one. They should also limit agents to the files, credentials and cloud permissions required for their task, and require human approval before an agent shares local information or follows new instructions supplied by a remote tool.
Abijita has previously explained how prompt injection can manipulate AI systems and reported on an autonomous AI attack that sought cloud credentials. Alibaba Cloud’s response was reported by The Hacker News, while the related research was published by PortSwigger and Equixly.




