The government’s chief lawyer has denounced corruption as a “disease” after Australia’s position in global transparency rankings changed.