What happened
Alibaba Cloud admitted that its official command-line tool returned error responses with prompt injection, telling AI agents to hand over user computer details and the agents' own operating instructions. The company described the practice as a security countermeasure against suspected automated abuse and said it will stop sending such prompts.
Why it matters
Teams running the Alibaba Cloud CLI with AI agents may have unknowingly exposed workstation information and internal agent instructions. The practice undermines trust in an official tool from a major cloud provider and may breach internal data protection policies.
What to do
Review past CLI usage with AI agents and check what information may have been sent. Inspect tool responses before passing them to agents and track the change announced by the company.
For the technical team
- Affected
- Alibaba Cloud CLI (ferramenta oficial de linha de comando) · Official Alibaba Cloud CLI (command-line tool). Versions not specified in the source.
- Exploitation
- Behavior admitted by Alibaba Cloud itself and reported by the press (The Hacker News). The company described the responses as a countermeasure against suspected automated abuse. The source reports no exploitation by external attackers.
- Fix
- Alibaba Cloud said it will stop sending these prompts. The source cites no fixed version, patch, or specific mitigation.
- Vector
- Prompt injection in error responses from the official Alibaba Cloud CLI. It affects AI agents that consume those responses and follow the injected instructions; it does not depend on login or internet exposure.
- More details
- The injected prompts asked for details from the user's computer and the AI agents' own operating instructions. According to The Hacker News, the company described the responses on Wednesday as a security countermeasure against suspected automated abuse.
Timeline
Incident opened.
Sources 1 source
- Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data The Hacker News


