You searched for a way to clean up a slow Mac, found a page that looks exactly like CleanMyMac, and instead of a normal download button it told you to open Terminal and paste a command.
That's the scam. The real CleanMyMac, made by MacPaw, never installs that way. If you haven't pasted anything, close the tab and you're fine. If you have, treat that Mac as compromised and keep reading.
The quick answer
- Don't paste the command. No normal Mac app asks you to paste something into Terminal to install it.
- Get CleanMyMac only from MacPaw's own site, macpaw.com, typed into the address bar yourself, not reached through an ad or a search result.
- Already ran it? Turn off Wi-Fi on that Mac, stop logging in to anything on it, and change your important passwords from a different device.
- Sign out every session for your email and work accounts, so stolen login cookies stop working.
- Erase and reinstall the Mac (or have someone do it) before it goes back to work.
What happened (as of March 2026)
On March 6, 2026, Malwarebytes Labs reported a fake CleanMyMac website at the address cleanmymacos[.]org. It copied the look of the real product page, but had nothing to do with MacPaw.
Instead of a download, it offered an "advanced" install step: copy this command, open Terminal, paste, press Return. That command quietly downloaded and ran a script, and the script installed an information stealer called SHub Stealer.
Here's what Malwarebytes said SHub went after:
- Passwords and other data saved in your browsers
- Your Mac's Keychain (where macOS stores saved passwords)
- Cryptocurrency wallets and Telegram sessions
It also tampered with wallet apps such as Exodus and Ledger Live, so the attacker could grab the wallet's recovery phrase later. And it set itself up to keep running by disguising itself as a Google software updater, which is the kind of detail that makes "I'll just delete the bad file" a bad plan.
How people found the fake site isn't fully confirmed. Cybernews reported the operators were likely buying search ads to reach people looking for the app.
It didn't stop with one fake site
In May 2026, Microsoft's security researchers described a wider campaign using the same trick: Terminal commands posted on blogs and community sites, dressed up as fixes for Mac problems like freeing up disk space. The payloads included SHub and other Mac stealers. In August 2026 Microsoft reported the same campaign had started hiding its pages from anyone who didn't look like a real Mac user, which makes them harder for researchers to find and take down.
This isn't the first fake CleanMyMac, either. MacPaw has its own warning about lookalike CleanMyMac sites. Popular app, trusted name, people searching for it every day. Of course criminals copy it.
How to tell a fake download page
You don't need to be technical to catch this one. Look for:
- Any instruction to open Terminal and paste a command. That's the giveaway. Real Mac apps come from the App Store or as a normal download you open and drag into Applications.
- The wrong web address. MacPaw's site is macpaw.com. Lookalikes use names like "cleanmymac" plus an extra word or a different ending.
- You got there from an ad. Sponsored results sit above the real ones, and that's exactly where fake download pages like to be.
- A request for your Mac password in a Terminal window or pop-up you didn't expect.
Apple's own advice backs this up. Its guide to opening apps safely calls the App Store the safest place to get apps, and says macOS checks apps from elsewhere for a known developer and Apple's malware scan before they open. Pasting a command into Terminal skips the normal app install, which is why the attackers like it.
You may have heard Apple added a warning for this. Several outlets, including Malwarebytes, reported in March 2026 that macOS Tahoe 26.4 sometimes blocks a pasted Terminal command with a "Possible malware, Paste blocked" message. Apple hasn't documented it and it doesn't catch everything, so treat it as a bonus, not a safety net.
If you already ran the command
Don't panic, and don't try to clean it up by hand. Work through this in order.
1. Cut it off
Turn off Wi-Fi on that Mac (or unplug its network cable). Stop signing in to anything on it, including your email and bank.
2. Check what you ran
Open Terminal and press the up arrow key. It shows the last commands typed or pasted there. If you see something long you didn't write, often with curl and a web address in it, that's the one. Close Terminal without pressing Return.
3. Change passwords from a different device
Use a phone or another computer you trust. Start with:
- Your email account (it's the key to resetting everything else)
- Banking and payment accounts
- Your Apple Account
- Anything saved in that Mac's browsers or Keychain
Turn on two-step sign-in (MFA) anywhere it isn't on yet.
4. Sign out every session
A stolen login cookie can get an attacker into an account without your password or your MFA code. Changing the password alone doesn't always end that.
For Microsoft 365, an admin follows Microsoft's steps: in the Microsoft 365 admin center, go to Users > Active users, select the person, choose Reset password, then on the Account tab select Sign out of all sessions. Microsoft says it can take up to an hour to take effect. For personal accounts, look for "sign out of all devices" in the account's security settings.
5. Crypto wallets
If that Mac had a crypto wallet on it, assume the recovery phrase is known. Create a new wallet on a clean device and move the funds there.
6. Erase and reinstall the Mac
Here's the deal: stealers hide, and this one dressed up as a Google updater. Wiping is faster and more certain than hunting for files.
Back up your documents first (not apps or settings). Then, on a Mac running macOS Monterey or later with Apple silicon or a T2 chip, go to System Settings > General > Transfer or Reset > Erase All Content and Settings, per Apple's erase guide. Reinstall your apps from the App Store or each developer's own site.
7. Tell people if work data was on it
If it was a work Mac, tell whoever handles your IT today. If client data or passwords to client systems were stored on it, they need to know too.
Why Macs get targeted
Plenty of people still believe Macs don't get viruses. Attackers count on that.
This trick doesn't break into macOS at all. It gets you to run the malware yourself, which skips most of the checks Apple built in. No software bug required, just a convincing page and a helpful-sounding instruction.
And small businesses run a lot of Macs. One infected laptop can hand over saved logins for email, cloud storage, accounting and client portals. That's how a "free cleaner" turns into someone reading your inbox.
Preventing it in your business
- One staff rule: "We never paste commands from a website into Terminal. If something asks you to, stop and ask."
- Approved app sources: the Mac App Store and a short list of developer sites you've written down. Bookmark the real ones.
- Don't use admin accounts for daily work. A standard account means the Mac asks for an admin password before anything installs, which gives you one more chance to stop and think.
- Keep macOS updated in System Settings > General > Software Update.
- Use a password manager instead of saving everything in the browser, and turn on MFA for email first.
- Endpoint protection on every Mac, not just the Windows PCs, with someone actually watching its alerts.
Do you need CleanMyMac at all? Maybe not. System Settings > General > Storage shows what's taking up space and offers built-in recommendations. Try that first.
When to get help
- Someone ran the command on a Mac that holds work email, client files or saved passwords.
- You're not sure what was saved in that Mac's browsers or Keychain.
- You have several Macs and no way to see what's installed on them or push updates.
If that's you, get in touch and we'll help you sort it out.
Related reading
- This Windows update screen is actually a hacker's trap
- Don't click that AI download: hackers are hiding malware in fake tools
- SantaStealer is coming to town, and it's not bringing gifts
Originally published March 2026.






No comments yet