I don't know about legal threats, but there is information available online about how to access the Model S CAN bus:
http://www.instructables.com/id/Exploring-the-Tesla-Model-S-...