Claude Code helps Mac developer uncover hidden XMRig miner after CPU usage spikes to 1175%

Claude Code helps Mac developer uncover hidden XMRig miner after CPU usage spikes to 1175%

N
News Editor
2026-10-20 11:22:44
A Reddit user said an attempt to build a Mac temperature monitor with Claude Code led to an unexpected discovery: a hidden XMRig cryptocurrency mining process running in the background. According to the user, identified as UntilHEX, the machine had been suffering from severe slowdowns and overheating, with CPU usage reaching 1175% and peak temperature hitting 112°C. During the debugging process, Claude Code reportedly traced the abnormal sensor readings to the XMRig process, which the user said had not been intentionally installed for development or testing. Further analysis shared by the user suggested the miner may have been added to system startup items as early as Aug. 29, which could mean it had been running for an extended period. Claude Code did not immediately delete the files. Instead, it explained the issue, asked for permission, and then proposed stopping the mining process, disabling the startup item, and moving related files into quarantine. UntilHEX later said most of the cleanup was completed, though one file still had to be removed manually because of permission issues. The user then ran Malwarebytes to check for any remaining malware. The Reddit post also sparked broader discussion about malware risks on macOS and how hidden resource-draining software can go unnoticed for long periods.

A Reddit user said a routine attempt to build a Mac temperature monitoring tool with Claude Code ended with the discovery of a hidden XMRig cryptocurrency miner on the machine. The user, UntilHEX, said the Mac had become increasingly slow and frequently overheated, with CPU usage at one point reaching 1175% and peak temperature climbing to 112°C.

Claude Code helps Mac developer uncover hidden XMRig miner after CPU usage spikes to 1175% 2

According to the account shared on Reddit, UntilHEX was using Claude Code to develop the monitoring app and verify whether the sensor readings collected by the software were accurate. While checking the raw temperature data, the user noticed readings that looked far outside the normal range. That led to a closer look at system resource usage, where Claude Code identified a process named XMRig.

Abnormal temperature readings led to the process

The discovery did not come from a dedicated malware scan. It emerged during application development. UntilHEX said the original goal was simply to understand why the Mac had been running poorly and overheating so often.

As the investigation moved from sensor data to system activity, Claude Code flagged XMRig as the source of the heavy load. Based on the analysis described by the user, the process was consuming about 1175% of CPU resources, roughly equivalent to around 12 CPU cores running at full capacity. The CPU temperature peaked at 112°C.

UntilHEX said the program was not something intentionally installed for development or testing. Claude Code explicitly told the user, 「Your Mac is running a cryptocurrency mining program, and I did not install it.」

That finding gave a direct explanation for the Mac's long-running performance issues. A tool meant to monitor temperature ended up exposing what may have been the real reason the machine had been slowing down for a long time.

Startup data suggested the miner may have been there for some time

Claude Code's follow-up analysis, as described by UntilHEX, indicated that the mining program may have been added to the system's startup items as early as Aug. 29. If that timestamp is accurate, the software could have been running in the background for quite a while.

Claude Code helps Mac developer uncover hidden XMRig miner after CPU usage spikes to 1175% 3

XMRig itself is open-source cryptocurrency mining software that uses computing resources such as CPU power for mining. It is not inherently malware. But if it is installed and run on someone else's device without the owner's knowledge or consent, it becomes a tool for unauthorized use of computing resources.

How the program got onto the Mac remains unclear. In Reddit comments, UntilHEX said the issue may have been related to a cracked audio plugin.

Claude Code asked for permission before cleanup

After identifying the process, Claude Code did not immediately terminate it or delete files. UntilHEX said it first explained what had been found and asked whether it could proceed with cleanup.

The steps proposed by Claude Code included:

  • stopping the mining process,
  • disabling the related startup item,
  • and moving associated files into quarantine.

Only after receiving permission did it begin the cleanup. In a later comment, UntilHEX said most of the work was completed without major issues, although one file still had to be removed manually because of permission restrictions.

Afterward, the user ran Malwarebytes on the Mac to check whether any malicious files remained.

Claude Code helps Mac developer uncover hidden XMRig miner after CPU usage spikes to 1175% 4

Reddit discussion widened to malware risks on macOS

The post drew a wave of comments. Some users joked about Claude Code quickly distancing itself from the miner, saying that a line like 「I didn't put it there」 was not exactly reassuring.

Others said they were surprised that a Mac could be infected at all. One commenter replied that the lower visibility of malware on Macs in earlier years did not necessarily mean macOS had uniquely strong built-in protection. The commenter argued that the platform's smaller market share had simply made it a less common target. As Mac adoption grows, that may change.

Another commenter raised concerns about the broader scale of infections involving malware, RATs, mining software, and other unwanted programs. The point was that many users may dismiss symptoms such as sluggish performance, louder fans, or excess heat as signs of aging hardware or heavy software load, rather than suspecting a hidden process consuming resources in the background.

Some comments also said macOS does not appear to have a built-in mechanism dedicated to flagging this kind of issue in a way that clearly alerts users when system resources are being continuously occupied by suspicious software. In that discussion, some users compared the situation with antivirus and anti-malware tools on Windows.

By UntilHEX's own account, this was not a case of Claude Code launching a formal security scan. It was a development workflow that happened to expose a hidden mining program. For the user, a simple effort to write a temperature monitor turned into an unexpected malware discovery.

This article was originally published by Bit.Fan. For more cryptocurrency news and market insights, visit www.bit.fan.
5400

Disclaimer:

The market information, project data, and third-party content displayed on this platform are for industry information sharing only and do not constitute any form of investment advice or return commitment.

Cryptocurrency trading carries high risks. Users should fully assess their risk tolerance and make independent decisions. All profits, losses, and legal responsibilities are borne by the users themselves.