A rattling noise during preheat is pretty common, honestly. I've got a Cosori myself at home, and mine does it too. What's usually happening is the heating element or internal components expanding as they heat up - metal parts shifting slightly creates that sound. As long as it goes away once you're actually cooking and the food comes out normal, you're probably fine. I'd give it another week or two of use to see if it settles down, since newer appliances sometimes need a bit of a break-in period.
That said, there's a quick way to figure out if something's actually loose. Let the thing cool down completely, then carefully remove the basket and look inside - see if anything's visibly rattling around or if any screws look obviously loose. Sometimes these units come from the factory with something not quite tightened down all the way. I've actually taken photos of my own appliances with my camera gear to zoom in on stuff like this, makes it easier to spot problems. If you can see something genuinely loose, tightening a screw or two is usually a five-minute fix.
If the noise gets louder over time, starts happening during cooking rather than just preheat, or if you notice any burning smell coming with it, then definitely reach out to Cosori's customer service. Their warranty is solid and they're generally pretty quick about replacements. But from my experience with lab equipment and various kitchen gadgets over the years, this rattling during startup is usually nothing to worry about.