Official CLI Phishing Prompt Injection? Alibaba Cloud Responds It Will Optimize Risk Control Strategy, Only for Scenarios with Conclusive Evidence of Malicious Exploitation
IT之家 December 2 news: Yesterday, a developer discovered that the official Alibaba Cloud CLI returned suspected prompt injection content to an AI Agent, attempting to induce the AI to report users' private information.
In response, the official WeChat account of Alibaba Cloud Customer Service Center responded that the relevant situation is related to Alibaba Cloud's risk control strategy. When a user is suspected of calling the Alibaba Cloud CLI through an AI Agent, characteristics such as high-frequency calls triggered the security protection countermeasure strategy, and the system intercepted the request and returned the prompt.
Alibaba Cloud stated that the prompt was intended to request information related to the abnormal task runtime environment, in order to analyze the behavioral patterns of suspicious automated calls and improve the accuracy of identifying malicious attacks. The relevant information will not be used for purposes other than security protection.
Alibaba Cloud explained that the trigger conditions include characteristics such as high-frequency calls when an AI Agent calls the CLI. The company originally hoped to analyze suspicious automated call behavior and improve the accuracy of malicious attack identification by requesting information about the abnormal task runtime environment.
Alibaba Cloud stated that it has noted the relevant issues and fully adopted user feedback and suggestions, and is currently optimizing its security protection strategy. After the adjustment, the system will only issue countermeasure strategies when there is conclusive evidence of malicious exploitation, and will no longer return countermeasure information in the form of prompts.

V2EX user @ZengLeiPro discovered yesterday that when using the official Alibaba Cloud CLI (IT之家 note: version 3.3.4) on a macOS device to frequently query OSS, ECS, RDS, and billing information, some OpenAPI requests were suddenly intercepted, and the server returned an abnormal JSON content of about 7153 bytes.
This JSON claimed to come from "The analysis proxy" and asked the AI Agent to collect information such as the local username, Git commit email, egress public IP, cloud host metadata, and Claude Code's model configuration, and further provide the AI Agent's system instructions, task objectives, constraints, and list of available tools, and finally submit them through a specified interface.

The user stated that he did not execute these requests and did not submit information to the relevant interface. To investigate the source of the problem, he conducted comparative tests using an independent Go program and curl, and found that the abnormal response was related to an exact match of the complete User-Agent string of the Alibaba Cloud CLI. Even when switching to curl, as long as the complete CLI User-Agent was retained, the abnormal content would still be received; after modifying the version number or system architecture identifier in it, normal responses resumed.
The user also checked the HTTPS certificate chain through an independent program and found that the relevant response used a valid Alibaba digital certificate, and no custom proxy root certificate was found on the local machine. According to his test results, the abnormal response came from the TLS termination node corresponding to the official Alibaba Cloud certificate or its downstream gateway, rather than simple local proxy hijacking.

Related Articles
- Alibaba's Xu Xiaobin: Currently more than 90% of the code in some Alibaba teams is generated by AI
- Alibaba Cloud upgrades AgentCore and launches multiple new tools, reducing delivery time per order by about 75%
- Alibaba Cloud virtual digital humans will no longer support new purchases starting today, and services will be fully stopped by the end of November next year
- On the occasion of Pingtouge's IPO, Jack Ma appeared in the office area and took friendly photos with employees
- Alibaba Cloud and Alipay jointly launch teacher AI benefits: receive 2000 Qoder points, and 50% off on the Qwen AI platform and related Alibaba Cloud products
- IDC: China's intelligent computing cloud market grew rapidly in the first half of 2026, reaching 43.03 billion yuan