What we know

A developer using the Claude Code AI agent to build a temperature monitoring app discovered a hidden crypto miner on their Mac. 5% of the CPU and causing the system to overheat. Claude Code identified the presence of the XMRig crypto miner on the developer’s Mac. The miner was using excessive CPU resources, leading to overheating issues.

Why it matters

The incident demonstrates how AI coding assistants like Claude Code can detect hidden or malicious software during development. By flagging the crypto miner, the AI helped uncover unauthorized resource use that might otherwise have gone unnoticed. This capability could improve security and system performance for developers relying on AI tools in their workflows.

What is still unknown

Details about Claude Code’s accuracy in detecting malicious code, the range of programming languages it supports, and its general availability have not been disclosed. No independent tests of the AI’s detection capabilities or performance have been reported.