The invention provides novel inhibitors of hedgehog signaling that are useful as a therapeutic agents for treating malignancies where the compounds have the general formula I:wherein A, X, Y R1, R2, R3, R4, m and n are as described herein.本發明係提供新穎刺猬訊息轉導抑制劑,其可作為治療惡性病症之治療劑使用,其中該化合物具有通式I:其中A,X,Y,R1,R2,R3,R4,m及n均如本文中所述。