Diamond Dust Build is safe to use, although it isn't a part of the official Kodi repo. It is legal as long as you aren't streaming any illegal content. So, its legality lies in the grey area.