A Mac that had been running sluggishly and running hot turned out to be host to a cryptocurrency miner that had gone unnoticed until an AI coding agent flagged it, according to a widely circulated account of the incident.

The agent, Claude Code from Anthropic, was being used to build a temperature-monitoring app for macOS when it reported that the machine was under sustained heavy load. According to the account, the agent said it had observed “xmrig using about 1175% CPU, roughly 12 cores,” with the processor peaking at 112 degrees Celsius, close to the point where Apple Silicon chips throttle to protect themselves.

XMRig is an open-source miner for Monero, a privacy-focused cryptocurrency, and is frequently bundled into malware that hijacks other people’s hardware. In this case the process was reportedly running out of a temporary folder and directing its output to a mining pool at pool.hashvault.sh. A startup item, LaunchAgent, was used to keep the program alive through a large encoded script, so that killing the process would simply cause it to restart — a persistence technique that makes the infection harder to stamp out than a simple rogue application.

The agent declined to act unilaterally, asking for permission before stopping the startup item and the miner and moving the associated files into a quarantine folder. The cleanup was subsequently carried out, with one file requiring manual deletion because of an access problem, and a Malwarebytes scan was run afterward to confirm the removal.

Apple markets its Macs as resistant to malware, and the platform does block many classes of attack by default, but the episode is a reminder that user-level persistence mechanisms and resource-hijacking miners can still take hold. Crypto miners are attractive to attackers precisely because they are quiet: they do not lock files or demand payment, they simply consume electricity and compute cycles for as long as they go undetected. On a laptop, the most visible symptom is often heat and fan noise rather than any obvious error.

The incident also illustrates a fast-emerging use for coding agents: reading raw system telemetry and explaining anomalies. The agent did not need to be pointed at the miner; it surfaced the process while validating sensor readings that looked implausibly high. That kind of diagnostic work has traditionally required a knowledgeable user or a dedicated security tool.

For Apple Silicon owners, the practical takeaway is that unexplained heat, fan activity or battery drain is worth investigating rather than dismissing. Activity Monitor can show runaway processes, and a reputable anti-malware scan can confirm whether a persistent startup item is legitimate. Anthropic did not comment publicly on the episode.