Neither is right. The correct formulation depends on when the events happen. " (past) "The bacteria have gotten to it" (it's in that state now, so we probably won't want to eat it) Note that "bacteria" is plural.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.