Novel contrast agents that sneak into bacteria disguised as glucose food can detect bacterial infections in animals with high sensitivity and specificity. These agents — called maltodextrin-based imaging probes — can also distinguish a bacterial infection from other inflammatory conditions.