Udesk's Poisoned Widget Rewrites Your Deposit Address Every 200 Milliseconds

0xPomp
Trading

The filename is the first tell. udeskApi.2026-10-16.cached.js — versioned, dated, hyphenated precisely the way a customer-service vendor's CDN names a cached bundle. Nothing in that string screams. That is the entire point.

Slow Fog flagged the file as a loader. What it loads is deeps.js, pulled asynchronously from udeskqlobal[.]com — a typosquat that swaps the g in "global" for a q. At console font size the two are indistinguishable. Read the string character by character and the whole thing falls apart. Three sites are named in the disclosure: mgbx[.]com, bikingex[.], bitxex[.]io. Six chains are targeted: BTC, EVM, TRON, Solana, LTC, DOGE. The script does not hunt private keys. It does something cheaper, quieter, and far more effective. It waits for the deposit page to render, then rewrites the address in place. Then it does it again every 200 milliseconds, indefinitely.

Udesk is a customer-service SaaS platform. Chat widget, ticket routing, the bubble in the corner of the page that nobody clicks until something breaks. Like every widget of its class, it ships to clients as a third-party JavaScript bundle and gets embedded site-wide — header, footer, checkout, deposit page, dashboard. That inclusion model is the vulnerability. A chat script runs with the same origin privileges as the exchange's own code. It reads cookies. It reads localStorage and sessionStorage. It rewrites the DOM and intercepts form submissions. There is no meaningful sandbox between "helpful support widget" and "the exchange itself."

This is not a novel attack class. Magecart ran the identical playbook against British Airways and Ticketmaster in 2018, injecting formjacking code into checkout pages to skim card numbers. In June 2024 a DNS hijack at Squarespace pushed malicious approvals onto the front-ends of Compound, Celer, and Pendle. E-skimming is a mature trade with a mature toolchain. What changed here is the asset. A card number can be cancelled. A deposit address is a bearer instrument. Send to it and the transaction finalizes in a way that no chargeback, no fraud department, and no support ticket will ever reverse.

Reconstruct the chain and the engineering is legible in about thirty seconds. Stage one is the poisoned bundle itself, which hides its command-and-control address in hexadecimal — a deliberate dodge around string-matching scanners that look for plaintext domains. Stage two is the asynchronous fetch of deeps.js from the lookalike host. The payload then reads cookies, localStorage, and sessionStorage; hijacks form submissions and login or authentication requests and POSTs the harvest to /c.php; and finally, gated on a site match, activates the address swap. Data exfiltration runs on every page. The address rewrite fires only on the named platforms. That asymmetry is a worker who knows how discovery happens.

The most underrated number in this entire disclosure is the polling interval. 200 milliseconds is not a one-shot text replacement. It is persistent adversarial overwrite. If the exchange's backend re-fetches the true address and re-renders the DOM, the script overwrites it again before the user's cursor reaches the field. Any front-end self-healing mechanism is structurally useless. The only remedies are removing the script or isolating its execution environment — and neither of those is a mitigation the victim site can deploy after the fact, at speed, on a Friday.

Then there is the clipboard. The script overwrites navigator.clipboard.writeText, replaces the visual state of the copy button, and intercepts the copy event. Copy the address, paste it into a wallet app, paste it into a notepad on a second device for comparison — every path returns the attacker's string. The traditional user-side verification ritual, the one the entire industry has been preaching for a decade, was not defeated. It was deleted.

Consider what that does to the hardware wallet talking point. A hardware wallet protects a private key. It does not protect the address you type into it. If the only reference in the room is the same poisoned screen the attacker controls, the device is faithfully displaying a lie and the user is comparing a lie to a lie. Out-of-band verification — a pre-registered whitelist, an address recorded before the attack — is the sole surviving control. Everything else is theater with a countdown.

And the disclosure is underweight on the damage nobody is talking about. Session theft may be more consequential than the address swap. Read the payload again: authenticated sessions, plaintext credentials, and whatever API keys sit reachable in page scope. A live session bypasses login 2FA entirely. Harvested passwords get sprayed across every other platform the user touches. I have audited exchange front-ends for diligence work, and I can tell you the number of sensitive objects reachable from a global page context is never zero. From an authenticated session, an attacker may attempt to register a withdrawal whitelist entry or mint an API key. That chain is not in the original report. It is also not speculative in the way institutions would like it to be.

