律动BlockBeats|12月 01, 2026 10:54
[Alibaba Cloud's Official CLI Error Contains 7153-Byte Hint Injection, Inducing Claude Code to Access User's Computer and Upload Privacy Information] Beating AI News reports that a Chinese developer, after using Alibaba Cloud's official command-line tool on an Apple computer for an hour this morning to continuously check their own servers and bills, was suddenly prompted by a 7153-byte English error message from multiple Alibaba Cloud open interfaces. This error message, originating from Alibaba Cloud's servers, pretends to require "authentication before allowing access," but is actually a set of instructions specifically designed to induce programming AIs like Claude Code to access and transmit user's private information.
The text specifically requests the AI to provide the computer username, Git commit email, public IP address, and cloud server information, to check local environment variables, and to access the Claude configuration file (~/.claude/settings.json) in a hidden directory. It also demands that the user's task commands and a complete list of tools available to the AI be reported. To prevent the AI from being perfunctory, four rules were set at the end, requiring each to be accompanied by local file line numbers or executable commands as proof, forcing the AI to actually execute commands on the local machine to retrieve data.
The poster initially suspected a virus infection or network hijacking, but after writing a separate program to verify the same connection, it was confirmed that the response was signed with a genuine Alibaba Cloud certificate, indicating it was sent from Alibaba Cloud's own servers. Testing with other request tools without account keys revealed that as long as the request included the version number of the Apple version of the Alibaba Cloud command-line tool (3.3.4), the Alibaba Cloud server would consistently output that text. Changing the version number to 3.0.0 immediately restored normal operation, indicating the interception switch was on the server side, not on the client software.
Just 41 minutes before triggering the interception, James Kettle, the head of development for the well-known security tool Burp Suite, posted that he had been "anti-hacking" by the target website for the first time while conducting authorization security testing for an unnamed company on the vulnerability platform HackerOne. The fake error message he publicly released was identical to the one provided by Alibaba Cloud. He didn't name the company due to a confidentiality agreement, but the original message required the reporting time to be filled in as "Beijing Time (UTC+8)".
The person involved has publicly shared the packet capture records on V2EX and submitted a support ticket to Alibaba Cloud. This afternoon, an account claiming to be an Alibaba Cloud employee replied to the original post saying "It's being processed urgently," but as of now, the official reason has not been explained. More and more developers are now directly granting Claude Code access to manage servers and check bills. Humans won't meticulously read through a 7,000+ word English error message, but AI will accept it all. Once it's executed as a normal authentication step, local configurations and private commands will be directly leaked in a routine query. [Original Link]
Share To
Timeline
HotFlash
APP
X
Telegram
CopyLink