Bug-killing fungi have been known since 1835 , when the entomologist Agostino Bassi realized that the muscardine disease then turning legions of Italy 's silkworms into white mummies was caused by a fungus that could penetrate their shells .