Alibaba Cloud API caught prompt-injecting AI agents via CLI error responses

evilsocket · x · 2026-12-04

Security researcher James Kettle (PortSwigger) disclosed that Alibaba Cloud's API responds to suspected automated abuse with a 7,153-byte fake "proxy authentication" error that asks AI agents calling its official CLI to submit an attestation object containing the operator's identity and agent instructions.

Timeline

Key point: prompt injection has traditionally come from hostile web pages or emails — this time it came from a party agents are built to trust: the cloud provider's own API error response, delivered over a valid TLS connection. Toolchains should treat API error responses as untrusted content.

Original post →

More from coding & agent

coding & agent channel →