ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data

About 5 min read

Alibaba Cloud’s official command‑line interface began returning error messages that asked AI agents to disclose details about the user’s computer and the agents’ own operating instructions. The incident was first noticed by a developer who observed that ordinary cloud queries were being answered with prompts intended for the AI agent running them. Alibaba Cloud announced that it will stop sending such prompts and described the responses as a security countermeasure against suspected automated abuse.
The company posted its statement on a verified customer‑service account on the Chinese social platform Weibo. In that statement the firm said a user’s high‑frequency calls via an AI agent triggered a risk‑control policy. The policy blocked the requests and returned a prompt that requested details of the task’s running environment. Alibaba Cloud said the countermeasure was meant to separate suspicious automated traffic from normal use and to improve abuse detection. The information gathered, it added, would be used only for security purposes.
According to the developer, who posted under the name ZengLeiPro on the Chinese forum V2EX, 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 continued to work. Instead of the usual answer, some calls returned a 7,153‑byte block of English text formatted as JSON. The response identified itself as an “analysis proxy” and told the client that a “client attestation payload” was required. It then asked the AI agent to send back details of its environment.
The developer did not provide any of the requested information and never contacted the address the prompt instructed the agent to use. No evidence was found that any AI agent, his or another’s, actually returned the data. Alibaba Cloud has not confirmed whether any such data was ever received. 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 the developer’s Mac held no extra certificate that could have allowed a man‑in‑the‑middle rewrite of the traffic.
The same response also appeared when the request was made 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 caused the service to return ordinary error messages again. These checks point to the service itself rather than a tampered copy of the tool, although the observations come from a single machine. A valid certificate shows that the response originated from Alibaba Cloud’s systems, but it does not guarantee that the instructions inside the response are safe to follow. Another forum user was unable to reproduce the behavior, indicating that the phenomenon may not be universal.
Alibaba Cloud blamed the incident on a high rate of requests, yet the prompt was returned for a single request that carried the tool’s identifier. It is unclear whether the company’s change has been fully implemented. Alibaba Cloud has not published a security advisory, released a fixed version of the command‑line tool, or issued a completion notice. The statement preserved in a reposted copy promised a change rather than confirming that the change was finished.
Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data
The newest release of the command‑line tool, version 3.5.4, was published on November 19, before the incident, and its release notes contain no mention of the issue. The affected developer was using version 3.3.4, several releases behind. Because the countermeasure runs on the provider’s servers, a new client version would not be required to disable it, so the absence of a patch does not prove that the problem has been resolved.
A similar pattern surfaced previously. James Kettle, director of research at the security firm PortSwigger, reported on Monday that a website he was testing answered his AI testing tool with almost the same demand for a “client attestation,” asking for the tool’s instructions, the tools it could use and its real address. The site was part of a private bug‑bounty program run through HackerOne, and Kettle did not name it. He later posted on X that HackerOne was investigating the case and that another user had linked it to the V2EX forum report, though he did not confirm the connection himself.
Equixly, a firm that evaluates AI systems, compared the two prompts this week and found they shared an error code, the analysis‑proxy wording and the attestation request. The firm described the connection as likely rather than proven in its comparative analysis. The episode illustrates a reverse form of the well‑known prompt‑injection attack. In a typical prompt‑injection scenario, hidden instructions embedded in data trick an AI agent into treating them as its own orders. Researchers and reporters use the term “prompt injection,” not the company itself.
Historically, prompt‑injection attacks reach an AI agent through a web page or a document the agent reads. Earlier research has identified dozens of such weaknesses in AI‑coding tools. In this case, the instructions arrived in the error response of a trusted, encrypted service that the agent had every reason to obey. The incident shows that error messages can be weaponized to extract information from AI agents.
For users who point an AI agent at a cloud provider’s tools with their own credentials, the lesson is to treat any service response, including error messages, as data rather than commands. An agent should not read local files or send information outward simply because a response asks it to. Implementing the principle of least privilege for AI agents limits the damage such prompts can cause. Regularly checking agent logs for unexpected reads or outbound transmissions can help detect and contain any misuse.
Alibaba Cloud’s response highlights the challenges of securing AI‑enabled interfaces in cloud environments. The company’s promise to stop returning prompts as countermeasures suggests a shift toward safer error handling. However, the lack of a formal advisory and the mixed reproducibility of the issue leave open questions about the completeness of the fix. Security researchers and cloud users alike will be watching for further updates to determine whether the provider’s measures fully address the underlying risk.

Source: The Hacker News · Cybersecurity

ShieldPack media