Our structure-based virtual screening of the FDA-approved drug library has revealed that sonidegib, a smoothened antagonist clinically used to treat basal cell carcinoma, is a potential c-Jun N-terminal kinase 3 (JNK3) inhibitor. Here, MAPK10 is linked to basal cell carcinoma.