When cells are attacked by bacteria they use all means at their disposal to defend themselves. But cellular defense systems can damage the cells themselves and so need to be kept tightly in check. Recent results help us to understand how this is done and give pointers to new ways of combating disease.