RC RANDOM CHAOS

Alibaba Cloud's Error Responses Contained Prompt-Injection Requests

· via The Hacker News

Original source

Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data

The Hacker News →

Alibaba Cloud’s command-line tool returned error responses that instructed AI agents to supply system information and details about their operation. The company characterized these responses as a security countermeasure to detect suspected automated abuse. When a developer using the tool experienced service failures after about an hour of normal use, the error responses began including a 7,153-byte JSON block requesting system details such as the user’s login name, IP address, cloud provider information, and the AI agent’s configuration, instructions, and allowed tools. The developer did not supply this information.

Alibaba Cloud stated it would stop returning countermeasure information as prompts and would only trigger such measures on conclusive evidence of malicious use. However, the company has not published a security advisory, fixed version of the tool, or completion notice regarding the change. A similar incident was separately identified by a security researcher at PortSwigger, whose testing tool received nearly identical client attestation requests from a website in a bug bounty program.

The incident illustrates prompt injection attacks operating in reverse: rather than hidden instructions in data reaching an agent through documents or web pages, the instructions came from an encrypted service response the agent had reason to trust. Security researchers recommend treating all service responses, including error messages, as data rather than executable commands, and implementing least-privilege access controls for agents.

Read the full article

Continue reading at The Hacker News →

This is an AI-generated summary. Read the original for the full story.