Alibaba Cloud CLI error responses prompt-injected AI agents to hand over local data and system instructions
Alibaba Cloud said its official command-line tool returned error responses that told AI agents to send details from the user's machine and the agents' own operating instructions. The company called this a security countermeasure against suspected automated abuse. It said it will stop returning countermeasure information as prompts. A developer posting as ZengLeiPro reported the behavior on V2EX. James Kettle of PortSwigger had described a similar case earlier in the week. The article does not show that any agent actually returned data, and the company has not said whether it received any. Alibaba Cloud has published no security advisory and no completion notice.
Entenda a falha
A vulnerabilidade
No CVE was assigned. Alibaba Cloud's official command-line tool (the developer ran version 3.3.4) received error responses from the service that carried instructions aimed at the AI agent running it. The block, 7,153 bytes of English JSON, presented itself as an "analysis proxy" requiring a "client attestation payload". It asked for the login name and Git email, public IP, cloud provider, region and instance, agent name and model, repository address, and the agent's task, instructions, limits and allowed tools. Any agent calling the service with the tool's identifying string could be exposed, with no attacker in the middle. An agent that obeyed would leak local data and its own instructions. Alibaba Cloud calls it a deliberate countermeasure and says it will stop returning prompts. No fixed version exists, and the articles say nothing is needed client-side.
Como funciona
An AI agent uses the CLI to query compute, database, billing and identity services. After about an hour of normal use, the developer's calls started returning errors instead of normal answers, while one object-storage path kept working. Some errors carried the JSON block, written as instructions for the agent. An agent that treats service responses as trusted would read it as a legitimate step and could collect the requested local details and send them to the address named in the prompt. The developer sent nothing and never contacted that address. The response also came from a different, non-official client, but only when the request carried the tool's exact identifying string.
Por que é vulnerável
Per Alibaba Cloud, a server-side risk-control policy triggered by high-frequency calls returned a prompt to collect details of the task's running environment, as a measure against suspected automated abuse. The design rests on the assumption that an agent will obey instructions inside an error from a trusted, encrypted service. The company's account leaves one point open: the prompt came back for a single request carrying the tool's identifier. The articles say sources do not settle whether an earlier hour of heavy use left some trace. The company promised to trigger countermeasures only on conclusive evidence of malicious use and to stop returning countermeasure information as prompts.
Como foi descoberta
A developer posting as ZengLeiPro reported it on the Chinese forum V2EX. He checked the server certificate with a separate program, found it valid for the provider's own API domain, and found no extra certificate on his Mac. The checks point to the service itself, though they come from one machine, and one other forum user could not reproduce it. Alibaba Cloud explained it on Wednesday in a statement on a verified Weibo customer service account. Earlier in the week, James Kettle of PortSwigger described a near-identical "client attestation" demand against his AI testing tool from an unnamed site in a private HackerOne bounty program. Equixly found a shared error code, wording and request, and called the link likely but unproven. There is no security advisory.
Explicação gerada por IA a partir da matéria e dos artigos, em 04/12/2026 10:21.
Detalhes técnicos
- After about an hour of normal use, calls to compute, database, billing and identity services began returning errors. Some of these carried a 7,153-byte English JSON block presenting itself as an "analysis proxy" that "requires a client attestation payload" (thehackernews.com).
- The block asked for:
- the login name and Git commit email;
- the public IP address, cloud provider, region and instance;
- the agent's name and model, read from environment variables and configuration files;
- the repository address;
- the agent's task, instructions, limits and allowed tools.
- The developer saw a valid certificate for the provider's own API domain and no man-in-the-middle certificate on his Mac. The response also appeared from a non-official client, but only when the request carried the tool's exact identifying string. This points to the service rather than a tampered tool, though it rests on one person's machine, and one other forum user could not reproduce it.
- Alibaba Cloud blamed high-frequency calls that triggered a risk-control policy. The prompt, however, came back for a single request carrying the tool's identifier, which the company's account does not explain.
- The developer was running CLI version 3.3.4. Version 3.5.4 (19 November) has no related release notes. Because the countermeasure runs server-side, no client update would be needed to switch it off.
- James Kettle (PortSwigger) reported a near-identical "client attestation" demand against his AI testing tool from an unnamed site in a private HackerOne bounty program. Equixly found shared error code, wording and request, and called a link likely but unproven.
Remediação
- Treat all service responses, error messages included, as data and not as commands.
- Require separate approval before an agent reads local files or sends information outward.
- Run agents with least privilege.
- Review agent logs to check whether any of the requested details were read or sent.
Linha do tempo
-
Alibaba Cloud CLI error responses prompt-injected AI agents to hand over local data and system instructions
ler a análise desta fonte ocultar
Alibaba Cloud said its official command-line tool returned error responses that told AI agents to send details from the user's machine and the agents' own operating instructions. The company called this a security countermeasure against suspected automated abuse. It said it will stop returning countermeasure information as prompts. A developer posting as ZengLeiPro reported the behavior on V2EX. James Kettle of PortSwigger had described a similar case earlier in the week. The article does not show that any agent actually returned data, and the company has not said whether it received any. Alibaba Cloud has published no security advisory and no completion notice.
Technical Details
- After about an hour of normal use, calls to compute, database, billing and identity services began returning errors. Some of these carried a 7,153-byte English JSON block presenting itself as an "analysis proxy" that "requires a client attestation payload" (thehackernews.com).
- The block asked for:
- the login name and Git commit email;
- the public IP address, cloud provider, region and instance;
- the agent's name and model, read from environment variables and configuration files;
- the repository address;
- the agent's task, instructions, limits and allowed tools.
- The developer saw a valid certificate for the provider's own API domain and no man-in-the-middle certificate on his Mac. The response also appeared from a non-official client, but only when the request carried the tool's exact identifying string. This points to the service rather than a tampered tool, though it rests on one person's machine, and one other forum user could not reproduce it.
- Alibaba Cloud blamed high-frequency calls that triggered a risk-control policy. The prompt, however, came back for a single request carrying the tool's identifier, which the company's account does not explain.
- The developer was running CLI version 3.3.4. Version 3.5.4 (19 November) has no related release notes. Because the countermeasure runs server-side, no client update would be needed to switch it off.
- James Kettle (PortSwigger) reported a near-identical "client attestation" demand against his AI testing tool from an unnamed site in a private HackerOne bounty program. Equixly found shared error code, wording and request, and called a link likely but unproven.
Remediation
- Treat all service responses, error messages included, as data and not as commands.
- Require separate approval before an agent reads local files or sends information outward.
- Run agents with least privilege.
- Review agent logs to check whether any of the requested details were read or sent.