In 0 ABY, Kavafi was working as a doctor and virus researcher at the Mah Dala Infirmary, in Mah Dala, Gobindi. When the Shi'ido Borborygmus Gog arrived to develop a weaponized virus for the Imperial Biological Warfare Division, Gog imprisoned Kavafi and used his powers as a Shi'ido shapeshifter to impersonate Kavafi and take over the Mah Dala Infirmary.
Six weeks later, Tash Arranda, Mammon Hoole's niece, found Kavafi. Gog observed, however, and before she could free Kavafi, Gog released the virus to test it upon the pair. Arranda used an electroscope to find an area of the cell to which the airborne virus had not yet spread. There Kavafi stayed safe while Arranda escaped through an air vent, freed Hoole, and returned after the virus had quickly lost its viability. The group, deep within one of the ziggurats on which Mah Dala was built, left out a door that opened into the Gobindi jungle, where they found Zak Arranda and a pair of Rebels working with the Arrandas. Hoole, also a Shi'ido, transformed into a mammoth frog, allowing him to carry the others to the top of the ziggurats and away from the menacing blobs that carried the virus.
Kavafi developed an antidote to the virus, which he used to cure Tash Arranda of the infection she had developed, and fled the planet with the others.
- Galaxy of Fear: Planet Plague (First appearance)