I know this is old, but I wanted to chime in. Under Texas Cottage Food Laws, I cannot use any frosting or filling that requires refrigeration to remain “unhazordous”. This recipe has passed the testing in the food lab and is not perishable —
8 oz cream cheese
1/2 cup (1 stick) lightly salted butter
1 lb (4 cups) powdered sugar
1 tbsp pure vanilla extract
If you’re interested in a ton of frosting and filling recipes that have been tested, Google Texas Cottage Food Laws and purchase the recipe booklet (I think it’s like $8 for the download) or check your own state’s CFL for recipes that are suitable.