Monero coinhive
The cryptocurrency mining code was apparently embedded in JavaScript in the YouTube ads, which mined CoinHive's Monero digital currency. This issue was identified when antivirus software of users' desktops detected the said covert mining when YouTube was played.
1 Mar 2019 Over the last couple of years, Coinhive has appeared in the news multiple times. The service was used by a number of websites to use visitor's CoinHive is a JavaScript miner for Monero. Register and get a site-key. Very easy to set up. .