A compromised host: the signature is clean, the device is not
Almost all of our writeups are about reading the request and not signing away too much. But there is a whole class of threats where you do everything right and still lose: when the computer or phone itself is infected. The malware does not break cryptography or forge a signature - it swaps what you see on the screen: the address, the amount, the window. Perfect signing hygiene is necessary here, but it is not enough.
The threat is not in the signature, it is in the device
Most of the attacks in our hub (approve drainer, signature phishing) deceive you inside an honest wallet: the request is real but harmful. This one is different - the client or the OS itself is compromised, so everything the PC screen draws is suspect. "But I read the address on the screen" no longer means "the address is right": the screen shows whatever the malware wants.
What it looks like
- Clipboard hijacking. Malware watches the clipboard and, at the moment you paste, swaps the copied recipient address for the attacker's. You copied the right one - the wrong one was pasted.
- Malicious and fake browser extensions. An extension disguised as a wallet or a "helper" reads pages, swaps addresses and request fields, or steals what you type.
- Counterfeit wallet apps. Fake builds in stores and on look-alike sites look like the real wallet and steal the seed phrase or key right as you enter it.
- Keyloggers and RATs. Remote access to the device: the attacker sees your screen and input and can act as you.
- Trojanized updates and installers. The malware arrives inside an "update" or a pirated build of a popular program.
You copy your address to receive a transfer and paste it into a field. On an infected machine the field ends up holding someone else's address - visually similar. You look at the PC screen, it looks fine, you confirm. The signature is perfectly correct - it just signs the wrong address.
How to protect yourself
- Verify on the device's own screen, not the PC. A hardware wallet shows the address and transaction parameters on its own display, which the infected computer does not control. Verify what you see on the device screen - that is the source of truth.
- A hardware wallet is not a silver bullet. If you sign "blind" (blind-signing), the infected host swaps the payload, and by confirming with a tap without reading the device screen you approve it. The defense works only if you actually read what the device shows (see verify a transaction before you sign).
- Re-check the pasted address in full. After pasting, verify the address completely, or better, on the hardware device screen. It is the same habit as against address poisoning.
- Few extensions, trusted source only. Install extensions and wallet apps only from official sites/stores via your own bookmark, check the publisher and the permissions requested, and remove the extras.
- Device hygiene. Keep the OS and browser updated, do not install pirated software or "cracks", and keep a separate clean device or a hardware wallet for meaningful sums.
Why it matters
This class surfaces regularly in wallet-user communities: a person is sure they signed the right transaction, yet the funds left, because the infected host swapped the address or the payload before signing. The takeaway is simple: signing hygiene and device cleanliness are two separate lines of defense, and you need both.