Apple Details Terminal Anti-Scam Warning in macOS - MacRumors
Skip to Content

Apple Details Terminal Anti-Scam Warning in macOS

Back in March with the release of macOS Tahoe 26.4, Apple introduced a new security popup that warns Mac users when they paste a command into the Terminal app that could be harmful. Apple has now published a support document explaining why the popup warning appears.

macOS Tahoe 26 4 Terminal Warning

Screenshot via "Mr. Macintosh"

The warning says the following when it appears:

Possible malware, Paste blocked

Your Mac has not been harmed.

Scammers often encourage pasting text into Terminal to try and harm your Mac or compromise your privacy.

These instructions are commonly offered via websites, chat agents, apps, files, or a phone call.

There is a "Paste Anyway" option for users to proceed if they wish.

In a document titled "If your Mac blocks a Terminal command paste or script," spotted by 9to5Mac, Apple explains that the alert appears if you don't regularly use Terminal and you copied the command from somewhere like a website, chat agent, or messaging or email app.

"Scammers use these channels to instruct people to paste malicious commands into Terminal to harm your Mac or compromise your privacy," says Apple. "This alert helps make sure that you aren't tricked into running a command that you didn't expect."

The document also mentions two other types of Terminal-related alerts that are more proactive. If a "Malware Detected, Paste Blocked" or "Malicious Script Blocked" alert appears, macOS has detected a command or script that contains known malware and has blocked it, according to Apple. In such cases, no "Paste Anyway" option is provided.

Apple says that if you believe the command or script was mistakenly blocked, it could be because a website that it tries to access was incorrectly reported as deceptive. In that case, users can report the error.

Popular Stories

iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....
Everything New Your iPhone Can Do on iOS 27

14 New Things Your iPhone Can Do in iOS 27.2

Friday October 30, 2026 12:42 pm PDT by
Apple released iOS 27.2 on October 26, bringing enhancements to Siri AI, adding Suggestions in Messages, and sneaking in a string of smaller additions across Photos, Podcasts, Games, Apple TV, and FaceTime. iOS 27.2 is available to download to your device now via Settings ➝ General ➝ Software Update. Note that some features may not be available in all regions or on all iPhone models....
iPhone Duo Week Later Thumb 2

iPhone Duo Review: One Week Later

Friday October 30, 2026 11:46 am PDT by
It's been a week since the iPhone Duo was released, and MacRumors videographer Dan Barbera wanted to revisit his review since he's been able to use the Duo for a longer stretch of time. Subscribe to the MacRumors YouTube channel for more videos. You've probably seen images of iPhone Duos with a bright white line running across one side of the inner display. There is a defect affecting some...

Top Rated Comments

turbineseaplane Avatar
20 weeks ago
If you’re doing any interactions with the terminal, you need to know what you’re doing.
Score: 19 Votes (Like | Disagree)
pigeonguy Avatar
20 weeks ago
Very nice feature. Seems well thought out.
Score: 17 Votes (Like | Disagree)
jchap Avatar
20 weeks ago
Sites asking to use the Command Prompt utility on Windows to paste and execute code are getting to be an infamously popular scam. Too bad that scammers are also getting savvy to how to do the same with Mac users.

Any site that asks for command prompt or Terminal access should be avoided like the plague. I'm glad that Apple is seeing this trend and responding with verification as well.
Score: 10 Votes (Like | Disagree)
Hajj.david Avatar
20 weeks ago

Maybe it would be a good idea to just not ship the Terminal.app as part of the OS distribution. Advanced users will know how to get one, and there are many alternatives that are much better.
Why not just use ipadOS at that point
Score: 7 Votes (Like | Disagree)
20 weeks ago

Maybe it would be a good idea to just not ship the Terminal.app as part of the OS distribution. Advanced users will know how to get one, and there are many alternatives that are much better.
Saying this as someone who uses Terminal several times a week: Ship it but disable it by default. It would create an extra pain point for scammers to have to get through. 99.9% of users don’t need Terminal.
Score: 6 Votes (Like | Disagree)
20 weeks ago
An older relative of mine got taken in by a pop up that came up on her Mac from “Apple Security” with an 800 number to call. She called, and some very nice people took down her credit card details. She was able to reverse the charge, and I swept her machine for viruses and we reset all her bank passwords.

For all of us here, our radar would be up when we saw the pop-up, but for some people, everything on the computer is weird and confusing, so a janky pop up just seems par for the course. A warning like this with specific wording pertaining to the situation might well save a few people.
Score: 6 Votes (Like | Disagree)
Latest Stories
iPhone Duo: Latest Buyer Wait Times
iPhone Duo: Latest Buyer Wait Times
1 hour ago
This iPhone Duo Screen Setting Is Proving Hard to Change
This iPhone Duo Screen Setting Is Proving Hard to Change
2 hours ago
Apple HomeView Could Double as a Security Camera
Apple HomeView Could Double as a Security Camera
4 hours ago
Apple Launching Five New Products This Friday
Apple Launching Five New Products This Friday
4 hours ago
Nearly Every M5 MacBook Air Now $200 Off on Amazon
Nearly Every M5 MacBook Air Now $200 Off on Amazon
20 hours ago
Apple's HomeView Ships With Six-Month-Old Software
Apple's HomeView Ships With Six-Month-Old Software
22 hours ago
Three New iPads Rumored to Launch in First Half of 2027
Three New iPads Rumored to Launch in First Half of 2027
22 hours ago
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
1 day ago
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
2 days ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
2 days ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
2 days ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
2 days ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
2 days ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
2 days ago
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
2 days ago
HomeView Software 27.2: Wallpapers, Control Center, and More
HomeView Software 27.2: Wallpapers, Control Center, and More
3 days ago
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
3 days ago
iOS 27.3 Will Enable These Apple Intelligence Features in China
iOS 27.3 Will Enable These Apple Intelligence Features in China
3 days ago
Apple Says iOS 27.3 Beta Coming Next Week
Apple Says iOS 27.3 Beta Coming Next Week
3 days ago
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
3 days ago
14 New Things Your iPhone Can Do in iOS 27.2
14 New Things Your iPhone Can Do in iOS 27.2
3 days ago
iPhone Duo Review: One Week Later
iPhone Duo Review: One Week Later
3 days ago
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
3 days ago
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
3 days ago
MacBook Pro With Touch Display: 15 More Details Revealed
MacBook Pro With Touch Display: 15 More Details Revealed
3 days ago
Russia Places Apple on State Surveillance Registry
Russia Places Apple on State Surveillance Registry
3 days ago
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
3 days ago
Apple Has Released More Than 25 New Products in the Past Two Months
Apple Has Released More Than 25 New Products in the Past Two Months
3 days ago
Local Code Launches as Free, Private AI Assistant Tool for Mac
Local Code Launches as Free, Private AI Assistant Tool for Mac
3 days ago
Apple Acquires Ascend.io
Apple Acquires Ascend.io
3 days ago