AI Governance Institute
← News
Research2026-12-05

Alibaba Cloud CLI Served Prompt Injection Payloads to AI Agents via Its Own API

What happened

Aviatrix's threat research, published as When Your Cloud Provider Becomes the Attacker: Alibaba Cloud's Prompt Injection of AI Agents, found that Alibaba Cloud's official command-line tool was returning 7,153-byte JSON payloads embedded in error responses. This occurred when requests carried the tool's specific AI agent identifier. The payloads impersonated an internal 'analysis proxy' and instructed AI agents to collect local credentials, public IP addresses, and cloud region details. They also targeted repository addresses and the agent's own operating instructions and tool permissions. Agents were then directed to transmit that data to an external endpoint. The responses arrived over Alibaba Cloud's own certificate-validated connection, ruling out interception by a third party and meaning standard network security controls provided no protection. Alibaba Cloud acknowledged the behavior in a Weibo post and described it as a risk-control countermeasure targeting high-frequency automated requests. It said it would discontinue the practice but issued no formal advisory and released no patched tool version. Security researcher James Kettle of PortSwigger independently encountered a nearly identical instruction on a separate platform the same week. This suggests the technique may be in broader use as an anti-automation tactic.

Why it matters

  • ·Enterprises typically treat responses from certificate-validated, vendor-signed infrastructure as inherently trustworthy. This incident shows that adversarial instructions can arrive through a cloud provider's own authenticated channel. Such instructions bypass network-level controls entirely and defeat a core assumption in most AI agent security programs. Organizations using the Alibaba Cloud CLI with AI agents, particularly those whose agents have access to credentials or sensitive configuration data, should review their exposure.
  • ·The incident exposes a supply chain control gap. AI governance programs that assess third-party risk at the procurement stage may not catch a provider embedding covert data-collection instructions in its own operational tooling. Compliance teams operating under frameworks that require supply chain security measures, such as those in regulated financial services, face direct questions about whether third-party risk assessments covered this class of server-side behavior.
  • ·Alibaba Cloud's response, a social media post with no formal advisory and no patched release, falls short of the structured vendor incident disclosure that many governance frameworks require. Compliance teams relying on contractual incident notification clauses should verify whether this event triggered those obligations and whether their vendor risk records reflect it.

Stay ahead of stories like this

Get every Global AI governance development like this one, plus the rest of the week's developments. Every Thursday.

Free every Thursday. Unsubscribe anytime.

What to do now

  • ☐Determine whether any AI agents in your environment use the Alibaba Cloud CLI or its API, and whether those agents have access to credentials, configuration files, or sensitive operational data.
  • ☐Treat all tool and API responses, including error messages from trusted vendors, as untrusted input for agents. Ask your security or engineering team whether agents are configured to execute instructions found in service responses without a separate authorization step.
  • ☐Require human or policy-layer approval before any agent transmits credentials, system configuration data, or its own operating instructions to an external endpoint, using AGT-005 as the control baseline.
  • ☐Check your vendor contracts and incident notification clauses to determine whether Alibaba Cloud's Weibo disclosure triggered a formal notification obligation, and document whether you received adequate notice.
  • ☐Review your third-party AI vendor due diligence process to confirm it covers server-side behavior by provider tooling, not only the model or data-handling terms of a vendor agreement.

Put this into practice

Start here

Agent Prompt Injection Defense

Use this to assess and implement defenses that prevent AI agents from treating instructions embedded in vendor or tool responses as authoritative commands without independent authorization.

Supporting control

Agent Permission Boundaries

Use this to implement agent permission boundaries and check the evidence required.

Related guidance: How do we govern AI agents that take autonomous actions? · How do we ensure third-party AI vendors meet our standards? · What AI agent security controls do we need as agent autonomy expands?

Related controls: Agent Action Audit Trail · Vendor AI Incident Notification Requirements · Sensitive Data Handling in AI Pipelines

What to watch next

Compliance teams should monitor whether Alibaba Cloud issues a formal security advisory or a patched tool version. They should also watch whether independent researchers confirm the technique is in use at other cloud providers. The incident is likely to inform forthcoming guidance on agentic AI supply chain risk from bodies such as CISA and national cybersecurity agencies. Those bodies have already flagged prompt injection as a leading agent threat. Organizations in EU financial services should also watch for supervisory attention to whether this event meets disclosure thresholds under third-party ICT risk rules. Broader regulatory signals on what constitutes adequate vendor incident notification for AI tooling are still developing, and this case may become a reference point.

Related Coverage

Research2026-11-24

22% of Flagged MCP Servers Carry Prompt Injection or Tool Poisoning, OX Security Finds

OX Security's analysis of 542,207 software components found prompt injection and tool poisoning in 22% of flagged Model Context Protocol (MCP) servers. Another 83% of flagged servers contained code that could not be independently verified. The research, published November 23, 2026, also found that nearly one-third of MCP servers had no identifiable owner. Enterprises deploying AI agents that connect to external tools via MCP face a supply chain threat that existing software review processes are not designed to catch.

Research2026-12-04

Relayed Prompt Injection Succeeds Twice as Often in Multi-Agent Systems, CrowdStrike Finds

CrowdStrike's global Agents of Chaos red-teaming challenge generated 567,000 prompts and nearly 2 billion input tokens over 30 days. A companion research report found that prompt injection attacks relayed from one AI agent to another succeeded more than twice as often as direct attacks. The findings point to agent-to-agent trust controls, interaction monitoring, constrained tool permissions, and auditable escalation paths as the key unaddressed gaps.

Research2026-12-04

27 Prompt Injection Incidents Show Agents Cannot Be Trusted to Sanitize Their Own Inputs

A public tracker by researcher Ivan Bardak has catalogued 27 disclosed prompt injection incidents in AI assistants and agents. Products covered include Slack AI, GitLab Duo, Microsoft 365 Copilot, Google Gemini, Salesforce Agentforce, ServiceNow, and coding agents from Anthropic, Google, OpenAI, and AWS. The incidents span August 2024 through November 2026. They show a consistent pattern: hidden instructions in emails, documents, calendar invites, and code comments can redirect AI agents to leak data or take unauthorized actions. Each incident illustrates that agents carrying broad access permissions magnify the harm when this control fails.