Detections · Harmful behavior

Mac clipboard hijacking: a copied address quietly swapped for another

A clipboard hijacker, or “clipper”, watches what you copy and replaces it before you paste. Its usual target is a cryptocurrency wallet address: you copy the right one, you paste the attacker’s, and the payment cannot be taken back.

Updated November 25, 2026 · 31 detections in this category

In short

Replacing what was copied with something else, typically a cryptocurrency address swapped for another.

MacVigil has 31 detections in this category. It reads the file to find them and never runs it.

What clipboard hijacking is

On a Mac, any program running in your account can read and write the general pasteboard, the system clipboard behind Copy and Paste. A clipper uses that freedom to wait for a value worth stealing, such as a wallet address, a bank account number or a payment link, and to put its own value in its place.

The swap is silent. Long wallet addresses look alike at a glance, so most people check only the first and last few characters, if at all. The attacker gains every payment made after the swap, and the victim usually notices only when the money never arrives.

How Mac malware does it

What MacVigil looks for

MacVigil reads the file and never runs it. Its strongest findings tie the pieces together in the code: a value read from the clipboard, tested for an address shape, with a different value written back to the clipboard inside that same branch. When those steps sit in one function or one script and no accountable publisher stands behind the file, the combination is rated at the top of the scale.

For extensions, the engine links the manifest that grants clipboard access to the code file that holds the address pattern and the replacement address. Weaker combinations, where clipboard reading, an address format, a replacement value, a timer and a hidden file appear only as separate mentions, are reported with that caveat: nothing shows they are linked or that any of them ran.

A single word like pbcopy or pbpaste alone is only an informational mention. Many honest tools copy text, so one ingredient is never enough for a dangerous verdict.

When it is normal

Clipboard managers, text expanders, password managers and developer tools read and write the clipboard all day. Some even rewrite what you copy on purpose, for example to strip formatting or tracking parameters from links. What sets a clipper apart is the test for a payment value followed by a fixed replacement.

How to check your Mac

Know what a file does before you open it

MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.

Download free for Mac

More: all detection categories · what MacVigil detects · the blog