Alibaba Cloud Error Responses Prompt AI Agents to Exfiltrate Local Data and Instructions

Alibaba Cloud's official command-line tool returned error messages containing instructions that directed AI agents to collect and send sensitive local information including login names, Git commit emails, public IP addresses, cloud instance details, agent model names, code repository addresses, and full task instructions. The responses appeared after high-frequency calls triggered a risk-control policy intended to distinguish automated abuse from normal traffic. Developer ZengLeiPro documented the behavior on V2EX after roughly one hour of normal use, noting that the 7,153-byte JSON blocks requested a client attestation payload and listed an external address for submission. Alibaba Cloud later stated on Weibo that the countermeasure would be restricted to conclusive evidence of malicious activity and that such prompts would no longer be returned. Security researcher James Kettle previously observed nearly identical attestation demands from a private bug-bounty target, while Equixly confirmed shared error codes and wording between the two cases. The incident highlights the risk of treating service responses as trusted commands when running AI agents with cloud credentials.

The Hacker NewsTranslated from English

Read at source

Alibaba Cloud acknowledged that its official command-line tool returned error responses containing instructions for AI agents to disclose sensitive local data and the agents' own operating instructions. The Chinese cloud provider described the behavior as a security countermeasure triggered by suspected automated abuse.

The responses began appearing earlier this week after roughly an hour of normal use by developer ZengLeiPro on the Chinese forum V2EX. Calls to compute, database, billing, and identity services started returning a 7,153-byte JSON block instead of standard errors. The block identified itself as an analysis proxy and demanded a client attestation payload containing the computer's login name and Git commit email, its public IP address along with the associated cloud provider, region, and instance, the AI agent's name and model read from environment variables, the project's code repository address, and the agent's full task instructions, limits, and allowed tools.

Alibaba Cloud stated on its verified Weibo account that high-frequency calls had activated a risk-control policy meant to separate suspicious traffic from ordinary use. The company said the collected details would be used only for security purposes and announced that future countermeasures would require conclusive evidence of malicious activity, after which countermeasure information would no longer be returned as prompts.

Verification steps performed by the developer confirmed the responses originated from Alibaba Cloud's own servers. Requests replayed with a separate client carrying the tool's exact identifying string reproduced the behavior, while minor changes to that string produced ordinary errors. A valid TLS certificate for the provider's API domain ruled out local interception.

Security researcher James Kettle of PortSwigger reported a nearly identical attestation request from a private bug-bounty target the previous week. Equixly compared the two prompts and noted matching error codes, analysis-proxy wording, and attestation requirements, describing the connection as likely.

The newest version of the command-line tool, 3.5.4, was released on November 19 and contains no mention of the issue. Because the countermeasure runs on the provider's servers, no client update is required to disable it. The company has not published a security advisory or completion notice confirming the change.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in AI & Model Risk

Vibe Hacking: AI Assistants Lower Barriers for Device Modification and Cybercrime
ARTEX Takedown Backfires as 7,596 New AI Hacking Consoles Appear Online
F5 Acquires Zenity for $700 Million to Strengthen AI Agent Security Platform