The biggest liability risk for a rideshare driver is an at-fault accident. If you cause a traffic collision, you could be on the hook for extensive expenses, especially because Uber and Lyft consider their drivers to be independent contractors rather than employees.
In addition, Uber and Lyft both have comprehensive terms of service for all contractors to follow, and failing to do so could lead to being kicked off their platforms or even sued.