Japanese authorities have sentenced a man for exploiting the Coinhive library to maliciously mine for cryptocurrency.
According to local publication Kahoku, Yoshida Shinkaru was found guilty of illegitimately mining cryptocurrency on user PCs.
However, in this case, Coinhive was reportedly planted within an online gaming cheat tool which was then made available for download.
Unwitting victims would download the software from his blog and their PCs would begin mining for cryptocurrency without their knowledge or consent -- the proceeds of which ended up in Shinkaru's hands.
The software was downloaded approximately 90 times. However, Shinkaru made only 5000 yen from his activities, the equivalent of $45.
See also: Brutal cryptocurrency mining malware crashes your PC when discovered
In the first case of prosecution in Japan -- and potentially the world -- the 24-year-old was sentenced to one year in prison, which has been suspended for three years.
"A successful criminal exploit of the defendant's programming technology created the root of harm that compromises trust in personal computer programs," said Judge Ryo Kato [translated].
TechRepublic: Why cryptocurrency needs to get more user-friendly to achieve mainstream success
In this case, Coinhive was not embedded within web pages, but the widespread abuse of the script is no different. Many ad-blockers now block Coinhive, which was originally intended to become an alternative to adverts but has systematically been exploited by website domain operators that borrow visitor CPU power without consent.
In related news, last month, 16 individuals were arrested for implanting cryptocurrency mining software in Internet cafe systems across 30 cities, according to Chinese publication Hangzhou.
Law enforcement says that the group was employed at an IT firm which serviced business PCs and secretly installed Siacoin (SC) cryptocurrency mining software in order to fraudulently reap the proceeds.
Top tips for investing in cryptocurrency
Previous and related coverage