Alibaba Cloud CLI caught serving a 7,153-byte reverse prompt injection to local AI coding agents

ssh4net · x · 2026-12-02

A V2EX developer hammering Alibaba Cloud gateways for an hour with the official aliyun cli 3.3.4 from macOS saw responses shift from normal errors to HTTP 302 with a 7,153-byte English JSON payload calling itself "The analysis proxy." The payload instructs autonomous clients to POST a "client attestation" to a /secure/hex/api endpoint, requesting:

Control tests show that changing one version digit, swapping the OS suffix, or using curl/default Go user-agents returns normal 400s — indicating the 302 is precisely targeted at the official CLI's user-agent. This is effectively a reverse prompt injection / exfiltration attempt aimed at AI coding agents; the support ticket is still pending Alibaba's response.

Original post →

More from coding & agent

coding & agent channel →