osascript
osascript is the macOS command-line utility to run AppleScript or JavaScript for Automation (JXA). In ClickFix-style attacks, fake CAPTCHA pages instruct users to paste clipboard commands into Terminal, which decode and run AppleScripts through osascript, delivering malware such as Odyssey Stealer.
Victims are presented with a fake CAPTCHA. When it fails, the site instructs them to copy a command for "system verification." This command decodes and runs an AppleScript via osascript.
Press Cmd-Space to open Spotlight
Type
Terminaland press EnterPress Cmd-V to paste the verification command
Press Enter to execute
References:
Mitigations:
Block or alert on osascript execution with base64-decoded payloads
Educate users on risks of pasting commands into Terminal
Monitor for osascript accessing sensitive data (Keychain, browsers)