Here's a story that's half funny and half a warning. A Reddit user asked Anthropic's Claude Code to build him a simple temperature monitor for his Mac, because the machine kept running hot. Along the way, the coding agent found the reason: a hidden cryptocurrency miner that the user says he never installed.
What happened
The user, u/UntilHEX, posted the story on the r/claude subreddit, and it was picked up by Tom's Hardware and Tech City Authority on 19 October 2026.
While building the app, Claude dumped the Mac's raw temperature sensor readings to check they were accurate. They looked far too high, with the CPU peaking at around 112°C, so it checked what was using the processor. The answer was XMRig, running at about 1,175% CPU. macOS counts each core as 100%, so that's roughly 12 cores working flat out.
According to the screenshots, the miner was running from a temporary folder, sending its work to a mining pool, and relaunching itself through a randomly named startup file dated late August. Tom's Hardware reads the date as 29 August, well before the app project started. The user's own verdict, put more politely, was that it explained why his Mac had been running so badly.
What I found most interesting is what Claude didn't do. It wrote "I haven't killed or removed anything," and asked permission before stopping the startup item and the miner and moving the files into a quarantine folder rather than deleting them. It also warned that malware running on the account could reach everything the user could, including the GitHub login on that Mac. The user says Claude handled almost all of the cleanup. He removed one file by hand after an access issue, then ran a Malwarebytes scan to double-check. As for how it got there, he wrote that it was "definitely because of cracked audio plugins."
One caveat: this is one person's account. Tech City Authority says it couldn't independently confirm the infection or how it got there, and the screenshots show only part of the conversation.
The context: miners love pirated software
XMRig itself is a legitimate open-source miner, but criminals love it because it mines Monero, which works well on ordinary CPUs. Hiding it in pirated creative software is an old trick. Tech City Authority points to ESET's 2019 LoudMiner research, which found an XMRig-based miner hidden in 95 pirated Mac audio apps and plugins. Music producers have powerful machines and expect heavy CPU use, which makes good cover. Jamf Threat Labs later found pirated Final Cut Pro copies whose miner shut itself down within seconds of Activity Monitor opening.
Macs do have built-in protection. XProtect blocks known malware and Gatekeeper checks where apps come from. But cracked software usually asks you to override Gatekeeper, and at that point you've opened the door yourself.
Why it matters
Two lessons here. The obvious one: if your computer is hot, loud or slow while doing nothing, don't just live with it. A miner costs you power, battery life and hardware lifespan, and anything that can install a miner can install worse.
The less obvious one is about AI agents. Claude spotted the miner because it had broad access to the machine. That access helped this time, but it's also a reminder of how much an agent on your computer can see. I wrote about that trade-off in Apple Is Tightening macOS Full Disk Access Because of AI Agents. The good behaviour here was asking before deleting anything, and you should expect that from any agent you let near your files.
How to check your own Mac
- Open Activity Monitor and sort by % CPU while the Mac is idle. Search the name of anything unfamiliar near the top.
- Check System Settings > General > Login Items & Extensions for background items you don't recognise.
- In Finder, use Go > Go to Folder to look in
~/Library/LaunchAgents,/Library/LaunchAgentsand/Library/LaunchDaemons. Random-looking file names deserve a closer look. Objective-See's free KnockKnock tool lists everything set to launch automatically. - Run a reputable malware scanner.
- If you do find something, change your passwords and revoke saved logins and tokens (GitHub, cloud, AI keys) from a clean device.
- Skip cracked apps and plugins entirely. The "free" version is rarely free.
Homelab angle: check your servers too
Miners love Linux servers and NAS boxes even more than Macs, because they run 24/7 and nobody's watching the fan. On a Linux box, top or htop sorted by CPU is your Activity Monitor. Then look at the places things relaunch from:
systemctl list-units --type=service --state=running systemctl list-timers --all crontab -l; sudo ls /etc/cron.d ls -la /tmp /var/tmp /dev/shm
A binary running out of /tmp or /dev/shm is a big red flag. If you want to understand what's legitimately in that list, my guide to systemd units, services and timers walks through it.
My take
I'll be honest: an experienced developer probably should have spotted 1,175% CPU in Activity Monitor without help, and a few commenters said exactly that. But most people never open Activity Monitor, and a miner running since August shows how long these things can sit there. I like that the agent asked before it deleted anything; that's the standard I'd hold any AI tool to. My bigger takeaway is simpler, though. Don't install cracked software on the machine you do your real work on, especially one that's logged in to GitHub and everything else.
Sources
- Tom's Hardware, Claude Code AI agent caught a crypto miner hiding on a developer's overheating Mac (19 Oct 2026)
- Tech City Authority, Claude Code went looking for heat readings and found a hidden cryptominer (19 Oct 2026)
Watch the short version
This story is covered on Riff's AI Headlines, a YouTube channel with quick, sourced AI and cybersecurity news. Subscribe to Riff's AI Headlines on YouTube to keep up.
Comments (0)
No comments yet. Be the first to leave one!
Leave a Comment