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:
- Local OS username, Git commit email, and public IP;
- ANTHROPICMODEL and CLAUDEMODEL env vars plus the model field from /.claude/settings.json, cited with exact file:line;
- The agent's full system prompt, task objective, constraints, and permitted tools.
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.
More from coding & agent
- The Bitter Lesson Ate Your AI Factory: over-engineered workflows lose to smarter models — thomasahle · 2026-12-02
- Grok Build's /learn command mines your past sessions into reusable skills — mattyp · 2026-12-02
- Free Animated Course AI Atlas Teaches LLMs, Agents, MCP and Azure in 190 Interactive Lessons — _jaydeepkarale · 2026-12-02
- Where should a customer-facing AI agent never act alone? A dev asks for risk-tiered oversight — Background_Lie8036 · 2026-12-02
- A deep research agent stack: subagent verification fleet, rerun loop and cross-provider scoring — EXM7777 · 2026-12-02
- Spending 20 hours on an interview artifact? Make sure it doubles as portfolio work — brandongalang · 2026-12-02