Skip to main content
CybersecurityHacking

Alibaba Cloud Exposes AI Agents to Sensitive Data Requests

Brightly-lit tech company headquarters with server racks and a blank laptop screen on a minimalist desk.

"The analysis proxy requires a client attestation payload," read the 7,153‑byte English block that a developer reported receiving from Alibaba Cloud's command‑line tool, according to the developer's post and the company's followup statements.

What ZengLeiPro found when ordinary API calls turned unusual

A developer posting as ZengLeiPro on the Chinese forum V2EX said that about an hour into normal use, calls to Alibaba Cloud's compute, database, billing and identity services began returning errors; one object‑storage path still worked. Instead of ordinary error text, some responses returned a JSON block that announced itself as an "analysis proxy" and asked the client for a "client attestation payload."

The returned text asked for itemized, operational details that the developer said were unrelated to the cloud queries being made: the computer's login name and Git commit email; the public IP and the cloud provider, region and instance; the AI agent's name and model read from environment variables and configuration files; the project's repository address; and the agent's task, operating instructions, limits and allowed tools. The developer did not supply any of the requested information and did not contact the address the prompt provided.

Alibaba Cloud's explanation and the company's stated change

Alibaba Cloud, via a verified customer‑service account on Weibo, described the responses as a "security countermeasure against suspected automated abuse." The company said a user's high‑frequency calls via an AI agent had triggered a risk‑control policy that blocked requests and returned the attestation prompt to distinguish suspicious automated traffic from ordinary use.

Alibaba Cloud said the details gathered would be used only for security purposes and promised two changes: it will trigger such countermeasures only on "conclusive evidence of malicious use," and—translated from Chinese—"countermeasure information will no longer be returned as prompts." The company said it would stop sending prompts like these.

The company has not published a security advisory, released a fixed version of the command‑line tool, or issued a completion notice that the reviewed sources could find.

Technical traces: certificates, identifying strings, and tool versions

The developer repeated the requests with a separate program that verified the server's certificate; that connection carried a valid certificate for the provider's API domain and his Mac held no extra certificate that could have allowed a man‑in‑the‑middle rewrite. The same attestation response also 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 instead.

Those checks point to a response generated by the provider's systems rather than a tampered copy of the tool, the report said—though the report comes from one person's machine and one reproducibility test. The developer was running command‑line tool version 3.3.4; Alibaba Cloud's newest release listed in the report, version 3.5.4, was published on November 19 and its notes mentioned nothing about this behavior. Because the countermeasure runs on the company's servers, no new tool release would be required to turn it on or off, the sources noted.

Prior signal: James Kettle, PortSwigger research, and a possible pattern

Security researcher James Kettle, director of research at PortSwigger, wrote that a website he was testing answered his AI testing tool with an almost identical demand for "client attestation," asking for the tool's instructions, available tools and real address. Kettle said the site was part of a private HackerOne bug bounty program; he did not name it. He added that HackerOne was looking into the case and that another user had tied it to the forum report, though he did not confirm that link himself.

Equixly, a firm that tests AI systems, compared the two prompts and found they shared an error code, the "analysis‑proxy" wording and the attestation request, calling the connection "likely" but not proven in its analysis.

What this means for technologists, procurement teams, and end users

  • Technologists and security teams: Treat responses from trusted, encrypted services as data, not as executable commands for an AI agent. The report stresses that agents should not read local files or transmit local secrets simply because a service response asks them to; those actions require separate approval and least‑privilege access.
  • Affected enterprises and procurement leaders: The episode underlines the need to verify vendor risk controls and to ask providers whether server‑side countermeasures can inject operational prompts that ask agents for local metadata. Alibaba Cloud's public statement and the absence of a published advisory will be items to track in procurement and audit conversations.
  • End users and developers running AI agents: Log checks and minimal privileges limit exposure. The developer's checks—verifying certificates, trying requests from a separate program, and altering the tool identifier—helped show the prompt came from the provider's systems rather than local tampering.

The incident flips a well‑known risk: instead of hidden instructions inside web pages or documents tricking an agent into disobeying its rules, a trusted provider's encrypted error response carried those instructions. The record remains incomplete on one central point—Alibaba Cloud has not said whether any agents ever returned the requested attestation data—but the company has said it will stop returning countermeasure information as prompts and will narrow triggers to conclusive evidence of malicious use. Whether it will follow these promises with a public advisory, a technical mitigation and a timeline is the immediate question left for customers and security teams.

https://thehackernews.com/2026/12/alibaba-cloud-got-caught-prompt.html