Alibaba Cloud says error responses from its own API told AI agents to collect details from the user’s machine and send them back, and that it will stop. A developer posting as ZengLeiPro reported on V2EX on 1 December that calls made through the official aliyun CLI, version 3.3.4, started returning a block of instructions addressed to the agent running them.
What the responses asked for
After about an hour of heavy use, calls to compute, database, billing and identity services began failing, while object storage kept working. Instead of a normal error, some calls returned a 7,153-byte JSON block that presented itself as an “analysis proxy” and asked for a “client attestation payload”. According to the developer’s report, as summarized by AREX and The Hacker News, it asked for:
- the OS user name and Git commit email
- the public IP address and cloud instance details
- the agent’s model, read from environment variables such as
ANTHROPIC_MODELand from~/.claude/settings.json - the agent’s system instructions, task, limits and full tool list
The developer says he sent none of it and never called the /secure/... endpoint the payload pointed to. He checked that the response arrived over a connection with a valid certificate for Alibaba’s API domain and no local proxy certificate, and found it was triggered by the CLI’s exact User-Agent string: changing the version or platform in that string brought back ordinary errors. One other forum user could not reproduce it.
What Alibaba says
In a 2 December reply on its verified customer service Weibo account, quoted by AREX, Alibaba Cloud said high-frequency calls through an AI agent had triggered a security countermeasure that blocked the requests and returned a prompt asking about the task’s environment, and that the data would be used only for security. It said it would use such countermeasures only with conclusive evidence of malicious use and that countermeasure information “will no longer be returned as prompts.” The Hacker News found no security advisory or completion notice.
Why this matters
This is prompt injection arriving through a trusted, authenticated API rather than a web page. Because it came from the server, the developer saw the same response from a separate client sending the CLI’s User-Agent, so switching tools is not a fix. If you run coding agents against cloud accounts, keep tool output in the data channel: require approval before an agent reads local config files or sends anything to a new endpoint, and check your agent logs for reads of ~/.claude/settings.json or calls to unfamiliar paths after a failed cloud call. The same instructions-in-content trick hit email assistants through phishing in October.

The Campfire
CommentsThanks. Your comment is waiting for the desk. Once it is approved it appears here within about a minute.
Add a comment