Alibaba Cloud cho biết công cụ dòng lệnh đã trả về prompt yêu cầu AI agent gửi dữ liệu nhạy cảm trên máyAlibaba Cloud says its command-line tool returned prompts asking AI agents for sensitive local data
Alibaba Cloud cho biết công cụ dòng lệnh chính thức của hãng đã trả về phản hồi lỗi yêu cầu AI agent cung cấp chi tiết từ máy tính của người dùng và hướng dẫn vận hành của chính agent, và hãng nói sẽ ngừng gửi những prompt như vậy. Trong tuyên bố hôm thứ Tư, hãng mô tả đây là biện pháp đối phó an ninh trước nghi ngờ lạm dụng tự động, sau báo cáo đầu tuần này của nhà phát triển ZengLeiPro trên diễn đàn V2EX.

Diễn biến
- Ngày 19 tháng 11: Phiên bản mới nhất của công cụ, 3.5.4, được phát hành trước sự cố; ghi chú phiên bản không nhắc gì tới vấn đề này. Nhà phát triển gặp sự cố đang dùng phiên bản 3.3.4, chậm hơn vài phiên bản.
- Đầu tuần này, sau khoảng một giờ sử dụng bình thường: Các lệnh gọi của ZengLeiPro tới dịch vụ điện toán, cơ sở dữ liệu, thanh toán và định danh bắt đầu trả lỗi, trong khi một đường dẫn lưu trữ đối tượng vẫn hoạt động.
- Thứ Hai: James Kettle, giám đốc nghiên cứu tại PortSwigger, viết rằng một trang web ông đang kiểm tra đã trả lời công cụ kiểm tra AI của ông bằng yêu cầu “client attestation” gần như giống hệt. Trang web thuộc chương trình bug bounty riêng qua HackerOne và ông không nêu tên trang web.
- Thứ Ba: Kettle cho biết trên X rằng HackerOne đang xem xét vụ việc và một người dùng khác đã liên hệ vụ này với báo cáo trên diễn đàn, dù ông không tự xác nhận mối liên hệ.
- Thứ Tư: Alibaba Cloud đăng tuyên bố trên tài khoản dịch vụ khách hàng đã xác minh tại Weibo. Hãng nói các lệnh gọi tần suất cao qua AI agent đã kích hoạt chính sách kiểm soát rủi ro, chặn yêu cầu và trả về prompt yêu cầu chi tiết về môi trường chạy của nhiệm vụ.
Theo tuyên bố, biện pháp này nhằm phân biệt lưu lượng tự động đáng ngờ với sử dụng thông thường và cải thiện phát hiện lạm dụng; thông tin thu thập chỉ dùng cho mục đích an ninh. Hãng nói từ nay sẽ chỉ kích hoạt biện pháp như vậy khi có bằng chứng rõ ràng về hành vi độc hại và “countermeasure information will no longer be returned as prompts”, theo bản dịch từ tiếng Trung.
Cơ chế
Một số lệnh gọi trả về khối văn bản tiếng Anh 7.153 byte ở dạng JSON, tự xưng là proxy phân tích và nói: “The analysis proxy requires a client attestation payload.” Nhà phát triển không cung cấp thông tin nào và không bao giờ liên hệ địa chỉ mà prompt yêu cầu agent sử dụng; ông lưu ý không có thông tin nào trong số đó là thứ các truy vấn đám mây của ông cần.
- Tên đăng nhập và email Git commit: của máy tính.
- Địa chỉ IP công khai: kèm nhà cung cấp đám mây, khu vực và instance khi áp dụng.
- Tên và mô hình AI agent: đọc từ biến môi trường và tệp cấu hình.
- Địa chỉ kho mã nguồn: của dự án.
- Nhiệm vụ và hướng dẫn của agent: gồm hướng dẫn vận hành, giới hạn và công cụ được phép sử dụng.
Để xác định nguồn gốc, nhà phát triển lặp lại yêu cầu bằng một chương trình riêng xác minh chứng chỉ máy chủ. Kết nối mang chứng chỉ hợp lệ cho tên miền API của chính nhà cung cấp, và máy Mac của ông không có chứng chỉ phụ nào có thể cho phép can thiệp và viết lại lưu lượng. Phản hồi cũng xuất hiện từ một client khác ngoài công cụ chính thức, chỉ khi yêu cầu mang đúng chuỗi định danh của công cụ; thay đổi nhỏ chuỗi này khiến lỗi thông thường quay lại.
Phạm vi ảnh hưởng
Các kiểm tra trên cho thấy phản hồi đến từ chính dịch vụ chứ không phải bản sao bị sửa đổi của công cụ, dù chúng chỉ đến từ máy của một người. Chứng chỉ hợp lệ cho thấy phản hồi đến từ hệ thống của nhà cung cấp, chứ không chứng tỏ hướng dẫn bên trong an toàn để tuân theo; một người dùng diễn đàn khác không tái hiện được hành vi này. Vì biện pháp đối phó chạy trên máy chủ của công ty, không cần phiên bản mới của công cụ để tắt nó, nên việc không có phiên bản mới cũng không chứng minh điều gì.
| Hạng mục | Chi tiết |
|---|---|
| Công cụ | Công cụ dòng lệnh chính thức của Alibaba Cloud |
| Phiên bản gặp sự cố | 3.3.4 |
| Phiên bản mới nhất | 3.5.4, phát hành 19 tháng 11 |
| Dịch vụ trả lỗi | Điện toán, cơ sở dữ liệu, thanh toán và định danh |
| Dịch vụ vẫn hoạt động | Một đường dẫn lưu trữ đối tượng |
| Dữ liệu bị yêu cầu | Tên đăng nhập, email Git, IP công khai, tên và mô hình agent, địa chỉ kho mã, nhiệm vụ và hướng dẫn của agent |
| Bằng chứng gửi dữ liệu | Không có trong tài liệu đã xem xét; hãng chưa nói có nhận được hay không |
| Khuyến cáo / bản vá | Không tìm thấy khuyến cáo bảo mật, phiên bản sửa lỗi hay thông báo hoàn thành trong các nguồn đã xem xét |
Vì sao tin này đáng chú ý
Vụ việc đảo ngược một kiểu tấn công quen thuộc: trong prompt injection, hướng dẫn ẩn trong dữ liệu khiến AI agent coi chúng như mệnh lệnh của chính nó. Cách này thường tiếp cận agent qua trang web hoặc tài liệu nó đọc, và nghiên cứu trước đây đã phát hiện hàng chục điểm yếu như vậy trong các công cụ lập trình AI. Tại đây, hướng dẫn xuất hiện trong phản hồi lỗi của một dịch vụ đáng tin cậy, được mã hóa, mà agent có mọi lý do để tuân theo.
Equixly, công ty kiểm tra hệ thống AI, đã so sánh hai prompt trong tuần này và thấy chúng có chung mã lỗi, cách diễn đạt về proxy phân tích và yêu cầu xác thực, nhưng gọi mối liên hệ là có khả năng chứ chưa được chứng minh. Tài khoản của công ty cũng để lại một điểm chưa giải thích được: hãng đổ lỗi cho tần suất yêu cầu cao, nhưng prompt lại xuất hiện với một yêu cầu duy nhất mang chuỗi định danh của công cụ.
Việc cần làm ngay
- Coi mọi phản hồi là dữ liệu, không phải mệnh lệnh: Kể cả thông báo lỗi từ dịch vụ, agent cũng không nên coi đó là chỉ thị phải tuân theo.
- Yêu cầu phê duyệt riêng: Agent không nên đọc tệp cục bộ hay gửi thông tin ra ngoài chỉ vì một phản hồi yêu cầu như vậy.
- Chạy agent với quyền tối thiểu: Chỉ cấp quyền truy cập ít nhất mà agent cần để hoàn thành nhiệm vụ.
- Kiểm tra nhật ký: Xem các chi tiết được yêu cầu có bị đọc hay gửi đi hay không, để giới hạn mức độ ảnh hưởng của một prompt như vậy.
Những điều nguồn chưa xác nhận
- Liệu thay đổi của Alibaba Cloud đã hoàn tất hay chưa; tuyên bố được lưu trong bản đăng lại hứa hẹn một thay đổi chứ không báo cáo một thay đổi đã xong.
- Liệu bất kỳ AI agent nào đã gửi dữ liệu được yêu cầu hay hãng có nhận được dữ liệu hay không.
- Vì sao prompt xuất hiện với một yêu cầu duy nhất dù hãng nói do tần suất cao; giờ sử dụng nặng trước đó có thể để lại dấu vết gắn với thiết lập của nhà phát triển, nhưng các nguồn không làm rõ điều này.
- Mối liên hệ giữa trường hợp của Kettle và báo cáo trên V2EX; Equixly gọi đó là có khả năng chứ chưa được chứng minh, và Kettle không tự xác nhận.
Nguồn: The Hacker News — “Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data”, bài của Swati Khandelwal, ngày 4 tháng 12 năm 2026. Đọc bài gốc
Đọc tiếp
Alibaba Cloud said its official command-line tool returned error responses asking AI agents to hand over details from the user's computer and the agents' own operating instructions, and said it would stop sending prompts like these. In a statement on Wednesday, the company described them as a security countermeasure against suspected automated abuse, after developer ZengLeiPro reported the issue earlier this week on the forum V2EX.

