Hi – things like the type of corporate structure your startup will be and your level of involvement in the company will dictate how “risky” it will be for your immigration status. Your best bet is to form your startup w/ the assistance of an experienced attorney. In particular, a lawyer who has helped H1B holders register their businesses in the past.
The attorneys onhave provided many foreign visa holders with premium legal advice at affordable rates. Please feel free to check us (I’m the CEO) out or message me directly with any additional questions you have. Good luck w/ the potential business!