Worse, the blast radius was never mapped. The disclosure notes that unmatched pages may still be affected, and that the data collection ignores the host site's own rules. Chat widgets are embedded site-wide by default. Every site running this bundle — including sites that never handle deposits and therefore never appear on the target list — may have been silently exfiltrating sessions and credentials for as long as the loader was live.

The tradecraft deserves respect even as it deserves contempt. Hexadecimal C2 encoding. A visual homograph in the domain. Two-stage async loading. A site gate that limits activation and reduces accidental discovery. A 200ms persistence loop. And a filename patterned on the vendor's own versioned cache convention — which tells you the operator had internal knowledge or a long reconnaissance window, not an opportunistic script. The backend is a PHP file, c.php. That detail matters. PHP endpoints suggest a commercial or semi-commercial credential-skimming kit rather than a bespoke build, which means the marginal cost of redeploying this against the next SaaS vendor is roughly the price of a domain and a cheap VPS. Pick a platform, not a target — the vendor is a one-to-many amplifier. The three named sites are small, obscure, plausibly offshore. Weak security budgets, weak governance over third-party components, weak incident response. High-yield, low-friction victims.

The genuine gap is initial access, and nobody has answered it. Was the vendor's build pipeline or CDN compromised at source? Was a downstream customer breached and used to poison the artifact in reverse? Was each site's inclusion of the script intercepted mid-flight? Was it a subcontractor? If the answer is the first, every Udesk client is exposed and this story grows by an order of magnitude by Monday.

Here is the part the alerts will not say. The industry is buying the wrong defense. "Verify the address" is the exact behavior this attack was engineered to eliminate. Subresource Integrity would have killed the whole thing at the browser level — change a single byte of the script and the browser refuses to execute it. Pair it with a strict Content Security Policy and a script allowlist and the attack surface collapses to something an afternoon of engineering can hold. Almost nobody runs it. We build on sand, then pretend it's bedrock. There is also a possibility I will flag and refuse to sell: small offshore platforms occasionally write their own exit scripts. Complicity is not excluded by the disclosure. It is also not supported by it. Treat it as an open question, not a conclusion.

What to watch next is narrow and concrete. The initial access disclosure, because it determines whether the affected surface is three sites or three hundred. The next quarterly data on integrity control adoption, because if it does not move, this incident is a rehearsal. And the chain itself, because stolen coins still have to cross a bridge or hit a centralized exchange deposit address, and that is the only clock the attackers are racing. The ledger remembers what the hype forgot. The future is a bug report waiting to happen, and this one is still open.

Market Prices

BTC Bitcoin
$59,667.4 -1.43%
ETH Ethereum
$1,659.37 -2.61%
SOL Solana
$72.19 -2.18%
BNB BNB Chain
$564.62 +0.01%
XRP XRP Ledger
$0.9430 -1.27%
DOGE Dogecoin
$0.0587 -2.42%
ADA Cardano
$0.1470 -2.84%
AVAX Avalanche
$6.44 -3.81%
DOT Polkadot
$0.6638 -1.89%
LINK Chainlink
$8.89 -5.70%

Fear & Greed

12

Extreme Fear

Market Sentiment

7x24h Flash News

More >
{{快讯列表(10)}} {{loop}}
{{快讯时间}}

{{快讯内容}}

{{快讯标签}}
{{/loop}} {{/快讯列表}}

Event Calendar

{{年份}}
18
03
unlock Sui Token Unlock

Team and early investor shares released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

12
05
halving BCH Halving

Block reward halving event

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

28
03
unlock Arbitrum Token Unlock

92 million ARB released

Tools

All →

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

Market Cap

All →
1
Bitcoin
BTC
$59,667.4
1
Ethereum
ETH
$1,659.37
1
Solana
SOL
$72.19
1
BNB Chain
BNB
$564.62
1
XRP Ledger
XRP
$0.9430
1
Dogecoin
DOGE
$0.0587
1
Cardano
ADA
$0.1470
1
Avalanche
AVAX
$6.44
1
Polkadot
DOT
$0.6638
1
Chainlink
LINK
$8.89

🐋 Whale Tracker

🔴
0x7aac...bf51
6h ago
Out
9,527,358 DOGE
🔴
0xa239...19e5
12h ago
Out
1,978,579 USDC
🔵
0x09e8...9e16
5m ago
Stake
4,789,848 USDT

💡 Smart Money

0x9871...591f
Experienced On-chain Trader
+$1.8M
77%
0x24de...d2fb
Market Maker
+$1.9M
87%
0x238d...8d75
Experienced On-chain Trader
+$4.0M
75%