A new material based on blue cheese fungus can attack and eat bacteria that comes in contact with it, protecting foods from spoiling.