This is from KODI Site;
Team Kodi maintains an officially neutral stance on what users do with their own software. Kodi is open source software, and as long as the GPL is followed, you are welcome to do with it as you like. So while we don’t love this use of Kodi, as long as you know what illegal and potentially dangerous things you are getting yourself into and accept the fact that the Team will not be providing you with any support, then you are welcome to do what you like.
The Problem
The problem is this: There have been a wave of sellers who decided to make a quick buck modifying Kodi, installing broken piracy add-ons, advertising that Kodi let’s you watch free movies and TV, and then vanishing when the user buys the box and finds out that the add-on they were sold on was a crummy, constantly breaking mess. These sellers are dragging users into the world of piracy without their knowledge and at the same time convincing new users that Kodi is a buggy mess, because they never differentiate Kodi from 3rd party add-ons. Every day a new user shows up on the Kodi forum, totally unaware that the free movies they’re watching have been pirated and surprised to discover that Kodi itself isn’t providing those movies.