What the Binance case teaches: 10 habits for installing software safely

Binance's initial report traces its incident to a tampered Homebrew install found through search. How to install everything from Homebrew to AI tools and interview assignments safely.

Paylaş
What the Binance case teaches: 10 habits for installing software safely

Installing software takes most of us a few seconds: type the tool's name into a search engine, click the first result, copy the install command. Binance's initial incident report, published on 3 November, shows very concretely how valuable that habit can be to an attacker. According to the report, the chain that ended in an attack affecting about $6.34 billion in assets on 29 October began in June, when an engineer downloaded a tampered Homebrew installation found through a search engine. The good news is that almost every step in the report is the kind a few simple habits can close. This guide walks through how the incident unfolded, then what to do when installing anything from Homebrew and AI coding tools to browser extensions and job interview assignments.

What the Binance report says

In its initial report Binance says it will absorb the loss itself, that 98% of the impacted assets had been replenished as of 31 October, and that about $2.85 billion has been frozen or intercepted. The most instructive part is the "attack preparation" section, which describes a multi-stage campaign spread over months rather than a single breach. It adds the background to the incident we first reported on 30 October.

  • June 2026: An engineer on the wallet infrastructure team searched for Homebrew on a search engine in order to install a popular AI coding tool, and downloaded a tampered Homebrew installation. Binance's security team spotted the anomaly, replaced the device and rotated all related credentials. The report says the engineer's role and colleagues were still exposed to the attacker.
  • September 2026: Another software engineer was approached on a legitimate job platform by someone posing as a project director. After a live video "HR" interview, the second interview ended with a request to download an "assignment" repository onto his work computer. Its code ran during setup and replaced a legitimate developer tool component under /opt/homebrew (pyenv) with a malicious version. The report says the zero-day malware was not detected by endpoint security tools at the time.
  • 20 October 2026: From that computer the attacker used an internal AI tool as a springboard to reach two more engineers. One of them had a container deployment token on his computer.
  • 29 October 2026: With that token, the attacker deployed a container, reached the wallet signing service and started transactions outside the normal withdrawal process.

Binance says it detected and prevented 57 similar attempts in 2026 and lists the methods: fake job interviews, malicious software disguised as popular developer tools, compromised packages and browser extensions, and fake video conferencing apps. That list is the backbone of the ten habits below.

1. Do not take the install address from a search result

Sponsored results at the top of a search page are ads, and anyone can buy one. The FBI's warning describes brand-impersonating ads that appear at the very top of results with minimal distinction from real ones and lead to near-identical copies of the official page. A Google-owned address under an ad is no guarantee either, since anyone can open a page on Google's free services. Go to install pages by typing the address yourself or from a bookmark. Homebrew's only official site is brew.sh; Python lives at python.org and Node.js at nodejs.org. The three-dot menu next to a sponsored result shows who paid for the ad as part of Google's ads transparency tools; if the advertiser does not match the project, skip it and report the ad.

2. Install Homebrew the official way

The install command on Homebrew's homepage is a single line that fetches the script from the Homebrew/install repository on GitHub. According to the docs, the script explains what it will do and waits for your confirmation before it starts. If the command you copied points anywhere other than raw.githubusercontent.com/Homebrew/install, stop. On Apple Silicon Macs the second official route is the .pkg installer from Homebrew's latest GitHub release. Running brew doctor afterwards is an easy health check.

3. Install AI coding tools from their own docs

The first step in the Binance case started with wanting to install a popular AI coding tool. Install commands for tools such as Claude Code, Codex, Gemini CLI or Cursor are always on the maker's own documentation page. Do not copy them from a blog post, a forum or a page you reached through an ad; open the maker's docs and take the command from there.

4. Read what you paste into the terminal

Many real tools install with one line today: on Mac and Linux usually curl -fsSL https://address/install.sh | sh, on Windows PowerShell irm https://address/install.ps1 | iex. Both download a script and run it straight away with your user rights, without showing it. Homebrew's real command looks like this too, so the shape of a command tells you nothing on its own; the address inside it is what matters, and on fake install pages that address is usually the only thing changed. If you see a command full of long, meaningless characters (base64 or similar encoding), pause as well.

