How is this allowed 😭

My boyfriend wanted to be nice and send me a cupcake.. now I would’ve never ordered food from a place I can’t find on Google, but it’s the thought that counts right? 😭

Is this legal? It came wrapped in a grocery bag and half of a brown paper bag covering the top. Clearly from someone’s home… and they were about as flat as a pancake. By looking at the address on Google maps I knew they needed to go in the trash.