Melanosis coli is caused by
Bisacodyl
Senna
Magnesium sulphate
Lactulose
Senna and cascara are anthraquinone derivatives, which are used as stimulant purgatives. On chronic use they can lead to melanosis coli.