First off, protect yourself, ask to see the contract, guarantee any agreements for future pay/bonuses are in there, the contract must specify working hours, time off and notice period etc. Ask to see the resume's of the team you would be working with.
Orange flags come to equipment, books, resources. A good company will give you whatever you need.
Red flags are arrogance, delusion, recklessness, bullying.
Ask tough technical questions, see if they admit they don't know it or rubbish the question.
Ask about ventures, projects things that went wrong, do they blame everyone but themselves? How many people have left in the last 12 months? Ask to speak to them.
How much runway do they have left? less than 3 months is a massive no. Has anyone ever been paid late?
Honestly, if they're smart enough you can't tell until you're knee deep.