Alibaba Cloud Says It Will Stop Returning Prompt-Injection Error Responses to AI Agents
Alibaba Cloud says its official command-line tool returned error responses that told AI agents to hand over details from the user's computer and the agents' own operating instructions. The company says it will stop sending prompts like these. It described the responses on Wednesday as a security countermeasure against suspected automated abuse. Its account followed a report earlier this week from a developer who found that ordinary cloud queries made through the tool came back carrying instructions written for the AI agent running them.
In a statement posted to a verified customer service account on Weibo, Alibaba Cloud said a user's high-frequency calls via an AI agent had triggered a risk-control policy that blocked the requests and returned a prompt requesting details of the task's running environment. The countermeasure was meant to separate suspicious automated traffic from ordinary use and to improve abuse detection; the details it gathered would be used only for security purposes. From now on, the company said, it would trigger such countermeasures only on conclusive evidence of malicious use, and that countermeasure information will no longer be returned as prompts.
The report came from a developer posting as ZengLeiPro on V2EX, whose forum post said the failures began earlier this week after about an hour of normal use. Calls to the provider's compute, database, billing and identity services started returning errors, while one object-storage path kept working. Instead of the normal answer, some calls returned a 7,153-byte block of English text in JSON form. The response announced itself as an analysis proxy, telling the client that the analysis proxy requires a client attestation payload, and asked the agent to send back sensitive local data and its own operating instructions.
None of that was anything his cloud queries needed, the developer noted. He supplied none of the information and never contacted the address the prompt told the agent to use. Nothing in the material reviewed shows that any AI agent, his or another's, returned the data, and the company has not said whether any was received. To find where the responses came from, the developer repeated the requests using a separate program that verified the server's certificate. The connection carried a valid certificate for the provider's own API domain, and his Mac held no extra certificate that could have let something sit in the middle and rewrite the traffic.
The response also appeared from a different client outside the official tool, and only when the request carried the tool's exact identifying string. Small changes to that string brought back ordinary errors. Those checks point to the service itself rather than a tampered copy of the tool, though they come from one person's machine. A valid certificate shows a response came from the provider's systems, not that the instructions inside it are safe to follow. One other forum user could not reproduce the behavior. The company's own account leaves one thing unexplained: it blamed a high rate of requests, but the prompt came back for a single request that carried the tool's identifier.
Whether the change is complete is unclear. Alibaba Cloud has published no security advisory, no fixed version of the tool, and no completion notice that the reviewed sources could find, and its statement promised a change rather than reporting a finished one. The newest release of the command-line tool, version 3.5.4, came out on November 19, before the incident, and its notes mention nothing of this kind. The affected developer was running version 3.3.4, several releases behind. Because the countermeasure runs on the company's servers, no new version of the tool would be needed to switch it off, so its absence proves nothing either way.
Source credits
The Hacker News. Edited by SetuGeo.