A hive, whether a managed one, or a feral colony in the rotted out portion of a tree, is a very diverse eco-system with microbes, ants, insects, etc. I would not worry much about them. To the bees, if they are a problem or a threat, they will propolise the top closed or even make a ring around the inner cover hole.