If you're coming to the United States to work, it's your responsibility to confirm that what you're being told by your employer or visa sponsor is accurate.
I hear it all the time: "The employer told me X was ok."
Well, it wasn't ok.
What I tell companies that mention not wanting to abide by the visa regulations is this: "If you violate the immigration regulations, the most you'll likely face is a fine. But the worker might lose their ability to ever return to the United States. So, while it might be a 'business decision' for you, your 'business decision' will have potentially life-altering effects on your worker."
Immigration regulations on status violations and working without authorization are not forgiving. They're also retrospective, meaning that you're not going to be punished for the violation immediately. You'll be asked about the violation on a future application. If you disclose it, maybe it harms you for the visa application or the green card process. If you don't, you'll risk being found permanently inadmissible to the United States for misrepresentation.
That's a big risk. It's the way the systems works.
What's the solution? Get independent advice. If something seems too good to be true, find an expert and find out whether what you're planning to do is lawful.
I could tell you ten stories off the top of my head of people I've met over the years whose paths in life have been entirely changed by trusting the wrong people when they were young professionals. Our immigration system should be better at identifying where this occurs and not putting all of the burden on the worker. But it isn't and that's not going to change any time soon.
Protect yourself.