Apple has introduced a new security feature in macOS Tahoe 26.4 that detects potentially dangerous commands pasted into Terminal. When such commands are identified, the system stops their execution and shows a warning before the user can continue. This change was not mentioned in Apple's official release notes for macOS Tahoe 26.4 and was first noticed by users after the release candidate build was made available.
The security measure seems to be aimed at ClickFix attacks, a form of social engineering where users are convinced to paste malicious commands into Terminal, often under the false pretense of fixing an issue or verifying something. Since the user has to manually paste the commands, standard security protections are often bypassed.
Apple Adds Terminal Paste Warning in macOS Tahoe 26.4 to Block ClickFix Attacks - gHacks Tech News
macOS Tahoe 26.4 adds a Terminal warning that delays execution of pasted commands and alerts users to potential ClickFix social engineering attacks.