Updated 2026-11-15
Short answer: install Homebrew only from its official site, brew.sh, never from a search ad, and never run a job interview "assignment" on a work computer. Both lures were used in the attack that Binance says ended with about $6.34 billion stolen on 29 October 2026.
A paid search result leads to a page that imitates the Homebrew site and asks you to paste a command into Terminal. ReversingLabs classifies the samples from the SANS diary Binance cites as the MacSync stealer family. The official Homebrew install command is only on brew.sh.
The assignment created /opt/homebrew/Cellar/pyenv/2.8.0/libexec/pyenv_, deleted the real libexec/pyenv (3,344 bytes) and renamed its own file (3,414 bytes) into its place. /opt/homebrew is writable by the logged-in user, so no password prompt appeared (ReversingLabs, The Register).
brew config | head -5 ls -l "$(brew --prefix pyenv)/libexec/pyenv" brew info pyenv | head -3
On pyenv 2.8.0 from Homebrew, the real libexec/pyenv is 3,344 bytes per Binance's report; a 3,414-byte file there matches the malicious copy. Other pyenv versions have other sizes, so compare with a fresh copy of the same version. If you ever pasted a Homebrew install command from a page that was not brew.sh, treat the Mac as compromised.
FixLane pages: fake Homebrew installers promoted through Google search ads, malicious pyenv replacement in the Binance attack, malicious coding assignment that reached wallet signing.
Only on brew.sh. The fake installers in this campaign were promoted through paid search results that imitate the Homebrew site.
A fake job interview assignment, run on a work Mac, replaced /opt/homebrew/Cellar/pyenv/2.8.0/libexec/pyenv with a malicious file. /opt/homebrew is writable by the user, so no password was asked.
Not on a work computer or any machine with access to secrets. In this attack the assignment's setup step ran the malware.
Connect an AI agent to the free, read-only FixLane MCP server or ask the Telegram bot: it checks what you have installed against verified fixed versions and serves a reviewed fix procedure. All guides.