Malicious Code in Udesk Scripts Swaps Crypto Deposit Addresses: What Is Known and How to Protect Yourself
SlowMist found a script in the Udesk customer support platform that replaces deposit addresses on pages and in the clipboard and steals login data. What is confirmed, why comparing the address does not help, and what to do.
This is a supply chain attack. An exchange website can be intact while malicious code arrives with a third-party script the site owner chose to embed. To the user it looks like the real deposit page of a real exchange. Below we explain what was found, what is confirmed and what the public reports do not say, how to check an address so the swap cannot fool you, and what to do if funds have already been sent.
| Item | What is known |
|---|---|
| Who found it | SlowMist during routine threat monitoring, published October 27, 2026 |
| Infected file | udeskApi.2026-10-16.cached.js with an injected malicious loader |
| Second stage | deeps.js, loaded asynchronously, loader address hidden with hex encoding |
| Attacker domain | udeskqlobal[.]com (a "q" instead of the "g"), data sent to /c.php |
| Address swapping | BTC, EVM, TRON, Solana, LTC and DOGE; page scanned every 200 ms |
| Named targets | mgbx[.]com, bitxex[.]io and one more site (the name is truncated in the source) |
| Udesk statement | none found in the coverage we reviewed |
| Loss figures | none reported in the coverage we reviewed |
What was found in the Udesk scripts
Udesk is a Chinese customer support platform that companies embed on their sites for live chat and ticket handling. According to SlowMist, a loader was injected into udeskApi.2026-10-16.cached.js. It fetches a second script from a domain that looks like the genuine one at a glance, with a "q" in place of the "g". Write-ups by TechFlow and PANews describe the same behavior.
The second script does two things. The first is data theft: it reads accessible cookies, localStorage and sessionStorage, intercepts form submissions and login or authentication requests, and sends everything to a remote PHP endpoint. This collection is not limited to the three target sites, so other pages that load the infected script may be exposed too. The second is address swapping: on the target sites the code scans the deposit page every 200 milliseconds and replaces any address it finds with preset attacker addresses on Bitcoin, EVM chains, TRON, Solana, Litecoin and Dogecoin.
Why the usual address check fails here
The familiar advice is to paste the copied address into your wallet and compare the first and last characters with the page. Against this attack it is useless. The code wraps the clipboard API, replaces copy buttons and intercepts copy events, so the displayed address and the copied address are both fake at the same time. You end up comparing a forgery with a forgery. Researchers warn about exactly this, and it is why the attack is hard to notice.
Use a method that does not depend on the page running the malicious code. Open the deposit address in the exchange's mobile app, which does not load the website's scripts, and compare it with the browser version: any mismatch is an alarm. For a larger amount, send a small test transaction first and wait for it to credit. If you have a second device or a clean browser without extensions, open the deposit page there as well. A withdrawal address whitelist protects transfers out of the exchange but not deposits into it, so it does not replace these checks.
Which exchanges are affected
It is easy to draw the wrong conclusion here. Researchers named three target sites, and they are small platforms, not the largest exchanges. Nothing in the reports says Binance, Bybit, OKX or other major platforms were hit. Still, any site that loaded the infected Udesk script is at risk, and how many sites did so remains an open question. If you use a lesser-known exchange or any service with a Chinese-origin support chat, treat deposit addresses with extra caution and verify them through an independent channel.
We found no confirmed information about the amount of damage or about Udesk's response: the coverage by The Defiant, PANews and TechFlow contains neither. We will update this article when official statements appear.
What to do if you used an affected site
If you logged in to an account on a site where this script may have run, assume cookies and login data could have leaked. Sign out on all devices, change your password and API keys from a clean device, recreate two-factor authentication, and review login history and linked withdrawal addresses. Then check your recent deposits: compare the address in your wallet's transfer history with the one shown in your exchange account and confirm the funds arrived.
Sent funds to the wrong address?
Describe your situation on Telegram: diagnosis is free and a tracing report is a fixed fee with no percentage. Only the authorities can return funds, and we cannot guarantee a result.
If funds were already sent to the wrong address
Act within the first hours. Save the TXID, screenshots of the deposit page, the time and the amount. Open a block explorer and see where the funds went next: if they still sit on the recipient address or reached an exchange, a freeze is still possible. Contact the support team of the platform that received the funds with the TXID and a short description, since only that platform can freeze them. Then file a report with law enforcement, because only a decision of the competent authorities can return funds. For the sequence of steps see how stolen funds move and what to do and our guide on whether stolen crypto can be recovered.
We help at this stage with analysis: we trace the movement of funds across the blockchain, build a transaction map and prepare documents for law enforcement and the exchange. An honest assessment: if the attacker moved funds quickly through mixers or bridges and switched networks, the chances are small, while funds that reached a KYC exchange give better odds. Recovery cannot be guaranteed, and promises of a 100% refund are a sign of a scam.
This is not the first case: how supply chain attacks work
The idea is not new, and earlier cases show the scale of the risk. In the $1.5 billion Bybit theft, SlowMist reported that the Safe{Wallet} front-end code had been tampered with so the interface showed one thing while a different transaction was signed, see the SlowMist analysis. Earlier, researchers recorded code injected into a third-party analytics script that looked for an exchange's BTC withdrawal page and changed the destination address. Another example is malicious npm packages that chose, from the attacker's pool, the address visually closest to the genuine one, described in a SlowMist report. The principle is the same each time: the attacker does not need to break a hardened exchange, only to compromise something the exchange loads onto its pages.
The practical rule for users follows from this. Visual similarity proves nothing, and verification has to go through a channel the page does not control. For larger amounts do not rely on one browser and one page: confirm the address on a second device or in the mobile app.
What website owners should do
For companies that embedded Udesk or similar widgets, the recommendations from SlowMist come down to this: stop loading the infected scripts at once and restore a trusted version, review data exfiltration records, revoke sessions that may have leaked, change credentials from a clean environment, and verify deposit addresses and transaction logs through trusted backend systems. The wider lesson goes beyond one vendor: any third-party script on a deposit page gets the same privileges as your own code. Keep critical pages separate from chat widgets, restrict script loading with a content security policy and subresource integrity, and host the scripts you need on your own domain.
How to protect yourself from similar attacks
Do not keep more on an exchange than you need for trading, and for every large deposit verify the address in the mobile app or a second browser. Avoid entering data into support chat widgets on deposit and withdrawal pages. Review withdrawal addresses and login history from time to time. For your own wallets, use a hardware device that confirms the address on the device screen rather than in the browser. If you suspect a compromise, start with our guide on how to check whether your wallet was hacked. You can also screen any address before sending money with a free AML wallet check: if it is linked to a scam, you will see it before the transfer.
Frequently Asked Questions
What happened with Udesk?
Which exchanges were affected?
Why does comparing the pasted address not help?
How do I deposit safely?
What if I already sent funds to the swapped address?
Should I change my passwords?
What should website owners do?
Need to trace a transaction?
Share the TXID and wallet address. We run a full on-chain trace using Chainalysis Reactor and TRM Labs and tell you where the funds went.