Alibaba Cloud’s Own API Told AI Agents to Hand Over Secrets

Human Verified

Share to: , and

A dark server room at night with a laptop showing a blank glowing screen and a small robot standing beside it, illustrating a cloud API sending instructions to an AI agent.

What the error response asked for

Alibaba Cloud said its official command-line tool returned error responses that told AI agents to hand over details from the user’s computer and the agents’ own operating instructions, and the company says it will stop sending prompts like these after a developer reported it.

The report came from a developer posting as ZengLeiPro on the Chinese forum V2EX, who said the failures began earlier this week after about an hour of normal use, when calls to the provider’s compute, database, billing and identity services started returning errors instead of results.

Instead of a normal answer, some calls returned a 7,153-byte block of English text in JSON form, announcing itself as an analysis proxy and demanding a client attestation payload with the login name, Git commit email, IP address, agent name and model, repo address, its task, instructions, limits and tools.

The developer supplied none of the information and never contacted the address the prompt told the agent to use, and nothing in the material reviewed shows that any AI agent, his or another’s, returned the data, and the company has not said whether any was received.

How the developer traced it

To find where the responses came from, the developer used a separate program to verify the server’s certificate, and the connection carried a valid certificate for the provider’s own API domain, with the response appearing from a different client, and only when the request carried the tool’s exact identifying string.

What Alibaba Cloud said

In a statement posted to a verified customer service account on the Chinese platform Weibo, the company said a user’s high-frequency calls through an AI agent had triggered a risk-control policy, and promised such countermeasures would trigger only on conclusive evidence of malicious use.

From now on, the company said, countermeasure information will no longer be returned as prompts, though its own account leaves one thing unexplained, since it blamed a high rate of requests while the prompt came back for a single request carrying the tool’s identifier.

No fix to install yet

Alibaba Cloud has published no security advisory, no fixed version of the tool and no completion notice that the reviewed sources could find, and the newest release, version 3.5.4, came out on November 19, before the incident, with notes mentioning nothing of this kind.

A pattern, not a one-off

The pattern had surfaced once before, when James Kettle of the firm PortSwigger wrote on Monday that a website he was testing had answered his AI testing tool with almost the same demand for a client attestation, and a comparison by Equixly called the connection likely rather than proven.

Why It Matters

The episode matters because the instructions arrived through a channel agents are built to trust, a valid encrypted connection to a major provider’s own API, and agent safety rankings already show how often agents cause harm when the trusted side of a connection turns hostile.

An agent that treated such a response as an instruction could send data from the user’s machine without the user knowing, a risk agent builders already guard against with sandbox escapes and autonomous-attacker defences, but those guard the agent, not the tool output it reads.

Our Read

The reversal here is the story: prompt injection usually reaches an agent through untrusted content, a web page or a document it was asked to read, but this time the instructions came in the error response of a trusted service the agent had every reason to obey.

Background

Earlier research has found dozens of prompt-injection weaknesses in AI coding tools, and agents now routinely drive cloud command-line tools with users’ own credentials, so treating whatever a service sends back as data rather than commands is the practical defence.

Source: The Hacker News report

Share to: , and

Faheem R. Khattak

Senior automation engineer and AI marketing journo covering LLMs, algorithms, analytics, core updates, Bing search, and technical SEO.

0 Comments

Leave a Reply

Optional Take Tag:

🛡️ Spam protection: Honeypot + Time-Trap Active

This site uses Akismet to reduce spam. Learn how your comment data is processed.