5. A "verify you are human" box never asks for a command

Another trick gets you to run the command yourself. Microsoft calls it ClickFix. A familiar "verify you are human" box appears; when you click it, the page silently copies a command to your clipboard and the on-screen steps ask you to press Windows+R, paste and hit Enter. What you paste is usually a hidden PowerShell command. The rule is simple: a real verification page never asks you to paste anything into the Run dialog or a terminal. If you see that, close the page; if you already ran it, disconnect from the network and tell your IT team.

6. Open interview assignments in a separate environment

Fake job interviews are the most striking part of the report. Do not set up an assignment repository from a company on your work computer or your main personal machine. Use a virtual machine, a disposable container or a cloud development environment instead. Before installing, look at scripts that run automatically, such as postinstall in package.json, and at setup.py. If an interviewer asks you to download a special "meeting app", politely decline and suggest a well-known one.

The same care applies when you find a repository on GitHub yourself. The repo name tells you little; the account or organisation to its left is the real owner. According to GitHub's docs, a fork shows the original (upstream) repository right below its name. Stars are no proof either: in 2024 Check Point Research documented a network of more than 3,000 accounts that starred, forked and watched malicious repositories to make them look legitimate. Reach a project's repo from the link on its official site, and stop if the Releases page offers a password-protected archive or an exe. Remember that building a project runs its code on your machine: in 2021 Google's Threat Analysis Group described a project sent to security researchers as a "collaboration" in which a build step quietly launched malware.

7. Check the package name and publisher

On npm, PyPI or browser extension stores, attackers can use names very close to well-known packages. Before installing, check that the name is spelled exactly right, that the repository link goes to the project's official repo and that the publisher is familiar. AI adds a new twist: coding assistants sometimes invent package names that do not exist. A study presented at USENIX Security 2025 found the average rate of hallucinated packages was at least 5.2% for commercial models and 21.7% for open-source models. If an attacker registers one of those names, anyone who installs the suggestion unchecked installs the attacker's package, so look up every suggested package in the registry and check how long it has existed and who published it. For browser extensions, read the permissions; a colour picker does not need to read your data on every site.

8. Give model files and MCP servers the same care

The newer parts of AI tooling can run code on your machine too. According to Hugging Face's docs, loading a file in pickle format, the default for PyTorch models, can execute arbitrary code, which is why the site suggests loading models from users and organisations you trust and points to the safer safetensors format. Read the code of any model that asks for trust_remote_code before running it. For MCP servers and skill files that give your assistant access to email, files or other services, the test is the same: is it published by the official service, have all its files been read, does it touch credentials, does it send data out.

9. Check the fingerprint and signature of what you download

Many projects publish a SHA256 hash for each file on their download page. The hash is a fingerprint computed from the file's contents; change one character and it changes. Compute it with Get-FileHash file.exe in PowerShell on Windows or shasum -a 256 file.dmg in Terminal on a Mac, and the value must match the site exactly. On macOS, spctl -a -vv /Applications/App.app shows whether an app is signed with an Apple-approved Developer ID; on Windows, the Digital Signatures tab in a file's Properties gives the same information. If there is no signature or the signer is not the maker you expect, stop. Where you can, install apps from the Mac App Store, the Microsoft Store or winget.

10. Do not leave powerful credentials sitting on a laptop

What the attacker was really after in the Binance case was a container deployment token stored on an engineer's computer. For teams, the biggest win is making keys that reach production short-lived, protecting them with hardware security keys, and keeping personal tasks off work machines. Then even if one device is compromised, the door closes there.

In short

Binance says it is sharing its report because security improves when the industry learns together. The lesson here is simple: type the install address yourself, take commands from the maker's page and open unfamiliar code in a separate environment. Three habits, a few seconds each, and a much calmer computer.

Sources: Binance initial incident report, Homebrew homepage, Homebrew installation docs, FBI IC3 warning, Microsoft on ClickFix, Hugging Face pickle security, USENIX Security 2025 study, GitHub docs on forks, Check Point Research: Stargazers Ghost Network, Google Threat Analysis Group, Google Ads Transparency Center