Claude Code Detects Hidden XMRig Cryptominer Consuming 1175% CPU on Mac
A Mac user's AI coding assistant found a hidden cryptocurrency miner using nearly 12 processor cores while helping build a temperature app.
Overview
A Mac user reported that Anthropic's Claude Code found an unauthorized XMRig cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank miner while helping develop a temperature-monitoring application. The mining process reportedly consumed approximately 1,175% CPU, equivalent to nearly 12 fully utilized processor cores, which explained the machine's sluggish performance. The user's account describes an unexpected finding during routine development rather than a planned malwareSoftware built to steal data, spy on users, lock files, or take control of a computer investigation. Reports indicate that the miner executed from a temporary directory and connected to the mining pool at pool.hashvault.sh. A macOS LaunchAgent reportedly maintained persistence through an encoded scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application, allowing the mining process to execute automatically when the user logged in. The user reportedly approved a cleanup after Claude Code identified the activity.
Terms in this story
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- Cryptominer
- Running heavy math calculations on a computer to generate cryptocurrency. When attackers break into a cloud account or server, they often install unauthorized cryptomining software that maxes out the processors and runs up huge electricity or cloud bills. Security+ objective 2.4 lists the term
- forensic
- Collecting and examining disk images, memory dumps, and logs after an incident to reconstruct what an attacker did. After a breach, specialists perform digital forensics to find how the intruder broke in, which files were copied, and whether any hidden backdoors remain. Security+ objective 4.8 lists the term
- workload
- An application, service, or computing task running on a server, virtual machine, or cloud cluster. Cloud security platforms protect each workload by assigning it a dedicated identity and watching which network connections and files that specific task touches.
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- persistence mechanism
- The tricks an attacker uses to keep access to a computer after a reboot or password change. To maintain persistence on an infected laptop, malware might add itself to the startup folder or create a hidden scheduled task that runs every time the machine turns on.
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- authorization
- Checking whether an already logged-in user or program has permission to perform a specific action. Authentication checks who you are at the front door, while authorization decides whether your student account is allowed to read only your own grades or edit the class roster.
- plugins
- An add-on software module that extends a website, browser, or application with extra features. Small businesses add dozens of third-party plugins to their websites for contact forms or shopping carts, and an unpatched plugin flaw is a common way attackers take over a site.
- threat actor
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Claude Code Detects Hidden XMRig..." Found by reading the article; these exact words are in it - Who is affected: "Mac user..."
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Claude Code Detects Hidden XMRig Cryptominer Consuming 1175% CPU on Mac..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Claude Code Detects Hidden XMRig Cryptominer Consuming 1175%..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"......cryptocurrency miner while helping develop a temperature-monitoring application. The mining process reportedly consumed approximately..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"Claude Code Detects Hidden XMRig Cryptominer Consuming 1175% CPU on Mac..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"Reports indicate that the miner executed from a temporary directory an..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role