The legal risks that undo marketplaces are mostly predictable: a "platform" that sets prices and directs the work until its workers look like employees, or a payments setup that holds money it isn't allowed to hold. Both are far cheaper to handle before launch than to fix later, and you can spot them without being a lawyer.

This lesson is general information, not legal advice. Rules vary by country, state and category, and they change. Use it to find the right questions, then get advice from a qualified lawyer for your situation, in each place you operate.