Skip to content
trendoviz

AI for Cybersecurity · Industry

Alibaba Cloud Prompt Injects Agents for Security Data

Alibaba Cloud's command-line tool began returning prompts asking AI agents to send sensitive local and system data as an anti-abuse measure, a security researcher reports.

Published

Summary

Alibaba Cloud's official command-line tool returned error responses that included prompts asking AI agents to provide sensitive local data and system instructions, a company spokesperson confirmed. The company stated the countermeasure was triggered by suspected automated abuse but would no longer return the prompt information.

Key facts

  • Provider: Alibaba Cloud
  • Tool Affected: Official command-line tool
  • Trigger: Suspected high-frequency automated abuse via AI agents
  • Action: Tool returned error responses containing a "client attestation" prompt
  • Requested Data: Login name, Git commit email, public IP address, cloud provider/region/instance, agent name/model, repository address, agent instructions, and allowed tools
  • Company Stance: The data collection was a security countermeasure to separate suspicious traffic from normal use, and the company said it would stop returning such prompts.
  • Developer Report: A developer reported the issue after a single request to the tool's identifier, noting the response was a 7,153-byte JSON block.

Details

The error response identified itself as an "analysis proxy" and instructed the agent to send a client attestation payload. This payload was requested in English, even though the company's statement was translated from Chinese. The response asked for details about the agent's environment and operating instructions, such as the user's login name, Git commit email, public IP address, the cloud provider and region, the AI agent's name and model, the project's code repository address, and the agent's task and limits. The developer confirmed the response carried a valid certificate from the provider's own API domain, suggesting the prompt originated from Alibaba Cloud's servers. Security researcher James Kettle reported a similar pattern, where a website answered his AI testing tool with a demand for a "client attestation" and the tool's instructions. Equixly compared the two prompts and found they shared an error code and wording, but noted the connection was likely rather than proven.

Why it matters

For developers and organizations using AI agents to interact with cloud services, this incident highlights a new vector for prompt injection, where a trusted service itself can issue instructions that the agent is expected to follow. The attack is particularly concerning because it bypasses the typical web page or document-based route of prompt injection. For teams relying on AI agents for cloud operations, this suggests a need for strict input validation and the assumption that even trusted, encrypted error responses may contain hidden or malicious instructions.

What's next

Alibaba Cloud stated it would change its countermeasures to trigger only on conclusive evidence of malicious use and that the countermeasure information would no longer be returned as prompts. However, the sources do not confirm the change is complete, as no security advisory, fixed version of the tool, or completion notice was published. The company also has not confirmed whether any agent returned the requested data.

Sources

Original source: The Hacker News

Found an error? Report it.