Wallet address swapped: how clipboard address swapping works
You copy an address, paste it — and the field already holds a different one. How the swap works, why the edges of the address match, and what to check before sending.

You copied a wallet address, pasted it into the transfer field, and sent the funds. But the recipient says nothing arrived. Let’s look at how the address could have been swapped on its way from the clipboard to the input field, why the swap almost never gets noticed in time, and what actually helps.
In short: the address is swapped by a program on your device
There is a separate class of malware that watches the clipboard. It doesn’t hack anything or steal passwords. Its job is simpler: notice that you copied a crypto address and quietly replace it with the attacker’s address right in the clipboard.
You copy one address, and a different one gets pasted. From the network’s point of view, the transfer goes exactly where it was sent, and it can’t be undone.
Why the swap goes unnoticed
This is where the main trick lies, and it isn’t technical but psychological.
A blockchain address is a long string of random characters. Nobody reads it in full. People check an address like this: they look at the first few characters and the last few, and skip the middle, because comparing it by eye is tedious and seems pointless.
Attackers know this. That’s why the substituted address isn’t random but specially picked: its first characters match and its last characters match. Only the middle differs — exactly the part you don’t look at.
That’s why the common advice “check the last characters of the address” doesn’t work here. It checks exactly what gets faked first.
When the swap happens
Usually at the moment of pasting or right after it. You can copy the correct address, see it in the field, and still send the funds to the wrong place if the program managed to replace the clipboard contents between copying and pasting.
A separate variety swaps an address that’s already been pasted, at the moment you switch to another window. That’s why it makes sense to check the address not after pasting but right before confirming the transfer, as your very last action.
How the program gets onto your device
Through ordinary routes, and there’s nothing exotic about it. Cracked builds of paid software, browser extensions from unverified sources, files from private messages, installers from third-party sites instead of official ones.
Phones deserve a separate mention: there the source is more often not a virus but an app with excessive permissions installed from outside the official store.
What the app checks and what it doesn’t
It’s important to understand where the line is, otherwise you get a false sense of security.
In XWallet, when you withdraw crypto, the address field accepts only TRC-20 network addresses. The app won’t let an address from another network through: the field gets highlighted, the message “Enter a valid wallet address” appears, and you can’t send the transfer.
But what’s checked is the address format, not who it belongs to. A swapped address is a formally valid TRC-20 address that just belongs to someone else. The app accepts it the same way it accepts any correct address, because it can’t tell “your recipient” from “not your recipient”: the network doesn’t have that information.
Put simply: there’s protection against a network mistake, but not against an address swap. That part stays on you to watch.
What actually helps
There’s no universal protection, but a few things cover most of the risk.
- Check the whole address, not just the beginning and end. If comparing by eye is hard, compare the middle of the string — that’s exactly what differs in a swapped address.
- Check the address as your last action before confirming, not right after pasting.
- For a large transfer, send a small test amount first and wait for the recipient to confirm it arrived.
- Ask for the address where you can double-check it: it stays in the chat you copied it from, and you can compare what you pasted against it.
- Don’t install programs from unverified sources, and don’t install browser extensions for the sake of one minor feature.
One more thing: if the swap has already happened, the transfer can’t be reversed. A blockchain transaction is irreversible, and the address belongs to a stranger who won’t return the funds. The only thing worth doing is to check your device and stop using the source the program came from.
Bottom line
If your wallet address was swapped, the cause is most likely not a hacked wallet but a program on your device that watches the clipboard. The substituted address is specially picked so that its first and last characters match, which is why checking “the edges” doesn’t catch the swap. The app checks the address format and won’t let you send funds to another network, but it will accept a swapped address from the right network: formally, it’s valid. Only one thing works — checking the whole address right before confirming, and sending a test amount when the transfer is large.
App: @XWalletOne_bot · Website: xwallet.one · News: @xwalletone_news · Support: @xwalletsupport_bot


