What ingredients (milk, butter, eggs)make a buttercream or filling NOT shelf stable.
its not just the ingredients, its the proportion of them. more sugar = more self stable (in very basic terms). theres some people on here that know a lot more, and there have been posts about it before. but your health dept should be able to help you to work out if a recipe needs refridgeration or not.