← All use cases

Use case P7 · Human

Developer's overheating Mac leads Claude Code to a hidden crypto miner using about 12 cores

u/UntilHEX on Reddit (via Mark Tyson, Tom's Hardware) ·

The short version

What they did

While debugging an overheating Mac, the developer had Claude Code check what was using the CPU. It found an XMRig crypto miner that had been added to the Mac’s startup items; Malwarebytes was used as a second check.

Result (as claimed)

Tom’s Hardware headline: “Claude Code AI agent caught a crypto miner hiding on a developer’s overheating Mac — XMRig task was hogging ‘about 1175% CPU, roughly 12 cores’ pushing temps to 112 degrees”. The account has not been independently verified.

Prompt

My Mac is running hot and its fans keep running. My Mac and system version are [details], and the problem started [when]. Please inspect it without changing anything.

1. Show what’s using CPU and memory now.
2. Check what starts at login, including login items, LaunchAgents and LaunchDaemons, and explain unfamiliar names.
3. Give me a short table of suspicious items, where they are, what you observed and how certain you are.

Separate high resource use from evidence of malware. Don’t label something malicious just because its name looks odd. Explain how to confirm a finding with a reputable scanner. Propose removal steps only after the evidence, and wait for my approval before deleting, moving or installing anything.

Do it yourself

These steps are my suggested way in, not the developer’s setup.

Level: Intermediate with a coding agent in the terminal. The first version below is Beginner.

What you need

  • A chat assistant that can read screenshots: ChatGPT, Claude or Gemini.
  • For the full version: a coding agent that runs in the terminal, such as Claude Code or Codex.
  • A reputable malware scanner such as Malwarebytes, for a second opinion.

Start simple

  1. Open Activity Monitor and sort by % CPU. Take a screenshot.
  2. Open System Settings, then General, then Login Items. Take a screenshot.
  3. Send both to the chat with “What is each of these, and does anything look out of place?”
  4. Look up anything it flags on the developer’s own website before you do anything else.

Take it further

  • Run a coding agent in the terminal with the Prompt above. Tell it to look only, not change anything.
  • Ask it to check the LaunchAgents and LaunchDaemons folders and explain each file.
  • Ask it to watch CPU and temperature for ten minutes and report what spikes.

Check your work

  • Confirm anything flagged with a malware scanner before you delete it.
  • Make sure the agent is asking before it runs any command that deletes, moves or installs.
  • Security: back up first. If you find malware, change your passwords from a different, clean device.

Source checked. The link, author, date and quote were confirmed against the source. The result itself has not been reproduced. Prompt adapted for this library, inspired by the case. Business size: Individual. Results are quoted as the source claimed them and never improved. Spot an error or a broken link? Email charlie@cbarmorecpa.com.

More in Privacy and security

New cases go out every Saturday in Inside AI.