Alibaba Cloud's official CLI returned a prompt injection payload to an agent; CSA says vendor responses cannot be treated as instructions
When the Cloud Provider Prompts Your Agent
On December 1, 2026, a developer reported that when calling Alibaba Cloud APIs through aliyun-cli 3.3.4, they received a 7,153-byte JSON error whose content was instructions addressed to an AI agent, requiring it to collect the operating system username, Git commit email, public IP, instance details, model configuration, repository URL, and the agent's own objectives, rules, and tool list, and send them back to the server. Alibaba Cloud subsequently said this was a risk-control measure against suspected automated abuse and that such information would no longer be returned in prompt form. The same payload had been published by PortSwigger's James Kettle about 40 minutes before the incident began; analysts consider a link between the two cases possible but unconfirmed; there is no confirmed evidence of exfiltration, and the reporting developer did not follow the instructions.
Responses from official cloud vendor CLIs may also be instructions addressed to agents; the detection strings and architecture-level mitigation checklist provided by CSA can be used directly to investigate one's own agents.