Code Monkey home page Code Monkey logo

coinhive-block's Introduction

CoinHive-Block

To block the Malware domains of CoinHive or related JS bitcoin miners.

This does not block AuthedMine.com because they ask for permission. This is only for the rogue implementations of it.

Why block (rogue) JS Crypto Miners?

We think that using a JavaScript Bitcoin miner on your site without end-users explicitly opting-in is Malware.

Fortunately, CoinHive did realize how webmasters implemented their sites without ever asking the end-user. They concluded:

We're a bit saddened to see that some of our customers integrate CoinHive into their pages without disclosing to their users what's going on, let alone asking for their permission. We believe there's so much more potential for our solution, but we have to be respectful to our end users.

We hope we can convince website owner to integrate the miner in a way that is more meaningful and honest to their users. ...

source

A month ago, The PirateBay secretly added the JS miner without any user disclosure. Adding secret miners is making your site behave as a malware.

Still honestly, to me, it's a great solution for the dying ads market, but it's sad that the webmasters implemented it like a malware, without ever thinking about the end-user.

I'm using CoinHive on my site. What now?

We suggest asking the end-user for opt-in before those operations. It's the user's choice when they want it or not, and, even they don't want it, please respect their decision.

AuthedMine.com adds a pop-up asking for permission to authorize it. That's why we won't block AuthedMine.

Even people using AntiMalwareBytes blocks crypto mining js files so far I know. They also stated that the webmaster's implementation of it is wrong:

Why are we blocking it?

We do not claim that CoinHive is malicious, or even necessarily a bad idea. The concept of allowing folks to opt-in for an alternative to advertising, which has been plagued by everything from fake news to malvertising, is a noble one. The execution of it is another story.

The reason we block CoinHive is because there are site owners who do not ask for their users’ permission to start running CPU-gorging applications on their systems. A regular Bitcoin miner could be incredibly simple or a powerhouse, depending on how much computing the user running the miner wants to use. The JavaScript version of a miner allows customization of how much mining to do, per user system, but leaves that up to the site owner, who may want to slow down your computer experience to a crawl.

source

How to install (Linux)

git clone https://github.com/Marfjeh/coinhive-block.git or git clone [email protected]:Marfjeh/coinhive-block.git
cd coinhive-block
sudo make
sudo make install

Contributing

  1. Clone the repository [email protected]:Marfjeh/coinhive-block.git
  2. Change directory to the coin-hice block folder cd coinhive-block
  3. Add new domains to the domains and start contributing!

License

This project is released under the MIT License

Buy us a coffee

donate button

coinhive-block's People

Contributors

marfjeh avatar tps avatar zerodot1 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.