Skip to content

Product Not yet confirmed elsewhere1 publisher 3 min read Published

Fake Codex installer outranks OpenAI in Google ads, then asks for a paste

Cato says a sponsored result for "codex macos download" leads to a Google Sites clone whose Terminal command strips quarantine flags and stages an AMOS-linked payload.

The Product Desk

How we use AI Send a correction

What happened

  • Cato CTRL published details of a macOS campaign built around a fake OpenAI Codex installer that ends with the victim pasting a command into Terminal.
  • The pasted command opens with a plausible npm install string, then decodes a Base64 URL and pipes a fetched script into zsh.
  • Cato attributes the delivery framework to Atomic macOS Stealer on the basis of loader URLs, telemetry, staging paths and attribute stripping.

Why it matters

  • constraint Verification by visiting the link mostly fails: the live lure hides at /codexx/, the guessable /codex/ path answers with a clean product page, and non-macOS clients get benign content, so a manual...
  • exposure Because the loader clears extended attributes before launching /tmp/helper, the user never meets the quarantine warning that would otherwise be their last chance to stop.
  • decision Teams now have to decide whether install commands for developer tooling come from a controlled internal source or from whatever a search engine sells the top slot to.
  • precedent Microsoft's Aug. 5 case, where lures moved behind browser-fingerprinting gates, marks the likely next step for this operator and would leave defenders with even less to reproduce.

Every surface the victim touches before the malware lands belongs to someone with a good reputation. The entry point is a paid Google search result that sits above OpenAI's own listing for queries such as "codex macos download" [3]. The landing page is on Google Sites and reproduces the Codex download portal down to the macOS and Linux buttons [4]. The attacker's live content arrives inside an iframe that Cato says is probably routed through a Google static-content proxy [1]. Count the hops and three of them are Google-operated properties [16].

That last one is the operational detail. Cato found no malicious code on the Google Sites page itself, so the page a reviewer inspects can stay unchanged while the ClickFix instructions behind the iframe are swapped out [1]. The lure is decoupled from the hosting reputation it borrows.

The command the page asks for opens with a plausible npm install string for Codex, then decodes a Base64 URL and pipes a retrieved script into zsh [6]. Stage one is padded with dead code and unused variables around an encoded blob it hands to eval, and stage two's first act is a request to an attacker endpoint carrying event=pasted [7]. That is conversion tracking. The operators learn how well the lure copy performs before they learn whether the payload ran.

What follows is ordinary. The script pulls the final payload to /tmp/helper, runs xattr -c to clear its extended attributes, makes it executable and launches it, and clearing those attributes removes the download quarantine metadata that would normally put a warning in front of the user [8]. Nothing was exploited. The user supplied the privilege by typing past it. Cato ties the framework to Atomic macOS Stealer on loader URL structure, the telemetry request, the /tmp/helper staging path, the attribute removal and update-themed payload URLs, calling the match strong without naming the final binary [10][11]. It ships as a universal Mach-O, so Apple Silicon is no barrier [11].

The evasion is aimed at whoever checks. The live ClickFix page sits at /codexx/ while the obvious /codex/ path returns a harmless product page, and non-macOS visitors are served benign content too [5]. An analyst who guesses the intuitive URL, or looks from a Linux box, sees a clean site. Cato's own conclusion is that no single stage reliably exposes the attack and detection depends on correlating search delivery, embedded content, Terminal execution and outbound activity [14]. That is four telemetry sources to join, on the one class of endpoint where pasting shell commands is routine work.

Cato notes that several campaigns this year have dressed delivery in AI developer tooling [15]. The artifact worth controlling is the install instruction itself: if the canonical command for a tool lives in an internal document and nowhere else, a search ad has nothing to sell. Blocking hosts is the slower track. The loader has already been reworked between infrastructure sets, with early samples compressing and Base64-encoding the second stage and newer ones using an AES-encrypted gzip container whose key is rebuilt from variables scattered through the script [9], and Cato says it blocked the reused iframe host while the operators keep rotating domains and payload locations [13].

What to watch

  • Whether payloads appear for the Linux or Windows buttons on the cloned portal, since Cato observed delivery only for macOS.
  • Whether Google ad review and Sites takedowns remove clones faster than the operators rotate domains and payload locations.
  • Whether this operator adopts the browser-fingerprinting gates Microsoft described on Aug. 5, which would push the lure further out of researchers' reach.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence58
Adoption34
Hype gap+12
Incentives66
Confidence57
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    The Google Sites page carries no malicious code of its own; attacker content loads inside an iframe, probably routed through a Google static-content proxy, and the split lets operators refresh the ClickFix content without touching the Google Sites page victims see.

  2. [2]

    Cato Networks' Cato CTRL threat research team detailed a macOS attack campaign built around a fake OpenAI Codex installer, ending with the victim opening Terminal and pasting a command that runs the malware, the social engineering pattern known as ClickFix.

    Reported SupportedView cited source
  3. [3]

    The campaign begins with a sponsored Google search result for queries such as "codex macos download"; the ad sits above OpenAI Group PBC's own listing.

    Reported SupportedView cited source

Get this ledger inside ChatGPT. Ask about any of our stories and the answer brings its figure, each claim’s verdict and the sources. Free, no account.

Add to ChatGPTAdd to Claude

Sources

1 independent publisher whose own reporting we read for this story.

  1. siliconangle.com

    1 article · August 24, 2026

    Fake Codex installer tricks Mac users into pasting malware, Cato finds

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

Loading related stories