coinhive.js

In-Browser Cryptocurrency Miner

Inline Web MinerCautionCryptomining
CPU Usage
varies with site; typically 5-60% per active tab
Memory
50-150 MB per active tab
Location
Browser-based script loaded from websites
Publisher
Coinhive Ltd (defunct)

Quick Answer

Coinhive mining scripts run inside your browser as a site-embedded miner. They are not a traditional virus, but they can severely impact performance and power usage if a site uses them without consent.

Is it a Virus?
✔ NO, not a virus by itself
Coinhive miners are JavaScript/WebAssembly that run in the browser; malicious sites may misuse them.
Why so much CPU?
Mining activity uses CPU cycles to solve hashing puzzles; sustained workloads on active pages cause high CPU and battery drain.
Intensity scales with page activity and miner configuration.
Can I Disable?
✔ YES
Block the miner script via browser extensions or block domains that host Coinhive (e.g., coinhive.com) to stop in-page mining.

What is coinhive.js?

coinhive is a browser-based cryptocurrency miner that injected JavaScript into websites to mine Monero using visitors' CPU cycles. It operated as an inline miner in websites during its peak years, allowing site operators to monetize visitors without buying ads, though it sparked controversy over consent and performance.

Coinhive runs as a JavaScript/WebAssembly miner loaded by a web page. It delegates hashing work to the browser, communicates with a mining pool, and adjusts workload based on tab focus and CPU availability. It does not install a traditional executable on the PC.

Quick Fact: Coinhive popularized in-browser mining for Monero, prompting extensive debate about user consent and device performance.

Types of Coinhive Execution

Is coinhive.exe Safe?

In-browser Coinhive mining scripts are not a traditional virus when loaded from legitimate sites that you visit. However, Coinhive’s architecture has been exploited by malware to mine without consent, so vigilance is required.

Is coinhive.exe a Virus or Malware?

The legitimate Coinhive miner is not a virus, but malware authors have impersonated mining capabilities. If you find a Windows executable named coinhive.exe, it is likely malicious.

How to Tell if Coinhive is Legitimate or Malware

  1. Origin:: Check if mining activity corresponds to loading of a site you visit; browser miners load via

Is coinhive.exe Safe?

In-browser Coinhive mining scripts are not a traditional virus when loaded from legitimate sites that you visit. However, Coinhive’s architecture has been exploited by malware to mine without consent, so vigilance is required.

Is coinhive.exe Safe?

In-browser Coinhive mining scripts are not a traditional virus when loaded from legitimate sites that you visit. However, Coinhive’s architecture has been exploited by malware to mine without consent, so vigilance is required.

Is coinhive.exe Safe?

In-browser Coinhive mining scripts are not a traditional virus when loaded from legitimate sites that you visit. However, Coinhive’s architecture has been exploited by malware to mine without consent, so vigilance is required.

Frequently Asked Questions