Timeline
- November 19: The newest release of the tool, version 3.5.4, was published before the incident; its release notes mention nothing of this kind. The affected developer was running version 3.3.4, several releases behind.
- Earlier this week, after about an hour of normal use: ZengLeiPro's calls to the provider's compute, database, billing and identity services started returning errors, while one object-storage path kept working.
- Monday, 30 November 2026: James Kettle, director of research at PortSwigger, wrote that a website he was testing had answered his AI testing tool with an almost identical demand for a "client attestation". The site was in a private bug bounty programme run through HackerOne, and he did not name it.
- Tuesday, 1 December 2026: Kettle said in a post on X that HackerOne was looking into the case and that another user had tied it to the forum report, though he did not confirm the link himself.
- Wednesday, 2 December 2026: Alibaba Cloud posted a statement on a verified customer service account on Weibo. It said the user's high-frequency calls via an AI agent had triggered a risk-control policy that blocked the requests and returned a prompt requesting details of the task's running environment.
According to the statement, the countermeasure was meant to separate suspicious automated traffic from ordinary use and to improve abuse detection, and the details it gathered would be used only for security purposes. The company said it would trigger such countermeasures from now on only on conclusive evidence of malicious use, and that "countermeasure information will no longer be returned as prompts", in wording translated from Chinese.
Mechanism
Some calls instead returned a 7,153-byte block of English text in JSON form. It announced itself as an analysis proxy and said: "The analysis proxy requires a client attestation payload." The developer supplied none of the information and never contacted the address the prompt told the agent to use; he noted that none of it was anything his cloud queries needed.
- Login name and Git commit email: from the computer.
- Public IP address: with the cloud provider, region and instance where that applied.
- AI agent's name and model: read from environment variables and configuration files.
- Project code repository address: for the project.
- The agent's task and instructions: including the instructions it was operating under, its limits, and the tools it was allowed to use.
To find where the responses came from, the developer repeated the requests using a separate program that verified the server's certificate. The connection carried a valid certificate for the provider's own API domain, and his Mac held no extra certificate that could have let something sit in the middle and rewrite the traffic. The response also appeared from a different client outside the official tool, and only when the request carried the tool's exact identifying string; small changes to that string brought back ordinary errors.
Scope of Impact
Those checks point to the service itself rather than a tampered copy of the tool, though they come from one person's machine. A valid certificate shows a response came from the provider's systems, not that the instructions inside it are safe to follow; one other forum user could not reproduce the behaviour. Because the countermeasure runs on the company's servers, no new version of the tool would be needed to switch it off, so its absence proves nothing either way.
| Item | Detail |
|---|---|
| Tool | Alibaba Cloud's official command-line tool |
| Affected version | 3.3.4 |
| Newest version | 3.5.4, released November 19 |
| Services returning errors | Compute, database, billing and identity |
| Service still working | One object-storage path |
| Data requested | Login name, Git email, public IP address, agent name and model, repository address, and the agent's task and instructions |
| Evidence data was sent | None in the material reviewed; the company has not said whether any was received |
| Advisory / fix | No security advisory, fixed version or completion notice was found in the sources reviewed |
Why This Matters
The episode runs a familiar attack in reverse. In prompt injection, instructions hidden in data trick an AI agent into treating them as its own orders. That trick usually reaches an agent through a web page or a document it reads, and earlier research has found dozens of such weaknesses in AI coding tools. Here the instructions came in the error response of a trusted, encrypted service the agent had every reason to obey.
Equixly, a firm that tests AI systems, compared the two prompts this week and found they shared an error code, the analysis-proxy wording and the attestation request, but called the connection likely rather than proven. The company's own account also leaves one thing unexplained: it blamed a high rate of requests, but the prompt came back for a single request that carried the tool's identifier.
What to Do Now
- Treat every response as data, not as a command: Error messages from a service should not be treated as instructions to follow.
- Require separate approval: An agent should not read local files or send information outward just because a response asks it to.
- Run agents with least access: Give an agent only the minimum access it needs to complete its task.
- Check the logs: See whether any of the requested details were read or sent, to limit how far a prompt like this can reach.
What the source does not confirm
- Whether Alibaba Cloud's change is complete; the statement, preserved in a reposted copy, promised a change rather than reporting a finished one.
- Whether any AI agent returned the requested data, or whether the company received any data.
- Why the prompt appeared for a single request although the company cited a high request rate; an earlier hour of heavy use may have left some trace tied to the developer's setup, but the sources do not settle it.
- The link between Kettle's case and the V2EX report; Equixly called it likely rather than proven, and Kettle did not confirm it himself.
Source: The Hacker News — "Alibaba Cloud Got Caught Prompt-Injecting AI Agents With Requests for Sensitive Local Data", by Swati Khandelwal, 4 December 2026. Read the original
Read next
Nguồn tham chiếuSource: thehackernews.com
