logoalt Hacker News

confusedbuckettoday at 3:18 PM0 repliesview on HN

> Has this happened to you before ?

Almost, recently. I bought a new Mac, needed something reliable to carry around. I never had a Mac or anything from Apple before, so I wasn't familiar with how exactly does it work. I knew homebrew existed, I understood it's similar to Linux/Windows in that not all applications are in the store, but wasn't familiar at all with how those are commonly installed.

Here's what I did:

1. Open Safari, the only browser there was.

2. Typed "claude mac download" in the search bar (needed Cowork).

3. Clicked the first link.

4. Copied the command it told me to, instructing me to run it in terminal.

Only now I realize that there's something fishy about the command; it had base64 payload in it. Didn't run it and took closer look on the page - it was a Claude share (which I quickly scrolled over).

I can admit mistakes, but Google, Apple and Anthropic deserve some blame here, too.

- Google: pushed malware link up top, didn't (distinctly, at least) mark it as a paid result and I'd swear it didn't show me the URL (which I usually always check before clicking, but maybe I just missed it as the search results are rendered differently from Kagi's)

- Safari: hides path by default, so all you see is "claude.ai". Someone probably thought this looked nice, I think it's just borderline idiotic.

- Anthropic: hosts what's essentially a user-content on their main domain.

Also recently saw a few legit projects using base64 in their install one-liners. Please, stop it.

> How do you protect yourself ?

Installed not Safari and made Google not my default search engine, as I always do. That way I at least always know where I am.