The present invention relates to novel compounds of formula (I): as herein described and pharmaceutical compositions thereof. The compounds of formula (I) have inhibitory effect on the Wnt pathway and are therefore useful in the preparation of a medicament, in particular for the treatment of cancer.