Dịch cho anh em dễ hóng
Dưới đây là bản tổng hợp (tóm tắt) nội dung văn bản bằng tiếng Việt, tập trung vào các điểm chính một cách rõ ràng và ngắn gọn:
Tổng quan về hai extension: xHunt và Frontrun
Nhiều người dùng CT (có lẽ là Crypto Twitter) thường sử dụng các extension như Frontrun Pro hoặc xHunt (đặc biệt phổ biến trong cộng đồng Trung Quốc). Họ tin tưởng vì mã nguồn mở trên GitHub, nhưng việc mã nguồn mở không đồng nghĩa với an toàn. Tác giả đã kiểm tra mã nguồn và phát hiện nhiều vấn đề đáng lo ngại.
xHunt:
Mã nguồn mở nhưng không an toàn: README tuyên bố lưu trữ dữ liệu chỉ cục bộ và không upload thông tin nhạy cảm – điều này là dối trá.
Thu thập dữ liệu: Mọi cuộc gọi API đều gửi địa chỉ IP thực, thành phố, ISP, dấu vân tay thiết bị (sử dụng FingerprintJS) và URL đầy đủ của mọi trang bạn truy cập trên Twitter đến server kb(.)xhunt(.)ai.
Theo dõi vị trí: Sử dụng 4 dịch vụ geolocation (ipapi(.)co, ip-api(.)com, ipinfo(.)io, ipify(.)org) để xác định vị trí.
Che giấu mã: Sử dụng mã hóa RC4 và mảng String.fromCharCode để ẩn tên header như "authorization", "x-user-id", "x-window-location-href" – điều mà lập trình viên hợp pháp không làm.
Rủi ro lớn: Có proxy HTTP không giới hạn trong script nền (xử lý EXECUTE\_REQUEST) mà không kiểm tra URL, cho phép lấy bất kỳ thứ gì (mạng nội bộ, metadata cloud). Có hàm chèn wallet rỗng đã sẵn sàng với quyền truy cập "world:MAIN". Sử dụng config từ xa trên Alibaba Nacos để thay đổi server-side nhanh chóng mà không cần duyệt Chrome Store.
Frontrun:
Khác biệt: Can thiệp vào 12 endpoint GraphQL của 𝕏 (Twitter) như feed, followers, searches, và vá fetch, XHR, WebSocket trên hơn 8 nền tảng crypto.
Xử lý dữ liệu: Dữ liệu chặn từ 𝕏 và crypto chủ yếu lưu cục bộ cho giao diện overlay. Tuy nhiên, khi mở site crypto, nó gửi tên nền tảng đến Amplitude; khi đăng nhập, gửi email và tên; lỗi thì upload log với ID thiết bị và user agent đến server loadbalance(.)frontrun(.)pro.
Tính năng từ xa: Sử dụng GrowthBook cho flag tính năng từ xa, cho phép thay đổi hành vi mà không cập nhật Chrome Store.
Ít mờ ám hơn: Dữ liệu không bị gửi ra ngoài như xHunt, nên ít rủi ro hơn.
Kết luận:
Hiện tại, cả hai extension chưa đánh cắp khóa ví hoặc rút tiền, nhưng xHunt có hạ tầng sẵn sàng cho các hành vi xấu (config từ xa, quyền cao, mã che giấu). Frontrun ít đáng ngờ hơn. Hãy cẩn thận khi cài đặt và nhận thức rõ rủi ro!
I guess most of the CT users often use fonrtun pro extension or xhunt extension (specially in the chinese community this is very popular), people see open source on github and just trust it.
so today, I checked both xhunt and frontrun to see what is really going on under the hood and tbh some of this stuff is wild.
xhunt is open source, it is true but being open source doesn't always mean safe. their README says "local-only data storage, no sensitive information uploads" which is a straight up lie.
i checked the actual code and every single API call sends your real IP address, physical city, ISP and even persistent device fingerprint using FingerprintJS and the full url of every single page you visit on twitter, all going to their server at kb(.)xhunt(.)ai. they hit 4 different IP geolocation services [ipapi(.)co, ip-api(.)com, ipinfo(.)io, ipify(.)org] just to figure out where you are.
even worse, they deliberately use RC4 encryption and String.fromCharCode arrays to hide header names like "authorization" and "x-user-id" and "x-window-location-href" from anyone reviewing the code. tbh legit developers don't do that.
they also have a completely unrestricted HTTP proxy in the background script (EXECUTE_REQUEST handler) with zero URL validation, means any code can tell your browser to fetch literally anything, your local network, cloud metadata, whatever. and there is an empty wallet injection function already wired up with world:MAIN access just sitting there waiting to be activated. their remote config runs on Alibaba Nacos so they can push changes server-side in minutes without any chrome store review.
frontrun is a lil bit different. it hooks into 12 𝕏 GraphQL endpoints : your feed, followers, following, searches, community posts, all of it and monkey-patches fetch, XHR, and WebSocket on 8 crypto platforms.
the intercepted API data from 𝕏 and crypto platforms stays in your browser for the overlay, but every time you open a crypto site, frontrun pings Amplitude with the platform name, when you log in it sends your email and name to Amplitude and on errors it uploads logs with your device ID and user agent to their own server at loadbalance(.)frontrun(.)pro
but the key difference is that intercepted data mostly stays local in your browser for the overlay UI. it's not being sent to their servers the way xhunt does it.
it worth noting that frontrun also uses GrowthBook for remote feature flags so they can change extension behavior server-side without a chrome store update too. but overall, frontrun is much less shady than xHunt in practice.
neither extension is stealing your keys or draining wallets today. but the infrastructure is there in the case of xhunt. remote config systems that can push silent changes, aggressive permissions, and in xhunt's case deliberate code obfuscation to hide what they are doing. just be aware of what you are installing.