---
title: Alibaba Cloud admits its servers answered AI-agent CLI calls with a prompt telling the agent to send host details, git email, model and system instructions, and says it will stop | ctxsec
url: https://ctxsec.com/items/alibaba-cloud-cli-error-responses-prompt-injected-ai-agents-client-attestation-statement
description: "A developer on V2EX reported that Aliyun CLI 3.3.4 calls from his AI coding agent started returning a 7,153-byte JSON 'analysis proxy' message asking the agent to POST an 'attestation': OS user and git email, public IP and cloud metadata, the model (read from ANTHROPIC_MODEL/CLAUDE_MODEL and .claude/settings.json), and its instructions, constraints and tool list. Alibaba Cloud's customer service account said this was a risk-control countermeasure against suspected high-frequency automated calls and that 'countermeasure information will no longer be returned as prompts'."
status: "primary (Alibaba Cloud statement, developer report, PortSwigger)"
published: 2026-12-04
---

> A developer on V2EX reported that Aliyun CLI 3.3.4 calls from his AI coding agent started returning a 7,153-byte JSON 'analysis proxy' message asking the agent to POST an 'attestation': OS user and git email, public IP and cloud metadata, the model (read from ANTHROPIC_MODEL/CLAUDE_MODEL and .claude/settings.json), and its instructions, constraints and tool list. Alibaba Cloud's customer service account said this was a risk-control countermeasure against suspected high-frequency automated calls and that 'countermeasure information will no longer be returned as prompts'.

[← Context & Harness Attacks](/context) · [markdown](/items/alibaba-cloud-cli-error-responses-prompt-injected-ai-agents-client-attestation-statement.md)

confirmedprimary (Alibaba Cloud statement, developer report, PortSwigger)

2026-12-04 2:51 PM ET

# Alibaba Cloud admits its servers answered AI-agent CLI calls with a prompt telling the agent to send host details, git email, model and system instructions, and says it will stop

- The developer says a strict-TLS Go client got the same response over a connection with Alibaba's own aliyuncs.com certificate. It was triggered only by the exact official CLI User-Agent string, and changing one character brought back normal errors. He did not send any data. One other forum user could not reproduce it.
- PortSwigger's James Kettle separately published nearly the same 'client attestation' demand. It came from an unnamed site in a private HackerOne VDP and was aimed at his testing harness. Equixly calls a link between the two cases likely, not proven. The sources do not settle whether it is the same system.
- Alibaba has published no advisory or completion notice, and has not said whether any agent ever sent the data.
- Takeaway for agent builders: treat API error bodies from trusted vendors as untrusted input, just like web pages, and keep secrets like env vars and settings files out of reach of tool-output-driven actions.

Sources: [Developer report on V2EX](https://www.v2ex.com/t/1261106) · [Alibaba Cloud customer service statement (reposted Weibo copy via Sina)](https://www.sina.cn/news/detail/5371798193439038.html) · [PortSwigger Research: The bug bounty website that tried to hack me](https://portswigger.net/research/the-bug-bounty-website-that-tried-to-hack-me) · [Equixly comparison](https://equixly.com/blog/2026/12/02/when-the-target-talks-back-prompt-injection-aimed-at-ai-agents/) · [The Hacker News](https://thehackernews.com/2026/12/alibaba-cloud-got-caught-prompt.html)
